* mmap support for common simulators
[binutils-gdb.git] / ld / emulparams / elf32lmip.sh
blob23312f44acaed8ee4a0617292d45fb03df761dc9
1 SCRIPT_NAME=elf
2 OUTPUT_FORMAT="elf32-littlemips"
3 BIG_OUTPUT_FORMAT="elf32-bigmips"
4 LITTLE_OUTPUT_FORMAT="elf32-littlemips"
5 TEXT_START_ADDR=0x0400000
6 DATA_ADDR=0x10000000
7 MAXPAGESIZE=0x40000
8 NONPAGED_TEXT_START_ADDR=0x0400000
9 SHLIB_TEXT_START_ADDR=0x5ffe0000
10 TEXT_DYNAMIC=
11 INITIAL_READONLY_SECTIONS='.reginfo : { *(.reginfo) }'
12 OTHER_TEXT_SECTIONS='*(.mips16.fn.*) *(.mips16.call.*)'
13 OTHER_GOT_SYMBOLS='
14 _gp = ALIGN(16) + 0x7ff0;
16 OTHER_GOT_SECTIONS='
17 .lit8 : { *(.lit8) }
18 .lit4 : { *(.lit4) }
20 TEXT_START_SYMBOLS='_ftext = . ;'
21 DATA_START_SYMBOLS='_fdata = . ;'
22 OTHER_BSS_SYMBOLS='_fbss = .;'
23 OTHER_SECTIONS='
24 .gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
25 .gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
27 ARCH=mips
28 MACHINE=
29 TEMPLATE_NAME=elf32
30 GENERATE_SHLIB_SCRIPT=yes