Initial import from FreeBSD RELENG_4:
[dragonfly.git] / contrib / binutils / ld / emulparams / armelf_linux26.sh
1 ARCH=arm
2 SCRIPT_NAME=elf
3 OUTPUT_FORMAT="elf32-littlearm"
4 BIG_OUTPUT_FORMAT="elf32-bigarm"
5 LITTLE_OUTPUT_FORMAT="elf32-littlearm"
6 MAXPAGESIZE=0x8000
7 TEMPLATE_NAME=armelf
8 GENERATE_SHLIB_SCRIPT=yes
9
10 DATA_START_SYMBOLS='__data_start = . ;';
11 OTHER_BSS_SYMBOLS='__bss_start__ = .;'
12 OTHER_BSS_END_SYMBOLS='_bss_end__ = . ; __bss_end__ = . ; __end__ = . ;'
13
14 # This needs to be high enough so that we can load ld.so below it,
15 # yet low enough to stay away from the mmap area at 0x01100000.
16 # Also, it is small enough so that relocs which are pointing
17 # at absolute 0 will still be fixed up.
18 # These values give us about 0.5MB for ld.so, 16.5MB for user 
19 # programs, and 15MB for mmap which seems a reasonable compromise.
20 TEXT_START_ADDR=0x00080000