2001-04-05 Steven J. Hill <sjhill@cotw.com>
[deliverable/binutils-gdb.git] / ld / emulparams / elf64btsmip.sh
1 # This is an ELF platform.
2 SCRIPT_NAME=elf
3
4 # Handle both big- and little-ended 64-bit MIPS objects.
5 ARCH=mips
6 OUTPUT_FORMAT="elf64-tradbigmips"
7 BIG_OUTPUT_FORMAT="elf64-tradbigmips"
8 LITTLE_OUTPUT_FORMAT="elf64-tradlittlemips"
9
10 # Note that the elf32 template is used for 64-bit emulations as well
11 # as 32-bit emulations.
12 ELFSIZE=64
13 TEMPLATE_NAME=elf32
14 GENERATE_SHLIB_SCRIPT=yes
15
16 TEXT_START_ADDR=0x10000000
17 DATA_ADDR=0x0400000000
18 MAXPAGESIZE=0x100000
19 NONPAGED_TEXT_START_ADDR=0x10000000
20 SHLIB_TEXT_START_ADDR=0x0
21 TEXT_DYNAMIC=
22 ENTRY=__start
23
24 # GOT-related settings.
25 OTHER_GOT_SYMBOLS='
26 _gp = ALIGN(16) + 0x7ff0;
27 '
28 OTHER_GOT_SECTIONS='
29 .lit8 : { *(.lit8) }
30 .lit4 : { *(.lit4) }
31 '
32
33 # Magic symbols.
34 TEXT_START_SYMBOLS='_ftext = . ;'
35 DATA_START_SYMBOLS='_fdata = . ;'
36 OTHER_BSS_SYMBOLS='_fbss = .;'
37
38 # Magic sections.
39 INITIAL_READONLY_SECTIONS='.reginfo : { *(.reginfo) }'
40 OTHER_TEXT_SECTIONS='*(.mips16.fn.*) *(.mips16.call.*)'
41 OTHER_SECTIONS='
42 .gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
43 .gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
44 '
This page took 0.030326 seconds and 5 git commands to generate.