aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/list-nodebug.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2025-08-07 18:04:47 -0700
committerH.J. Lu <hjl.tools@gmail.com>2025-08-09 08:56:43 -0700
commitff3b64d944d711a306232928ebd3d049a8c70d65 (patch)
tree41905b8d89e031733981e86093d7ecdb6f232d87 /gdb/testsuite/gdb.base/list-nodebug.c
parenta65d0a432567c62618fc83b9d9647e4868d6f08d (diff)
downloadbinutils-ff3b64d944d711a306232928ebd3d049a8c70d65.zip
binutils-ff3b64d944d711a306232928ebd3d049a8c70d65.tar.gz
binutils-ff3b64d944d711a306232928ebd3d049a8c70d65.tar.bz2
x86: Treat protected symbols with indirect external access as local
If all external symbol accesses are indirect, we can treat protected symbols as local since there will be no copy relocation for data and external function pointer access will go through GOT, instead of PLT. No PLT slot should be used for external function pointer in executable. bfd/ PR ld/33260 * elfxx-x86.h (COPY_INPUT_RELOC_P): Treat protected symbols with indirect external access as local. ld/ PR ld/33260 * testsuite/ld-i386/i386.exp: Run PR ld/33260 test. * testsuite/ld-x86-64/x86-64.exp: Likewise. * testsuite/ld-i386/pr33260.d: New file. * testsuite/ld-i386/pr33260.s: Likewise. * testsuite/ld-x86-64/pr33260-x32.d: Likewise. * testsuite/ld-x86-64/pr33260.d: Likewise. * testsuite/ld-x86-64/pr33260.s: Likewise. Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'gdb/testsuite/gdb.base/list-nodebug.c')
0 files changed, 0 insertions, 0 deletions