Commit | Line | Data |
---|---|---|
465bc359 AM |
1 | # If you change this file, please also look at files which source this one: |
2 | # elf32b4300.sh elf32bsmip.sh elf32btsmip.sh elf32ebmip.sh elf32lmip.sh | |
3 | ||
252b5132 RH |
4 | SCRIPT_NAME=elf |
5 | OUTPUT_FORMAT="elf32-bigmips" | |
6 | BIG_OUTPUT_FORMAT="elf32-bigmips" | |
7 | LITTLE_OUTPUT_FORMAT="elf32-littlemips" | |
8 | TEXT_START_ADDR=0x0400000 | |
465bc359 | 9 | test -n "${EMBEDDED}" || DATA_ADDR=0x10000000 |
252b5132 | 10 | MAXPAGESIZE=0x40000 |
4c8e70d7 | 11 | COMMONPAGESIZE=0x1000 |
252b5132 RH |
12 | NONPAGED_TEXT_START_ADDR=0x0400000 |
13 | SHLIB_TEXT_START_ADDR=0x5ffe0000 | |
161f49a3 | 14 | TEXT_DYNAMIC= |
465bc359 AM |
15 | INITIAL_READONLY_SECTIONS=" |
16 | .reginfo ${RELOCATING-0} : { *(.reginfo) } | |
17 | " | |
252b5132 | 18 | OTHER_TEXT_SECTIONS='*(.mips16.fn.*) *(.mips16.call.*)' |
4e25343c RS |
19 | # If the output has a GOT section, there must be exactly 0x7ff0 bytes |
20 | # between .got and _gp. The ". = ." below stops the orphan code from | |
21 | # inserting other sections between the assignment to _gp and the start | |
22 | # of .got. | |
252b5132 | 23 | OTHER_GOT_SYMBOLS=' |
4e25343c | 24 | . = .; |
252b5132 RH |
25 | _gp = ALIGN(16) + 0x7ff0; |
26 | ' | |
465bc359 AM |
27 | OTHER_SDATA_SECTIONS=" |
28 | .lit8 ${RELOCATING-0} : { *(.lit8) } | |
29 | .lit4 ${RELOCATING-0} : { *(.lit4) } | |
30 | " | |
252b5132 RH |
31 | TEXT_START_SYMBOLS='_ftext = . ;' |
32 | DATA_START_SYMBOLS='_fdata = . ;' | |
33 | OTHER_BSS_SYMBOLS='_fbss = .;' | |
34 | OTHER_SECTIONS=' | |
35 | .gptab.sdata : { *(.gptab.data) *(.gptab.sdata) } | |
36 | .gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) } | |
37 | ' | |
38 | ARCH=mips | |
39 | MACHINE= | |
40 | TEMPLATE_NAME=elf32 | |
41 | GENERATE_SHLIB_SCRIPT=yes |