mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
f2faa8006c
* elf32-ppc.c (apuinfo_set): New static var. (ppc_elf_begin_write_processing): Set it here, always create an APUinfo section if there were any in the inputs. (ppc_elf_write_section): Check apuinfo_set. (ppc_elf_final_write_processing): Likewise. ld/testsuite/ * ld-powerpc/apuinfo-nul.rd: New. * ld-powerpc/apuinfo-nul1.s: New. * ld-powerpc/powerpc.exp: Add it.
11 lines
148 B
ArmAsm
11 lines
148 B
ArmAsm
.text
|
|
_start: nop
|
|
|
|
# dummy empty apuinfo
|
|
# some other tools emit these
|
|
.section ".PPC.EMB.apuinfo"
|
|
.long 8
|
|
.long 0
|
|
.long 2
|
|
.asciz "APUinfo"
|