xref: /openbsd-src/gnu/usr.bin/binutils-2.17/ld/emulparams/elf32ppc_obsd.sh (revision 12dd90a1344c5a9766ec320087c6288822bb4866)
1. ${srcdir}/emulparams/elf32ppc.sh
2. ${srcdir}/emulparams/elf_obsd.sh
3TRAP=0x00000000 # gauranteed always illegal
4
5# override these to put the padding *in* the output section
6sdata_GOT=".got          ${RELOCATING-0} : SPECIAL {
7    *(.got)
8    ${RELOCATING+. = ALIGN(${MAXPAGESIZE}) + (. & (${MAXPAGESIZE} - 1));}
9  }"
10bss_PLT="
11  .plt          ${RELOCATING-0} : SPECIAL {
12    ${RELOCATING+. = ALIGN(${MAXPAGESIZE}) + (. & (${MAXPAGESIZE} - 1));}
13    *(.plt)
14    ${RELOCATING+. = ALIGN(${MAXPAGESIZE}) + (. & (${MAXPAGESIZE} - 1));}
15  }"
16