diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2016-12-29 17:29:53 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-01-09 09:12:20 -0800 |
commit | 6ec11ab97ab47ec4a22118e5b1c77df567796002 (patch) | |
tree | 406b8b88e75cbea56b9ea095f62ef44c029ef4d2 /ld/MAINTAINERS | |
parent | cd6581da62c32a391f9a4c2c5d248a11aa6fa8f7 (diff) | |
download | gdb-6ec11ab97ab47ec4a22118e5b1c77df567796002.zip gdb-6ec11ab97ab47ec4a22118e5b1c77df567796002.tar.gz gdb-6ec11ab97ab47ec4a22118e5b1c77df567796002.tar.bz2 |
Remove some custom sections from RISC-V's default linker scripts
This was added so compressed loads could have smaller offsets for
accessing the data section, but the result was that writable sections
ended up in INITIAL_READONLY_SECTIONS. This is a bad idea. The fix is
to just remove this micro-optimization.
Thanks to Alan Morda for finding the problem!
ld/ChangeLog
2017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
Kito Cheng <kito.cheng@gmail.com>
* emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
Removed.
(SDATA_START_SYMBOLS): Likewise.
Diffstat (limited to 'ld/MAINTAINERS')
0 files changed, 0 insertions, 0 deletions