aboutsummaryrefslogtreecommitdiff
path: root/gold/arm.cc
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/arm.cc
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/arm.cc')
0 files changed, 0 insertions, 0 deletions