aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-06-17 10:19:29 -0700
committerH.J. Lu <hjl.tools@gmail.com>2021-06-17 10:26:34 -0700
commitb6b42983720c2d88f680ef7679f41c3ff95daae1 (patch)
treef005b076e24e10e3429fa3441632ce6873a2ccce /ld/ChangeLog
parentd208bc7617e93dc7dda400b69e8bc49aeb9436f7 (diff)
downloadbinutils-b6b42983720c2d88f680ef7679f41c3ff95daae1.zip
binutils-b6b42983720c2d88f680ef7679f41c3ff95daae1.tar.gz
binutils-b6b42983720c2d88f680ef7679f41c3ff95daae1.tar.bz2
x86-64: Test protected function pointers
On x86-64, function pointers in executable for external funtions may be resolved to their PLT entries in executable. If it happens, function pointers of protected funtions in shared libraries must be resolved to the PLT entries in executable, not addresses of protected funtions in shared libraries. PR ld/27973 * testsuite/ld-x86-64/x86-64.exp: Run protected function tests. * testsuite/ld-x86-64/protected-func-1.h: New file. * testsuite/ld-x86-64/protected-func-1a.s: Likewise. * testsuite/ld-x86-64/protected-func-1b.c: Likewise.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r--ld/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 3d3cbed..2b46bb9 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,11 @@
+2021-06-17 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/27973
+ * testsuite/ld-x86-64/x86-64.exp: Run protected function tests.
+ * testsuite/ld-x86-64/protected-func-1.h: New file.
+ * testsuite/ld-x86-64/protected-func-1a.s: Likewise.
+ * testsuite/ld-x86-64/protected-func-1b.c: Likewise.
+
2021-06-17 Fangrui Song <maskray@google.com>
* ldlex.h (enum option_values): Add OPTION_NO_PIE.