Commit | Line | Data |
---|---|---|
b2d65c0b NC |
1 | SCRIPT_NAME=elf |
2 | OUTPUT_FORMAT="elf32-powerpc" | |
485cf679 | 3 | NO_REL_RELOCS=yes |
b2d65c0b NC |
4 | TEXT_BASE=0x00002000 |
5 | DYN_TEXT_BASE=0x00400000 | |
6 | TEXT_START_ADDR="(DEFINED(_DYNAMIC) ? ${DYN_TEXT_BASE} : ${TEXT_BASE})" | |
24718e3b | 7 | MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" |
88bba78d AM |
8 | case ${LD_FLAG} in |
9 | n|N) TEXT_START_ADDR=0x1000 ;; | |
10 | esac | |
b2d65c0b NC |
11 | ARCH=powerpc |
12 | MACHINE= | |
13 | TEMPLATE_NAME=elf32 | |
14 | GENERATE_SHLIB_SCRIPT=yes | |
15 | ELF_INTERPRETER_NAME=\"/usr/lib/ld.so.1\" | |
16 | ||
17 | # Leave room of SIZEOF_HEADERS before text. | |
18 | EMBEDDED= | |
19 | # PLT on PowerPC is generated at run-time. | |
20 | BSS_PLT= | |
21 | OTHER_READWRITE_SECTIONS=" | |
22 | .got1 ${RELOCATING-0} : { *(.got1) } | |
23 | .got2 ${RELOCATING-0} : { *(.got2) }" |