binutils-gdb/ld/testsuite/ld-x86-64
Andrew Burgess 202be274a4 opcodes/i386: remove trailing whitespace from insns with zero operands
While working on another patch[1] I had need to touch this code in
i386-dis.c:

  ins->obufp = ins->mnemonicendp;
  for (i = strlen (ins->obuf) + prefix_length; i < 6; i++)
    oappend (ins, " ");
  oappend (ins, " ");
  (*ins->info->fprintf_styled_func)
    (ins->info->stream, dis_style_mnemonic, "%s", ins->obuf);

What this code does is add whitespace after the instruction mnemonic
and before the instruction operands.

The problem I ran into when working on this code can be seen by
assembling this input file:

    .text
    nop
    retq

Now, when I disassemble, here's the output.  I've replaced trailing
whitespace with '_' so that the issue is clearer:

    Disassembly of section .text:

    0000000000000000 <.text>:
       0:	90                   	nop
       1:	c3                   	retq___

Notice that there's no trailing whitespace after 'nop', but there are
three spaces after 'retq'!

What happens is that instruction mnemonics are emitted into a buffer
instr_info::obuf, then instr_info::mnemonicendp is setup to point to
the '\0' character at the end of the mnemonic.

When we emit the whitespace, this is then added starting at the
mnemonicendp position.  Lets consider 'retq', first the buffer is
setup like this:

  'r' 'e' 't' 'q' '\0'

Then we add whitespace characters at the '\0', converting the buffer
to this:

  'r' 'e' 't' 'q' ' ' ' ' ' ' '\0'

However, 'nop' is actually an alias for 'xchg %rax,%rax', so,
initially, the buffer is setup like this:

  'x' 'c' 'h' 'g' '\0'

Then in NOP_Fixup we spot that we have an instruction that is an alias
for 'nop', and adjust the buffer to this:

  'n' 'o' 'p' '\0' '\0'

The second '\0' is left over from the original buffer contents.
However, when we rewrite the buffer, we don't afjust mnemonicendp,
which still points at the second '\0' character.

Now, when we insert whitespace we get:

  'n' 'o' 'p' '\0' ' ' ' ' ' ' ' ' '\0'

Notice the whitespace is inserted after the first '\0', so, when we
print the buffer, the whitespace is not printed.

The fix for this is pretty easy, I can change NOP_Fixup to adjust
mnemonicendp, but now a bunch of tests start failing, we now produce
whitespace after the 'nop', which the tests don't expect.

So, I could update the tests to expect the whitespace....

...except I'm not a fan of trailing whitespace, so I'd really rather
not.

Turns out, I can pretty easily update the whitespace emitting code to
spot instructions that have zero operands and just not emit any
whitespace in this case.  So this is what I've done.

I've left in the fix for NOP_Fixup, I think updating mnemonicendp is
probably a good thing, though this is not really required any more.

I've then updated all the tests that I saw failing to adjust the
expected patterns to account for the change in whitespace.

[1] https://sourceware.org/pipermail/binutils/2022-April/120610.html
2022-05-27 14:12:33 +01:00
..
32bit.s
64bit.s
abs.d
align-branch-1.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
align-branch-1.s
apic.d
apic.s
bnd-branch-1-now.d elf: Support DT_RELR in linker tests 2022-01-12 06:04:51 -08:00
bnd-branch-1.d
bnd-branch-1.s
bnd-ifunc-1-now.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
bnd-ifunc-1.d
bnd-ifunc-1.s
bnd-ifunc-2-now.d elf: Support DT_RELR in linker tests 2022-01-12 06:04:51 -08:00
bnd-ifunc-2.d elf: Support DT_RELR in linker tests 2022-01-12 06:04:51 -08:00
bnd-ifunc-2.s
bnd-plt-1-now.d elf: Support DT_RELR in linker tests 2022-01-12 06:04:51 -08:00
bnd-plt-1.d elf: Support DT_RELR in linker tests 2022-01-12 06:04:51 -08:00
call1.s
call1a.d
call1b.d
call1c.d
call1d.d
call1e.d
call1f.d
call1g.d
call1h.d
call1i.d
code16.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
code16.t x86: Propery check PC16 reloc overflow in 16-bit mode instructions 2021-05-26 12:13:24 -07:00
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
dt-relr-1.s ld: Add simple DT_RELR tests 2022-01-12 06:04:52 -08:00
dt-relr-1a-x32.d ld: Add simple DT_RELR tests 2022-01-12 06:04:52 -08:00
dt-relr-1a.d ld: Add simple DT_RELR tests 2022-01-12 06:04:52 -08:00
dt-relr-1b-x32.d ld: Add simple DT_RELR tests 2022-01-12 06:04:52 -08:00
dt-relr-1b.d ld: Add simple DT_RELR tests 2022-01-12 06:04:52 -08:00
dummy.s Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
dwarfreloc1.s
dwarfreloc2.s
dwarfreloc.exp Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
dwarfreloc.rd
export-class.exp elf: Support DT_RELR in linker tests 2022-01-12 06:04:51 -08:00
foo.s Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
gotpcrel1.dd
gotpcrel1.out
gotpcrel1a.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
gotpcrel1b.c
gotpcrel1c.c
gotpcrel1d.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
gotplt1.d
gotplt1.s
hidden1.d
hidden1.s
hidden2.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
hidden2.s
hidden3.d
hidden3.s
hidden4.d
hidden4.s
hidden5.d
hidden5.s
ia32-1.d
ia32-2.d
ia32-3.d
ibt-plt-1-x32.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
ibt-plt-1.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
ibt-plt-1.s
ibt-plt-2.s
ibt-plt-2a-x32.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
ibt-plt-2a.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
ibt-plt-2b-x32.d
ibt-plt-2b.d
ibt-plt-2c-x32.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
ibt-plt-2c.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
ibt-plt-2d-x32.d
ibt-plt-2d.d
ibt-plt-3.s
ibt-plt-3a-x32.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
ibt-plt-3a.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
ibt-plt-3b-x32.d
ibt-plt-3b.d
ibt-plt-3c-x32.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
ibt-plt-3c.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
ibt-plt-3d-x32.d
ibt-plt-3d.d
ifunc-textrel-1.s
ifunc-textrel-1a.d
ifunc-textrel-1b.d
ifunc-textrel-2.s
ifunc-textrel-2a.d
ifunc-textrel-2b.d
ilp32-1.d
ilp32-2.d
ilp32-3.d
ilp32-4.d elf: Support DT_RELR in linker tests 2022-01-12 06:04:51 -08:00
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
ilp32-12.d x86-64: Add ilp32-12 to check R_X86_64_32 for x32 2021-05-26 06:50:20 -07:00
ilp32-12.s x86-64: Add ilp32-12 to check R_X86_64_32 for x32 2021-05-26 06:50:20 -07:00
incompatible.l
indirect-extern-access.rd elf: Add GNU_PROPERTY_1_NEEDED check 2021-07-08 18:14:31 -07:00
lam-u48.rd
lam-u57.rd
largecomm-1.s
largecomm-1a.d
largecomm-1b.d
largecomm-1c.d
largecomm-1d.d
largecomm-1e.d
largecomm-1f.d
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
libno-plt-1b.dd
libno-plt-1b.rd
line.exp Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
ljmp1.d
ljmp2.d
load1.s
load1a.d
load1b.d
load1c.d elf: Support DT_RELR in linker tests 2022-01-12 06:04:51 -08:00
load1d.d elf: Support DT_RELR in linker tests 2022-01-12 06:04:51 -08:00
load2.d
load2.map
load2.s
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
mov2.s
mov2a.d
mov2b.d
mov2c.d
mov2d.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
mpx3n.dd
mpx4.dd
mpx4a.s
mpx4b.s
mpx4n.dd
mpx.exp Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
no-plt-1a.dd
no-plt-1a.rd
no-plt-1b.dd
no-plt-1b.rd
no-plt-1c.dd
no-plt-1c.rd
no-plt-1d.dd
no-plt-1d.rd
no-plt-1e.dd
no-plt-1e.nd
no-plt-1e.rd
no-plt-1f.dd
no-plt-1f.rd
no-plt-1g.dd
no-plt-1g.rd
no-plt-check1.S
no-plt-extern1.S
no-plt-func1.c
no-plt-main1.c
no-plt.exp Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
nogot1.d
nogot1.s
nogot2.d
nogot2.s
pass.c
pass.out
pcrel8.d
pcrel16-2.d x86: Restore PC16 relocation overflow check 2021-05-28 09:34:28 -07:00
pcrel16.d
pe-x86-64-1.od opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pe-x86-64-1a.obj.bz2
pe-x86-64-1b.obj.bz2
pe-x86-64-1c.obj.bz2
pe-x86-64-2.od opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pe-x86-64-2a.obj.bz2
pe-x86-64-2b.obj.bz2
pe-x86-64-2c.obj.bz2
pe-x86-64-3.od opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pe-x86-64-3a.obj.bz2
pe-x86-64-3b.obj.bz2
pe-x86-64-3c.obj.bz2
pe-x86-64-3d.obj.bz2
pe-x86-64-4.od opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pe-x86-64-4a.obj.bz2
pe-x86-64-4b.obj.bz2
pe-x86-64-4c.obj.bz2
pe-x86-64-4d.obj.bz2
pe-x86-64-5.obj.bz2
pe-x86-64-5.od opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pe-x86-64-5.rd
pe-x86-64-6.obj.bz2
pe-x86-64-6.od opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pe-x86-64.exp Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pic1.d
pic1.s
pie1.d
pie1.s
pie2.d
pie2.s
pie3.d x86-64: Disallow PC reloc against weak undefined symbols in PIE 2021-07-08 13:57:52 -07:00
pie3.s
plt2.dd
plt2.rd
plt2.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-now.rd
plt-main-bnd.dd x86-64: Use MAXPAGESIZE for the relro segment alignment 2022-02-14 17:39:34 -08:00
plt-main-ibt-now.rd
plt-main-ibt-x32.dd opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
plt-main-ibt.dd opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
plt-main.out
plt-main.rd
plt-pic.s
plt.pd
plt.s
pltgot-1.d
pltgot-1.s
pltgot-2.d
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 elf: Support DT_RELR in linker tests 2022-01-12 06:04:51 -08:00
pr13082-3.s
pr13082-3a.d
pr13082-3b.d
pr13082-3c.d
pr13082-3d.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 x86-64: Use MAXPAGESIZE for the relro segment alignment 2022-02-14 17:39:34 -08:00
pr14207.s
pr14215.d
pr14215.s
pr17306a.s
pr17306b.s
pr17618.d
pr17618.s
pr17689.out
pr17689.rd
pr17689a.c
pr17689b.S
pr17689now.rd
pr17709.rd
pr17709a.s
pr17709b.s
pr17827.rd
pr17935-1.d
pr17935-1.s
pr17935-2.d
pr17935-2.s
pr18160.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr18160.s
pr18160.t
pr18176.d x86-64: Use MAXPAGESIZE for the relro segment alignment 2022-02-14 17:39:34 -08:00
pr18176.s
pr18176.t
pr18591.d
pr18591.s
pr18801.s
pr18801a.d
pr18801b.d
pr18815.d
pr18815.s
pr18900.out
pr18900a.c
pr18900a.rd
pr18900b.c
pr18900b.rd
pr18900c.c
pr19013-x32.d
pr19013.d
pr19013.s
pr19031.out
pr19031a.c
pr19031b.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
pr19031c.c
pr19162.d elf: Support DT_RELR in linker tests 2022-01-12 06:04:51 -08:00
pr19162a.s
pr19162b.s
pr19175.d
pr19175.s
pr19175.t
pr19319.dd
pr19319a.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
pr19319b.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
pr19539.s
pr19539.t
pr19539a.d
pr19539b.d
pr19609-1.s
pr19609-1a.d
pr19609-1b.d
pr19609-1c.d
pr19609-1d.d
pr19609-1e.d
pr19609-1f.d
pr19609-1g.d
pr19609-1h.d
pr19609-1i.d
pr19609-1j.d
pr19609-1k.d
pr19609-1l.d
pr19609-1m.d
pr19609-2.s
pr19609-2a.d
pr19609-2b.d
pr19609-2c.d
pr19609-2d.d
pr19609-3.s
pr19609-3a.d
pr19609-3b.d
pr19609-4.s
pr19609-4a.d
pr19609-4b.d
pr19609-4c.d
pr19609-4d.d
pr19609-4e.d x86: Adjust linker tests for --disable-separate-code 2021-12-13 12:13:34 -08:00
pr19609-5.s
pr19609-5a.d
pr19609-5b.d
pr19609-5c.d
pr19609-5d.d
pr19609-5e.d
pr19609-6.s
pr19609-6a.d x86: Adjust linker tests for --disable-separate-code 2021-12-13 12:13:34 -08:00
pr19609-6b.d x86: Adjust linker tests for --disable-separate-code 2021-12-13 12:13:34 -08:00
pr19609-6c.d
pr19609-6d.d
pr19609-7.s
pr19609-7a.d
pr19609-7b.d x86: Adjust linker tests for --disable-separate-code 2021-12-13 12:13:34 -08:00
pr19609-7c.d
pr19609-7d.d x86: Adjust linker tests for --disable-separate-code 2021-12-13 12:13:34 -08:00
pr19615.d
pr19615.s
pr19636-1.s
pr19636-1a.d
pr19636-1b.d
pr19636-1c.d
pr19636-1d.d
pr19636-1e.d
pr19636-1f.d
pr19636-1g.d
pr19636-1h.d
pr19636-1i.d
pr19636-1j.d
pr19636-2.s
pr19636-2a.d
pr19636-2b.d
pr19636-2c.d
pr19636-2d.d elf: Support DT_RELR in linker tests 2022-01-12 06:04:51 -08:00
pr19636-2e.d
pr19636-2f.d
pr19636-2g.d
pr19636-2h.d
pr19636-2i.d
pr19636-2j.d
pr19636-2k.d
pr19636-2l.d elf: Support DT_RELR in linker tests 2022-01-12 06:04:51 -08:00
pr19636-2m.d
pr19636-3.s
pr19636-3a.d
pr19636-3b.d
pr19636-3c.d
pr19636-3d.d
pr19645.d
pr19645.s
pr19704.out
pr19704a.c
pr19704b.c
pr19719.d
pr19719.s
pr19784a.c
pr19784b.c
pr19784c.c
pr19807-1.s
pr19807-1a.d
pr19807-1b.d
pr19807-2.s
pr19807-2a.d
pr19807-2b.d
pr19807-2c.d
pr19807-2d.d
pr19807-2e.d
pr19827.rd
pr19827a.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
pr19827b.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
pr19939.s
pr19939a.d
pr19939b.d
pr19969.d
pr19969a.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
pr19969b.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
pr20093-1.d
pr20093-1.s
pr20093-2.d
pr20093-2.s
pr20253-1.s
pr20253-1a.d
pr20253-1b.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr20253-1c.d
pr20253-1d.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr20253-1e.d
pr20253-1f.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr20253-1g.d
pr20253-1h.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr20253-1i.d
pr20253-1j.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr20253-1k.d
pr20253-1l.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr20253-2a.c
pr20253-2b.S
pr20253-2c.S
pr20253-2d.S
pr20253-3.d
pr20253-3.s
pr20253-4.s
pr20253-4a.d
pr20253-4b.d
pr20253-4c.d
pr20253-4d.d
pr20253-4e.d
pr20253-4f.d
pr20253-5.s
pr20253-5a.d
pr20253-5b.d
pr20550a.s Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
pr20550b.s
pr20800a.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
pr20800b.S
pr20830.s
pr20830a-now.d x86-64: Use MAXPAGESIZE for the relro segment alignment 2022-02-14 17:39:34 -08:00
pr20830a.d x86-64: Use MAXPAGESIZE for the relro segment alignment 2022-02-14 17:39:34 -08:00
pr20830b-now.d x86-64: Use MAXPAGESIZE for the relro segment alignment 2022-02-14 17:39:34 -08:00
pr20830b.d x86-64: Use MAXPAGESIZE for the relro segment alignment 2022-02-14 17:39:34 -08:00
pr21038a-now.d x86-64: Use MAXPAGESIZE for the relro segment alignment 2022-02-14 17:39:34 -08:00
pr21038a.d x86-64: Use MAXPAGESIZE for the relro segment alignment 2022-02-14 17:39:34 -08:00
pr21038a.s
pr21038b-now.d x86-64: Use MAXPAGESIZE for the relro segment alignment 2022-02-14 17:39:34 -08:00
pr21038b.d x86-64: Use MAXPAGESIZE for the relro segment alignment 2022-02-14 17:39:34 -08:00
pr21038b.s
pr21038c-now.d x86-64: Use MAXPAGESIZE for the relro segment alignment 2022-02-14 17:39:34 -08:00
pr21038c.d x86-64: Use MAXPAGESIZE for the relro segment alignment 2022-02-14 17:39:34 -08:00
pr21038c.s
pr21481a.c
pr21481b.S
pr21884.d
pr21884.t
pr21997-1a.err x86: Disallow invalid relocation against protected symbol 2022-02-11 10:24:54 -08:00
pr21997-1a.S
pr21997-1b.c
pr21997-1b.err x86: Disallow invalid relocation against protected symbol 2022-02-11 10:24:54 -08:00
pr21997-1c.c
pr22001-1a.c
pr22001-1a.err
pr22001-1b.c
pr22001-1b.err
pr22001-1c.c
pr22048.d
pr22048a.s
pr22048b.s
pr22064a.S
pr22064b.c
pr22071.d
pr22071.s
pr22115-1.s
pr22115-1a-x32.d
pr22115-1a.d
pr22115-1b-x32.d
pr22115-1b.d
pr22115-1c-x32.d
pr22115-1c.d
pr22115-1d-x32.d
pr22115-1d.d
pr22135.d
pr22135.s
pr22393-3a.c
pr22393-3a.rd
pr22393-3b.c
pr22393-3b.rd
pr22782.s
pr22782a.d
pr22782b.d
pr22791-1.err
pr22791-1a.c
pr22791-1b.s Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
pr22791-2.rd
pr22791-2a.s
pr22791-2b.c
pr22791-2c.s
pr22842a.c
pr22842a.rd
pr22842b.rd
pr22842b.S
pr22929.d
pr22929.s
pr23189.d
pr23189.s
pr23189.t
pr23194.d
pr23194.map
pr23194.s
pr23324.s
pr23324a.d
pr23324b.d
pr23372a-x32.d
pr23372a.d
pr23372a.s
pr23372b-x32.d
pr23372b.d
pr23372b.s
pr23372c-x32.d
pr23372c.d
pr23372c.s
pr23372d-x32.d
pr23372d.d
pr23372d.s
pr23372e.s
pr23372f.s
pr23486a-x32.d
pr23486a.d
pr23486a.s
pr23486b-x32.d
pr23486b.d
pr23486b.s
pr23486c-x32.d
pr23486c.d
pr23486c.s
pr23486d-x32.d
pr23486d.d
pr23486d.s
pr23854.d
pr23854.s
pr23930-32.t
pr23930-x32.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr23930.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr23930.t
pr23930a.s
pr23930b.s
pr23997a.s
pr23997b.c
pr23997c.c
pr24151a-x32.d
pr24151a.d
pr24151a.s
pr24276.dso
pr24276.warn
pr24322a-x32.d
pr24322a.d
pr24322a.s
pr24322b-x32.d
pr24322b.d
pr24322b.s
pr24322c.s
pr24458.s
pr24458a-x32.d
pr24458a.d
pr24458b-x32.d
pr24458b.d
pr24458c-x32.d
pr24458c.d
pr24721-x32.d
pr24721.d
pr24721.map
pr24721a.s
pr24721b.s
pr24905-x32.d
pr24905.d
pr24905.s
pr24905.t
pr25416-1.s
pr25416-1a.d
pr25416-1b.d
pr25416-2.s
pr25416-2a.d
pr25416-2b.d
pr25416-3.d
pr25416-3.s
pr25416-4.d
pr25416-4.s
pr25416-5a.c
pr25416-5b.s
pr25416-5c.s
pr25416-5d.s
pr25416-5e.s
pr26018.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr26018.s
pr26263.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr26263.s
pr26711-1-x32.d
pr26711-1.d
pr26711-2-x32.d
pr26711-2.d
pr26711-3-x32.d
pr26711-3.d
pr26711.s Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
pr26939-x32.d
pr26939.d
pr26939.s
pr27016a.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr27016a.s
pr27016b.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr27016b.s
pr27491-1.s x86: Skip __[start|stop]_SECNAME for --gc-sections -z start-stop-gc 2021-12-02 03:55:10 -08:00
pr27491-1a.d ld: Extract _bfd_elf_link_iterate_on_relocs 2022-01-07 17:58:20 -08:00
pr27491-1b.d x86: Skip __[start|stop]_SECNAME for --gc-sections -z start-stop-gc 2021-12-02 03:55:10 -08:00
pr27491-1c.d x86: Skip __[start|stop]_SECNAME for --gc-sections -z start-stop-gc 2021-12-02 03:55:10 -08:00
pr27491-2.d x86: Skip __[start|stop]_SECNAME for --gc-sections -z start-stop-gc 2021-12-02 03:55:10 -08:00
pr27491-2.s x86: Skip __[start|stop]_SECNAME for --gc-sections -z start-stop-gc 2021-12-02 03:55:10 -08:00
pr27491-3.d x86: Skip __[start|stop]_SECNAME for --gc-sections -z start-stop-gc 2021-12-02 03:55:10 -08:00
pr27491-3.s x86: Skip __[start|stop]_SECNAME for --gc-sections -z start-stop-gc 2021-12-02 03:55:10 -08:00
pr27491-4.d x86: Skip __[start|stop]_SECNAME for --gc-sections -z start-stop-gc 2021-12-02 03:55:10 -08:00
pr27491-4a.s x86: Skip __[start|stop]_SECNAME for --gc-sections -z start-stop-gc 2021-12-02 03:55:10 -08:00
pr27491-4b.s x86: Skip __[start|stop]_SECNAME for --gc-sections -z start-stop-gc 2021-12-02 03:55:10 -08:00
pr27587.err
pr27587a.obj.bz2
pr27587b.obj.bz2
pr27590.rd
pr27590a.obj.bz2
pr27590b.obj.bz2
pr28875-data.err x86: Disallow invalid relocation against protected symbol 2022-02-11 10:24:54 -08:00
pr28875-func.err x86: Disallow invalid relocation against protected symbol 2022-02-11 10:24:54 -08:00
property-1.r
property-1a.r
property-2.r
property-2a.r
property-3.r
property-3a.r
property-4.r
property-4a.r
property-5.r
property-5a.r
property-6.r
property-6a.c
property-6b.c
property-6c.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
property-7.r
property-7a.r
property-no-copy.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
property-stack.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
property-unsorted-1.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
property-unsorted-2.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
property-x86-1.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
property-x86-2.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
property-x86-3-x32.d
property-x86-3.d
property-x86-3.s
property-x86-4a-x32.d
property-x86-4a.d
property-x86-4a.s
property-x86-4b-x32.d
property-x86-4b.d
property-x86-4b.s
property-x86-5-x32.d
property-x86-5.d
property-x86-5a.s
property-x86-5b.s
property-x86-6-x32.d
property-x86-6.d
property-x86-6.s
property-x86-cet1-x32.d
property-x86-cet1.d
property-x86-cet2a-x32.d
property-x86-cet2a.d
property-x86-cet2b-x32.d
property-x86-cet2b.d
property-x86-cet3a-x32.d
property-x86-cet3a.d
property-x86-cet3b-x32.d
property-x86-cet3b.d
property-x86-cet4a-x32.d
property-x86-cet4a.d
property-x86-cet4b-x32.d
property-x86-cet4b.d
property-x86-cet5a-x32.d
property-x86-cet5a.d
property-x86-cet5b-x32.d
property-x86-cet5b.d
property-x86-cet6-x32.d
property-x86-cet6.d
property-x86-cet.s
property-x86-empty.s
property-x86-ibt1a-x32.d
property-x86-ibt1a.d
property-x86-ibt1a.map
property-x86-ibt1b-x32.d
property-x86-ibt1b.d
property-x86-ibt2-x32.d
property-x86-ibt2.d
property-x86-ibt3a-x32.d
property-x86-ibt3a.d
property-x86-ibt3b-x32.d
property-x86-ibt3b.d
property-x86-ibt4-x32.d
property-x86-ibt4.d
property-x86-ibt5-x32.d
property-x86-ibt5.d
property-x86-ibt.s
property-x86-isa1-x32.d
property-x86-isa1.d
property-x86-isa1.s
property-x86-isa2-x32.d
property-x86-isa2.d
property-x86-isa3-x32.d
property-x86-isa3.d
property-x86-isa4-x32.d
property-x86-isa4.d
property-x86-lam-u48-1a.d
property-x86-lam-u48-1b.d
property-x86-lam-u48-2.d
property-x86-lam-u48-3a.d
property-x86-lam-u48-3b.d
property-x86-lam-u48-4.d
property-x86-lam-u48-5.d
property-x86-lam-u48.s
property-x86-lam-u57-1a.d
property-x86-lam-u57-1b.d
property-x86-lam-u57-2.d
property-x86-lam-u57-3a.d
property-x86-lam-u57-3b.d
property-x86-lam-u57-4.d
property-x86-lam-u57-5.d
property-x86-lam-u57.s
property-x86-shstk1a-x32.d
property-x86-shstk1a.d
property-x86-shstk1b-x32.d
property-x86-shstk1b.d
property-x86-shstk2-x32.d
property-x86-shstk2.d
property-x86-shstk3a-x32.d
property-x86-shstk3a.d
property-x86-shstk3b-x32.d
property-x86-shstk3b.d
property-x86-shstk4-x32.d
property-x86-shstk4.d
property-x86-shstk5-x32.d
property-x86-shstk5.d
property-x86-shstk.s
protected1.d
protected1.s
protected2.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
protected2.s
protected3.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
protected3.s
protected4.d
protected4.s
protected5.d
protected5.s
protected6.s
protected6a.d
protected6b.d
protected7.s
protected7a.d
protected7b.d
protected8.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
protected8.s
protected-data-1.h elf: Add GNU_PROPERTY_1_NEEDED check 2021-07-08 18:14:31 -07:00
protected-data-1a.c elf: Add GNU_PROPERTY_1_NEEDED check 2021-07-08 18:14:31 -07:00
protected-data-1b.c elf: Add GNU_PROPERTY_1_NEEDED check 2021-07-08 18:14:31 -07:00
protected-data-2a.S elf: Add GNU_PROPERTY_1_NEEDED check 2021-07-08 18:14:31 -07:00
protected-data-2b.S elf: Add GNU_PROPERTY_1_NEEDED check 2021-07-08 18:14:31 -07:00
protected-func-1.h x86-64: Test protected function pointers 2021-06-17 10:26:34 -07:00
protected-func-1a.s x86-64: Test protected function pointers 2021-06-17 10:26:34 -07:00
protected-func-1b.c x86-64: Test protected function pointers 2021-06-17 10:26:34 -07:00
protected-func-2a.S elf: Add GNU_PROPERTY_1_NEEDED check 2021-07-08 18:14:31 -07:00
protected-func-2b.S elf: Add GNU_PROPERTY_1_NEEDED check 2021-07-08 18:14:31 -07:00
protected-func-2c.c elf: Add GNU_PROPERTY_1_NEEDED check 2021-07-08 18:14:31 -07:00
protected-func-3.c x86: Properly handle function pointer reference 2022-04-28 09:20:30 -07:00
rela.d x86-64/ELF: Fix "clear src_mask for all reloc types" test case 2021-05-11 17:00:51 -07:00
report-reloc-1-x32.d elf: Support DT_RELR in linker tests 2022-01-12 06:04:51 -08:00
report-reloc-1.d elf: Support DT_RELR in linker tests 2022-01-12 06:04:51 -08:00
report-reloc-1.l ld/x86: Update -z report-relative-reloc 2022-01-04 11:12:01 -08:00
report-reloc-1.s
simple.c
simple.s
split-by-file1.s
split-by-file2.s
split-by-file.rd
start.s Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
textrel-1.err elf: Correct DT_TEXTREL warning in PDE 2021-06-19 16:33:35 -07:00
textrel-1a.s elf: Correct DT_TEXTREL warning in PDE 2021-06-19 16:33:35 -07:00
textrel-1b.s elf: Correct DT_TEXTREL warning in PDE 2021-06-19 16:33:35 -07:00
tls-def1.c
tls-gd1.S
tls-ld1.S
tls-main1.c
tls.exp Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
tlsbin2.dd
tlsbin2.rd
tlsbin2.sd
tlsbin2.td
tlsbin.dd
tlsbin.rd
tlsbin.s
tlsbin.sd
tlsbin.td
tlsbindesc.dd
tlsbindesc.rd
tlsbindesc.s
tlsbindesc.sd
tlsbindesc.td
tlsbinpic2.s
tlsbinpic.s
tlsdesc1a.c
tlsdesc1b.c
tlsdesc2.d
tlsdesc.dd
tlsdesc.pd opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
tlsdesc.rd Change the linker's heuristic for computing the entry point for binaries so that shared libraries default to an entry point of 0. 2021-09-21 13:21:41 +01:00
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
tlsgd5c.s
tlsgd6.dd
tlsgd6a.s
tlsgd6b.s
tlsgd6c.s
tlsgd7.dd
tlsgd7.s
tlsgd8.dd
tlsgd8.s
tlsgd9.dd
tlsgd9.s
tlsgd10.dd
tlsgd10.s
tlsgd11.dd
tlsgd11.s
tlsgd12.d
tlsgd12.s
tlsgd13.d
tlsgd13.s
tlsgd14.dd
tlsgd14.s
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
tlsld4.dd
tlsld4.s
tlsld5.dd
tlsld5.s
tlsld6.dd
tlsld6.s
tlsle1.d
tlsle1.s
tlslib.s
tlspic1.s
tlspic2.dd
tlspic2.rd Change the linker's heuristic for computing the entry point for binaries so that shared libraries default to an entry point of 0. 2021-09-21 13:21:41 +01:00
tlspic2.s
tlspic2.sd
tlspic2.td
tlspic3.s
tlspic.dd
tlspic.rd Change the linker's heuristic for computing the entry point for binaries so that shared libraries default to an entry point of 0. 2021-09-21 13:21:41 +01:00
tlspic.sd
tlspic.td
tlspie1.d
tlspie1.s
tlspie2.s
tlspie2a.d
tlspie2b.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
tlspie2c.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
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 x86: Properly handle function pointer reference 2022-04-28 09:20:30 -07:00