| 1 | source_sh ${srcdir}/emulparams/elf32bfin.sh |
| 2 | unset STACK_ADDR |
| 3 | OUTPUT_FORMAT="elf32-bfinfdpic" |
| 4 | MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" |
| 5 | TEMPLATE_NAME=elf |
| 6 | GENERATE_SHLIB_SCRIPT=yes |
| 7 | GENERATE_PIE_SCRIPT=yes |
| 8 | # This gets us program headers mapped as part of the text segment. |
| 9 | unset EMBEDDED |
| 10 | OTHER_GOT_SYMBOLS= |
| 11 | OTHER_READONLY_SECTIONS=" |
| 12 | .rofixup : { |
| 13 | ${RELOCATING+__ROFIXUP_LIST__ = .;} |
| 14 | *(.rofixup) |
| 15 | ${RELOCATING+__ROFIXUP_END__ = .;} |
| 16 | } |
| 17 | " |
| 18 | # 0xfeb00000, 0xfec00000, 0xff700000, 0xff800000, 0xff900000 |
| 19 | # 0xffa00000 are also used in Dynamic linker and linux kernel. |
| 20 | # They need to be kept synchronized. |
| 21 | OTHER_SECTIONS=" |
| 22 | .l2.text 0xfeb00000 : |
| 23 | { |
| 24 | *(.l2.text) |
| 25 | } |
| 26 | .l2.data 0xfec00000 : |
| 27 | { |
| 28 | *(.l2.data) |
| 29 | } |
| 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 | " |
| 47 | EXTRA_EM_FILE=bfin |