mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
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.
11 lines
141 B
ArmAsm
11 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"
|