aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Crane <sjc@immunant.com>2018-05-10 00:09:32 -0700
committerCary Coutant <ccoutant@gmail.com>2018-05-10 00:13:33 -0700
commita45a8f9178448171b51d9fc80d45ede73e99e399 (patch)
treeebc147bcb7140503515c37d525eb720fddf7425a /gold/ChangeLog
parentAutomatic date update in version.in (diff)
downloadbinutils-gdb-a45a8f9178448171b51d9fc80d45ede73e99e399.tar.gz
binutils-gdb-a45a8f9178448171b51d9fc80d45ede73e99e399.tar.bz2
binutils-gdb-a45a8f9178448171b51d9fc80d45ede73e99e399.zip
Fix _GLOBAL_OFFSET_TABLE_ value for large GOTs (aarch64).
Gold resolves GOT-relative relocs relative to the GOT base + 0x8000 when the GOT is larger than 0x8000. However, previously the _GLOBAL_OFFSET_TABLE_ symbol was set to GOT base + 0x8000 when the .got.plt was larger than 0x8000. This patch makes both checks use the size of the .got section so that they agree when to add 0x8000.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r--gold/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 26ccad19476..bad0f2989e1 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2018-05-10 Stephen Crane <sjc@immunant.com>
+
+ * aarch64.cc (Target_aarch64::do_finalize_sections): Use size of
+ .got section for the _GLOBAL_OFFSET_TABLE_ symbol computation.
+
2018-04-24 Cary Coutant <ccoutant@gmail.com>
PR gold/20642