aboutsummaryrefslogtreecommitdiff
path: root/gas/CONTRIBUTORS
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2025-08-11 12:40:15 -0700
committerH.J. Lu <hjl.tools@gmail.com>2025-08-12 06:34:40 -0700
commit55c91b7e5c7f7829ff69738f159e0380383a7356 (patch)
tree019d3f46e994b351d4a766bef54168218fa860d5 /gas/CONTRIBUTORS
parent2bbe3bb5d938a83c871cdc995b5f8a9ff5bec100 (diff)
downloadbinutils-master.zip
binutils-master.tar.gz
binutils-master.tar.bz2
x86: Always treat protected symbols as localHEADmaster
Since linker never generates dynamic relocation for protected symbol in: __attribute__((visibility("protected"))) int my_data; int * func (void) { return &my_data; } we should always treat protected symbols as local. bfd/ PR ld/33260 * elfxx-x86.h (COPY_INPUT_RELOC_P): Always treat protected symbols as local. ld/ PR ld/33260 * testsuite/ld-i386/i386-export-class.rd: Updated. * testsuite/ld-i386/i386-export-class.xd: Likewise. * testsuite/ld-i386/i386.exp: Run pr33260-2. * testsuite/ld-i386/pr33260-2.d: New file. * testsuite/ld-i386/pr33260-2.s: Likewise. * testsuite/ld-i386/pr33260.d: Remove "-z indirect-extern-access". * testsuite/ld-x86-64/pr33260-x32.d: Likewise. * testsuite/ld-x86-64/pr33260.d: Likewise. * testsuite/ld-x86-64/pr33260-2-x32.d: New file. * testsuite/ld-x86-64/pr33260-2.d: Likewise. * testsuite/ld-x86-64/pr33260-2.s: Likewise. * testsuite/ld-x86-64/x86-64-64-export-class.rd: Updated. * testsuite/ld-x86-64/x86-64-x32-export-class.rd: Likewise. * testsuite/ld-x86-64/x86-64.exp: Run pr33260-2 and pr33260-2-x32. Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'gas/CONTRIBUTORS')
0 files changed, 0 insertions, 0 deletions