[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.
- [Bug ld/30877] New: [BUG][RISCV]relro protection not working in riscv, akhilesh.k at samsung dot com, 2023/09/22
- [Bug ld/30877] [BUG][RISCV]relro protection not working in riscv, akhilesh.k at samsung dot com, 2023/09/22
- [Bug ld/30877] [BUG][RISCV]relro protection not working in riscv, akhilesh.k at samsung dot com, 2023/09/22
- [Bug ld/30877] [BUG][RISCV]relro protection not working in riscv,
address@hidden <=
- [Bug ld/30877] [BUG][RISCV]relro protection not working in riscv, cvs-commit at gcc dot gnu.org, 2023/09/25
- [Bug ld/30877] [BUG][RISCV]relro protection not working in riscv, akhilesh.k at samsung dot com, 2023/09/25
- [Bug ld/30877] [BUG][RISCV]relro protection not working in riscv, address@hidden, 2023/09/27