merge from gcc
[binutils.git] / ld / emulparams / elf32ip2k.sh
blob17fb7aba9c7bda51c9e9343b0b791e20d478d2f2
1 TEMPLATE_NAME=elf32
2 MACHINE=
3 SCRIPT_NAME=elf
4 OUTPUT_FORMAT="elf32-ip2k"
5 # See also `include/elf/ip2k.h'
6 DATA_ADDR=0x01000100
7 TEXT_START_ADDR=0x02010000
8 GPR_START_ADDR=0x1000080
9 GPR_SIZE=0x7F
10 GRP_MEMORY=gpr
11 ARCH=ip2k
12 ENTRY=__start
13 EMBEDDED=yes
14 ELFSIZE=32
15 MAXPAGESIZE=256
16 WRITABLE_RODATA=
17 OTHER_RELOCATING_SECTIONS='PROVIDE (__stack = 0x01000FFF);'
18 OTHER_READONLY_SECTIONS='.pram 0x2000000 : { *(.pram) } .reset 0x201FFE0 : { *(.reset) }'
19 OTHER_READWRITE_SECTIONS='.gpr 0x1000080 : { *(.gpr) }'