deddc40bec
* elf32-ppc.c (ppc_elf_begin_write_processing): Allow empty apuinfo sections, only scan input sections once and reuse the buffer. ld/testsuite/ * ld-powerpc/apuinfo-nul.s: New. * ld-powerpc/apuinfo.rd: Add it. * ld-powerpc/powerpc.exp: Likewise.
10 lines
141 B
ArmAsm
10 lines
141 B
ArmAsm
.text
|
|
nop
|
|
|
|
# dummy empty apuinfo
|
|
# some other tools emit these
|
|
.section ".PPC.EMB.apuinfo"
|
|
.long 8
|
|
.long 0
|
|
.long 2
|
|
.asciz "APUinfo"
|