mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
35f82954b5
We output a NULL STT_FILE symbol for forced local symbols so that they are not associated with the STT_FILE symbol for real local symbols. This patch makes sure that the NULL STT_FILE symbol is placed before forced local symbols. bfd/ PR ld/17975 * elflink.c (elf_link_output_extsym): Only check filesym_count when outputting a NULL FILE symbol. Set second_pass_sym to h->forced_local && !h->root.linker_def. ld/testsuite/ PR ld/17975 * ld-i386/tlsbin-nacl.rd: Likewise. * ld-i386/tlsbin.rd: Likewise. * ld-i386/tlsbindesc-nacl.rd: Likewise. * ld-i386/tlsbindesc.rd: Likewise. * ld-i386/tlsdesc-nacl.rd: Likewise. * ld-i386/tlsdesc.rd: Likewise. * ld-i386/tlsnopic-nacl.rd: Likewise. * ld-i386/tlsnopic.rd: Likewise. * ld-i386/tlspic-nacl.rd: Likewise. * ld-i386/tlspic.rd: Likewise. * ld-x86-64/tlsbin-nacl.rd: Likewise. * ld-x86-64/tlsbin.rd: Likewise. * ld-x86-64/tlsbindesc-nacl.rd: Likewise. * ld-x86-64/tlsbindesc.rd: Likewise. * ld-x86-64/tlsdesc-nacl.rd: Likewise. * ld-x86-64/tlsdesc.rd: Likewise. * ld-x86-64/tlspic-nacl.rd: Likewise. * ld-x86-64/tlspic.rd: Likewise. |
||
---|---|---|
.. | ||
32bit.s | ||
64bit.s | ||
abs-k1om.d | ||
abs-l1om.d | ||
abs.d | ||
bnd-branch-1.d | ||
bnd-branch-1.s | ||
bnd-ifunc-1.d | ||
bnd-ifunc-1.s | ||
bnd-ifunc-2.d | ||
bnd-ifunc-2.s | ||
bnd-plt-1.d | ||
compressed1.d | ||
compressed1.s | ||
copyreloc-lib.c | ||
copyreloc-main1.rd | ||
copyreloc-main2.rd | ||
copyreloc-main.out | ||
copyreloc-main.S | ||
discarded1.d | ||
discarded1.s | ||
discarded1.t | ||
dummy.s | ||
dwarfreloc1.s | ||
dwarfreloc2.s | ||
dwarfreloc.exp | ||
dwarfreloc.rd | ||
export-class.exp | ||
foo.s | ||
gotplt1.d | ||
gotplt1.s | ||
hidden1.d | ||
hidden1.s | ||
hidden2.d | ||
hidden2.s | ||
hidden3.d | ||
hidden3.s | ||
ia32-1.d | ||
ia32-2.d | ||
ia32-3.d | ||
ilp32-1.d | ||
ilp32-2.d | ||
ilp32-3.d | ||
ilp32-4-nacl.d | ||
ilp32-4.d | ||
ilp32-4.s | ||
ilp32-5.d | ||
ilp32-5.s | ||
ilp32-6.d | ||
ilp32-6.s | ||
ilp32-7.d | ||
ilp32-7.s | ||
ilp32-8.d | ||
ilp32-8.s | ||
ilp32-9.d | ||
ilp32-9.s | ||
ilp32-10.d | ||
ilp32-10.s | ||
ilp32-11.d | ||
ilp32-11.s | ||
incompatible.l | ||
lea1.s | ||
lea1a.d | ||
lea1b.d | ||
lea1c.d | ||
lea1d.d | ||
lea1e.d | ||
lea1f.d | ||
lea1g.d | ||
lea1h.d | ||
lea1i.d | ||
lea1j.d | ||
lea1k.d | ||
lea1l.d | ||
line.exp | ||
lp64-1.d | ||
lp64-2.d | ||
lp64-3.d | ||
mixed1a.s | ||
mixed1b.s | ||
mixed2a.s | ||
mixed2b.s | ||
mov1.s | ||
mov1a.d | ||
mov1b.d | ||
mov1c.d | ||
mov1d.d | ||
mpx1.out | ||
mpx1a.c | ||
mpx1a.rd | ||
mpx1b.c | ||
mpx1c.c | ||
mpx1c.rd | ||
mpx2.out | ||
mpx2a.c | ||
mpx2a.rd | ||
mpx2b.c | ||
mpx2c.c | ||
mpx2c.rd | ||
mpx3.dd | ||
mpx3a.s | ||
mpx3b.s | ||
mpx4.dd | ||
mpx4a.s | ||
mpx4b.s | ||
mpx.exp | ||
nogot1.d | ||
nogot1.s | ||
nogot2.d | ||
nogot2.s | ||
pcrel8.d | ||
pcrel16.d | ||
pie1.d | ||
pie1.s | ||
plt-lib.c | ||
plt-main1.c | ||
plt-main1.rd | ||
plt-main2.c | ||
plt-main2.rd | ||
plt-main3.c | ||
plt-main3.rd | ||
plt-main4.c | ||
plt-main4.rd | ||
plt-main5.c | ||
plt-main-bnd.dd | ||
plt-main.out | ||
plt-main.rd | ||
plt-nacl.pd | ||
plt-pic.s | ||
plt.pd | ||
plt.s | ||
pltlib.s | ||
pr12570a.d | ||
pr12570a.s | ||
pr12570b.d | ||
pr12570b.s | ||
pr12718.d | ||
pr12718.s | ||
pr12921.d | ||
pr12921.s | ||
pr13082-1.s | ||
pr13082-1a.d | ||
pr13082-1b.d | ||
pr13082-2.s | ||
pr13082-2a.d | ||
pr13082-2b.d | ||
pr13082-3.s | ||
pr13082-3a.d | ||
pr13082-3b.d | ||
pr13082-4.s | ||
pr13082-4a.d | ||
pr13082-4b.d | ||
pr13082-5.s | ||
pr13082-5a.d | ||
pr13082-5b.d | ||
pr13082-6.s | ||
pr13082-6a.d | ||
pr13082-6b.d | ||
pr13947.d | ||
pr13947.s | ||
pr14207.d | ||
pr14207.s | ||
pr14215.d | ||
pr14215.s | ||
pr17306a.s | ||
pr17306b.s | ||
pr17618.d | ||
pr17618.s | ||
pr17689.out | ||
pr17689.rd | ||
pr17689a.c | ||
pr17689b.S | ||
pr17827.rd | ||
pr17935-1.d | ||
pr17935-1.s | ||
pr17935-2.d | ||
pr17935-2.s | ||
protected1.d | ||
protected1.s | ||
protected2-k1om.d | ||
protected2-l1om.d | ||
protected2.d | ||
protected2.s | ||
protected3-k1om.d | ||
protected3-l1om.d | ||
protected3.d | ||
protected3.s | ||
protected4.d | ||
protected4.s | ||
protected5.d | ||
protected5.s | ||
simple.c | ||
split-by-file1.s | ||
split-by-file2.s | ||
split-by-file-nacl.rd | ||
split-by-file.rd | ||
start.s | ||
tlsbin-nacl.rd | ||
tlsbin.dd | ||
tlsbin.rd | ||
tlsbin.s | ||
tlsbin.sd | ||
tlsbin.td | ||
tlsbindesc-nacl.rd | ||
tlsbindesc.dd | ||
tlsbindesc.rd | ||
tlsbindesc.s | ||
tlsbindesc.sd | ||
tlsbindesc.td | ||
tlsbinpic.s | ||
tlsdesc-nacl.pd | ||
tlsdesc-nacl.rd | ||
tlsdesc.dd | ||
tlsdesc.pd | ||
tlsdesc.rd | ||
tlsdesc.s | ||
tlsdesc.sd | ||
tlsdesc.td | ||
tlsg.s | ||
tlsg.sd | ||
tlsgd1.dd | ||
tlsgd1.s | ||
tlsgd2.d | ||
tlsgd2.s | ||
tlsgd3.d | ||
tlsgd3.s | ||
tlsgd4.dd | ||
tlsgd4.s | ||
tlsgd5.dd | ||
tlsgd5a.s | ||
tlsgd5b.s | ||
tlsgd6.dd | ||
tlsgd6a.s | ||
tlsgd6b.s | ||
tlsgd7.dd | ||
tlsgd7.s | ||
tlsgd8.dd | ||
tlsgd8.s | ||
tlsgdesc-nacl.rd | ||
tlsgdesc.dd | ||
tlsgdesc.rd | ||
tlsgdesc.s | ||
tlsie1.dd | ||
tlsie1.s | ||
tlsie2.d | ||
tlsie2.s | ||
tlsie3.d | ||
tlsie3.s | ||
tlsie4.dd | ||
tlsie4.s | ||
tlsld1.dd | ||
tlsld1.s | ||
tlsld2.dd | ||
tlsld2.s | ||
tlsld3.dd | ||
tlsld3.s | ||
tlsle1.d | ||
tlsle1.s | ||
tlslib.s | ||
tlspic1.s | ||
tlspic2.s | ||
tlspic-nacl.rd | ||
tlspic.dd | ||
tlspic.rd | ||
tlspic.sd | ||
tlspic.td | ||
tlspie1.d | ||
tlspie1.s | ||
undefined.s | ||
unique1.d | ||
unique1.s | ||
x86-64-64-export-class.rd | ||
x86-64-x32-export-class.rd | ||
x86-64-x32.rd | ||
x86-64.exp |