bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/30877] [BUG][RISCV]relro protection not working in riscv


From: address@hidden
Subject: [Bug ld/30877] [BUG][RISCV]relro protection not working in riscv
Date: Fri, 22 Sep 2023 09:42:46 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=30877

--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
RISC-V use small data sections (it does not set NO_SMALL_DATA), and use the
default of placing .sdata and .got after .data, thus relro for .got is not
supported.  In order to support relro, it needs to follow powerpc64 which
places .sdata and .got before .data (see ld/emulparams/elf64ppc.sh).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]