aboutsummaryrefslogtreecommitdiff
path: root/gold/ChangeLog
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@gmail.com>2016-12-19 10:37:23 -0800
committerCary Coutant <ccoutant@gmail.com>2016-12-19 10:37:34 -0800
commit89ede9f53b74f84febcd1c2a6db8b03f390b62ec (patch)
tree3306b0e138f370414528b2d9091e99503e4b5e81 /gold/ChangeLog
parent16e69324ec7fbe4ea12f2a0a069ad207ac8e3f97 (diff)
downloadgdb-89ede9f53b74f84febcd1c2a6db8b03f390b62ec.zip
gdb-89ede9f53b74f84febcd1c2a6db8b03f390b62ec.tar.gz
gdb-89ede9f53b74f84febcd1c2a6db8b03f390b62ec.tar.bz2
Fix forced allocation of common (-d) during -r links.
If the .bss section has other data in it besides common allocations, gold was subtracting the wrong section start address from the symbol value. gold/ PR gold/20976 * symtab.cc (Symbol_table::sized_write_globals): Use address of output section, not input section. * testsuite/Makefile.am (pr20976): New test case. * testsuite/Makefile.in: Regenerate. * testsuite/pr20976.c: New source file.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r--gold/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index b40f7b8..a9ead08 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,12 @@
+2016-12-19 Cary Coutant <ccoutant@gmail.com>
+
+ PR gold/20976
+ * symtab.cc (Symbol_table::sized_write_globals): Use address of
+ output section, not input section.
+ * testsuite/Makefile.am (pr20976): New test case.
+ * testsuite/Makefile.in: Regenerate.
+ * testsuite/pr20976.c: New source file.
+
2016-12-13 Cary Coutant <ccoutant@gmail.com>
PR gold/20749