Commit | Line | Data |
---|---|---|
c40e31a1 | 1 | source_sh ${srcdir}/emulparams/elf32bfin.sh |
9d6f9a38 BS |
2 | unset STACK_ADDR |
3 | OUTPUT_FORMAT="elf32-bfinfdpic" | |
24718e3b | 4 | MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" |
9d6f9a38 BS |
5 | TEMPLATE_NAME=elf32 |
6 | GENERATE_SHLIB_SCRIPT=yes | |
7 | GENERATE_PIE_SCRIPT=yes | |
8 | EMBEDDED= # This gets us program headers mapped as part of the text segment. | |
9 | OTHER_GOT_SYMBOLS= | |
10 | OTHER_READONLY_SECTIONS=" | |
11 | .rofixup : { | |
12 | ${RELOCATING+__ROFIXUP_LIST__ = .;} | |
13 | *(.rofixup) | |
14 | ${RELOCATING+__ROFIXUP_END__ = .;} | |
15 | } | |
16 | " | |
7dd8f318 JZ |
17 | # 0xfeb00000, 0xfec00000, 0xff700000, 0xff800000, 0xff900000 |
18 | # 0xffa00000 are also used in Dynamic linker and linux kernel. | |
19 | # They need to be kept synchronized. | |
b0a0b978 | 20 | OTHER_SECTIONS=" |
7dd8f318 JZ |
21 | .l2.text 0xfeb00000 : |
22 | { | |
23 | *(.l2.text) | |
24 | } | |
25 | .l2.data 0xfec00000 : | |
26 | { | |
27 | *(.l2.data) | |
28 | } | |
b0a0b978 JZ |
29 | .l1.data 0xff700000 : |
30 | { | |
31 | *(.l1.data) | |
32 | } | |
33 | .l1.data.A 0xff800000 : | |
34 | { | |
35 | *(.l1.data.A) | |
36 | } | |
37 | .l1.data.B 0xff900000 : | |
38 | { | |
39 | *(.l1.data.B) | |
40 | } | |
41 | .l1.text 0xffa00000 : | |
42 | { | |
43 | *(.l1.text) | |
44 | } | |
45 | " | |
781303ce | 46 | EXTRA_EM_FILE=bfin |