Skip to content

Commit

Permalink
Disable RELRO
Browse files Browse the repository at this point in the history
No point having PT_GNU_RELRO as ELF data won't exist when merging into PE32+ file

Unbreaks lld usage which complains about linker script
Copy of ncroxon/gnu-efi#5
  • Loading branch information
gmbr3 authored and superm1 committed Apr 24, 2024
1 parent d683759 commit 30c638d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions efi/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ efi_ldflags = ['-T',
'-Bsymbolic',
'-nostdlib',
'-znocombreloc',
'-znorelro',
'-L', efi_crtdir,
'-L', efi_libdir,
join_paths(efi_crtdir, arch_crt)]
Expand Down

0 comments on commit 30c638d

Please sign in to comment.