mirror of
https://review.haiku-os.org/buildtools
synced 2025-01-31 18:44:48 +01:00
dab660cbe3
for x86), so it should be placed near the .bss sections. This fixes linkage problems -- the linker had to split the text segment after the .plt section, which caused its pre-computed program header count to be wrong. * I also added the stuff concerning the .fixup and .got{1,2} sections I found in the generic ELF PPC script. It shouldn't harm at least. git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15474 a95241bf-73f2-0310-859d-f6bbb57e9c96
21 lines
526 B
Bash
21 lines
526 B
Bash
SCRIPT_NAME=elf
|
|
OUTPUT_FORMAT="elf32-powerpc"
|
|
TEXT_START_ADDR=0x200000
|
|
NONPAGED_TEXT_START_ADDR=0x200000
|
|
MAXPAGESIZE=0x1000
|
|
ARCH=powerpc
|
|
MACHINE=
|
|
NOP=0x60000000
|
|
TEMPLATE_NAME=elf32
|
|
GENERATE_SHLIB_SCRIPT=yes
|
|
BSS_PLT=
|
|
OTHER_RELRO_SECTIONS="
|
|
.fixup ${RELOCATING-0} : { *(.fixup) }
|
|
.got1 ${RELOCATING-0} : { *(.got1) }
|
|
.got2 ${RELOCATING-0} : { *(.got2) }
|
|
"
|
|
OTHER_GOT_RELOC_SECTIONS="
|
|
.rela.got1 ${RELOCATING-0} : { *(.rela.got1) }
|
|
.rela.got2 ${RELOCATING-0} : { *(.rela.got2) }
|
|
"
|