diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2016-12-29 17:29:53 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-01-16 21:33:14 -0800 |
commit | c0b993a8c12613dbea07fb49a83fd9dcf5699c09 (patch) | |
tree | 2124b74965649f5cc9fc80a7396fb09782e67473 /gas | |
parent | bf184ddc059f5a0da39aa929255223c2372d295b (diff) | |
download | gdb-c0b993a8c12613dbea07fb49a83fd9dcf5699c09.zip gdb-c0b993a8c12613dbea07fb49a83fd9dcf5699c09.tar.gz gdb-c0b993a8c12613dbea07fb49a83fd9dcf5699c09.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 'gas')
-rw-r--r-- | gas/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 72c9db2..266f22e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -11,6 +11,13 @@ * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto. * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto. +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. + 2017-01-09 Andrew Waterman <andrew@sifive.com> * config/tc-riscv.c (relaxed_branch_length): Use the long |