gnu-efi/gnuefi
Letu Ren 98f1250742 riscv: Fix ld RWX warning
The current ld script places .dynamic section right after .text, which
results in that one LOAD segment contains both data and code. Binutils
2.39 and later will throw a warning if RWX segments exist. Code and
data should be placed in different LOAD segments with different
permissions. This patch adds a gap between data and code sections which
is taken from the default ld script in riscv64.

Co-developed-by: Moody Liu <mooodyhunter@outlook.com>
Signed-off-by: Moody Liu <mooodyhunter@outlook.com>
Signed-off-by: Letu Ren <fantasquex@gmail.com>
2022-10-10 11:03:20 +02:00
..
Makefile gnuefi/Makefile uses a strange rule to create libgnuefi.a, which only works 2019-04-02 09:47:24 -04:00
crt0-efi-aarch64.S */*.S: add non-executable GNU stack marking on ELF-linux 2022-08-08 11:35:10 -04:00
crt0-efi-arm.S */*.S: add non-executable GNU stack marking on ELF-linux 2022-08-08 11:35:10 -04:00
crt0-efi-ia32.S */*.S: add non-executable GNU stack marking on ELF-linux 2022-08-08 11:35:10 -04:00
crt0-efi-ia64.S */*.S: add non-executable GNU stack marking on ELF-linux 2022-08-08 11:35:10 -04:00
crt0-efi-mips64el.S */*.S: add non-executable GNU stack marking on ELF-linux 2022-08-08 11:35:10 -04:00
crt0-efi-riscv64.S */*.S: add non-executable GNU stack marking on ELF-linux 2022-08-08 11:35:10 -04:00
crt0-efi-x86_64.S */*.S: add non-executable GNU stack marking on ELF-linux 2022-08-08 11:35:10 -04:00
elf_aarch64_efi.lds For compatibility with an upcoming EDK2 feature that maps UEFI apps 2017-02-15 19:54:32 -05:00
elf_arm_efi.lds Apparently some linkers will just throw caution to the wind and 2016-02-25 09:36:53 -05:00
elf_ia32_efi.lds gnuefi: preserve .gnu.hash sections (unbreaks elilo on IA-64) 2018-01-27 20:29:05 +00:00
elf_ia32_fbsd_efi.lds gnuefi: preserve .gnu.hash sections (unbreaks elilo on IA-64) 2018-01-27 20:29:05 +00:00
elf_ia64_efi.lds gnuefi: preserve .gnu.hash sections (unbreaks elilo on IA-64) 2018-01-27 20:29:05 +00:00
elf_mips64el_efi.lds Add support for 64 bit MIPS 2017-01-08 07:04:52 -05:00
elf_riscv64_efi.lds riscv: Fix ld RWX warning 2022-10-10 11:03:20 +02:00
elf_x86_64_efi.lds gnuefi: preserve .gnu.hash sections (unbreaks elilo on IA-64) 2018-01-27 20:29:05 +00:00
elf_x86_64_fbsd_efi.lds gnuefi: preserve .gnu.hash sections (unbreaks elilo on IA-64) 2018-01-27 20:29:05 +00:00
reloc_aarch64.c Commit 3dd05c and subsequent ones introduced the use of the GNU 2016-03-25 13:32:54 -04:00
reloc_arm.c Commit 3dd05c and subsequent ones introduced the use of the GNU 2016-03-25 13:32:54 -04:00
reloc_ia32.c Commit 3dd05c and subsequent ones introduced the use of the GNU 2016-03-25 13:32:54 -04:00
reloc_ia64.S */*.S: add non-executable GNU stack marking on ELF-linux 2022-08-08 11:35:10 -04:00
reloc_mips64el.c Add support for 64 bit MIPS 2017-01-08 07:04:52 -05:00
reloc_riscv64.c Initial support for RISCV64 2021-04-01 17:17:33 +02:00
reloc_x86_64.c Commit 3dd05c and subsequent ones introduced the use of the GNU 2016-03-25 13:32:54 -04:00