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
351 B
R
11 lines
351 B
R
#source: apuinfo1.s
|
|
#source: apuinfo2.s
|
|
#source: apuinfo-nul.s
|
|
#as: -me500
|
|
#readelf: -x2
|
|
#target: powerpc-eabi*
|
|
|
|
Hex dump of section '.PPC.EMB.apuinfo':
|
|
0x00000000 00000008 0000001c 00000002 41505569 ............APUi
|
|
0x00000010 6e666f00 00420001 00430001 00410001 nfo..B...C...A..
|
|
0x00000020 01020001 01010001 00400001 01000001 .........@......
|