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)" |
075a2b89 | 5 | TEMPLATE_NAME=elf |
9d6f9a38 BS |
6 | GENERATE_SHLIB_SCRIPT=yes |
7 | GENERATE_PIE_SCRIPT=yes | |
cbb54a28 AM |
8 | # This gets us program headers mapped as part of the text segment. |
9 | unset EMBEDDED | |
9d6f9a38 BS |
10 | OTHER_GOT_SYMBOLS= |
11 | OTHER_READONLY_SECTIONS=" | |
12 | .rofixup : { | |
13 | ${RELOCATING+__ROFIXUP_LIST__ = .;} | |
14 | *(.rofixup) | |
15 | ${RELOCATING+__ROFIXUP_END__ = .;} | |
16 | } | |
17 | " | |
7dd8f318 JZ |
18 | # 0xfeb00000, 0xfec00000, 0xff700000, 0xff800000, 0xff900000 |
19 | # 0xffa00000 are also used in Dynamic linker and linux kernel. | |
20 | # They need to be kept synchronized. | |
b0a0b978 | 21 | OTHER_SECTIONS=" |
7dd8f318 JZ |
22 | .l2.text 0xfeb00000 : |
23 | { | |
24 | *(.l2.text) | |
25 | } | |
26 | .l2.data 0xfec00000 : | |
27 | { | |
28 | *(.l2.data) | |
29 | } | |
b0a0b978 JZ |
30 | .l1.data 0xff700000 : |
31 | { | |
32 | *(.l1.data) | |
33 | } | |
34 | .l1.data.A 0xff800000 : | |
35 | { | |
36 | *(.l1.data.A) | |
37 | } | |
38 | .l1.data.B 0xff900000 : | |
39 | { | |
40 | *(.l1.data.B) | |
41 | } | |
42 | .l1.text 0xffa00000 : | |
43 | { | |
44 | *(.l1.text) | |
45 | } | |
46 | " | |
781303ce | 47 | EXTRA_EM_FILE=bfin |