Commit | Line | Data |
---|---|---|
9d6f9a38 BS |
1 | . ${srcdir}/emulparams/bfin.sh |
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 | " | |
b0a0b978 JZ |
17 | # 0xff700000, 0xff800000, 0xff900000 and 0xffa00000 are also used in |
18 | # Dynamic linker and linux kernel. They need to be keep synchronized. | |
19 | OTHER_SECTIONS=" | |
20 | .l1.data 0xff700000 : | |
21 | { | |
22 | *(.l1.data) | |
23 | } | |
24 | .l1.data.A 0xff800000 : | |
25 | { | |
26 | *(.l1.data.A) | |
27 | } | |
28 | .l1.data.B 0xff900000 : | |
29 | { | |
30 | *(.l1.data.B) | |
31 | } | |
32 | .l1.text 0xffa00000 : | |
33 | { | |
34 | *(.l1.text) | |
35 | } | |
36 | " |