aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2016-12-29 17:29:53 -0800
committerPalmer Dabbelt <palmer@dabbelt.com>2017-01-09 09:12:20 -0800
commit6ec11ab97ab47ec4a22118e5b1c77df567796002 (patch)
tree406b8b88e75cbea56b9ea095f62ef44c029ef4d2 /gas
parentcd6581da62c32a391f9a4c2c5d248a11aa6fa8f7 (diff)
downloadgdb-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 'gas')
-rw-r--r--gas/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 2d72b78..88f68a1 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,10 @@
+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 Nick Clifton <nickc@redhat.com>
* po/sv.po: New Swedish translation.