* ldlang.c (lang_size_sections): Last, set _cooked_size for output
[binutils.git] / ld / emulparams / elf32bmip.sh
blobfa7d671ffdf7f67fc500436565dd97753cd42c8d
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
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
9 test -n "${EMBEDDED}" || DATA_ADDR=0x10000000
10 MAXPAGESIZE=0x40000
11 NONPAGED_TEXT_START_ADDR=0x0400000
12 SHLIB_TEXT_START_ADDR=0x5ffe0000
13 test -n "${EMBEDDED}" || TEXT_DYNAMIC=
14 INITIAL_READONLY_SECTIONS="
15 .reginfo ${RELOCATING-0} : { *(.reginfo) }
17 OTHER_TEXT_SECTIONS='*(.mips16.fn.*) *(.mips16.call.*)'
18 OTHER_GOT_SYMBOLS='
19 _gp = ALIGN(16) + 0x7ff0;
21 OTHER_SDATA_SECTIONS="
22 .lit8 ${RELOCATING-0} : { *(.lit8) }
23 .lit4 ${RELOCATING-0} : { *(.lit4) }
25 TEXT_START_SYMBOLS='_ftext = . ;'
26 DATA_START_SYMBOLS='_fdata = . ;'
27 OTHER_BSS_SYMBOLS='_fbss = .;'
28 OTHER_SECTIONS='
29 .gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
30 .gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
32 ARCH=mips
33 MACHINE=
34 TEMPLATE_NAME=elf32
35 EXTRA_EM_FILE=mipself
36 GENERATE_SHLIB_SCRIPT=yes