xref: /netbsd-src/external/gpl3/binutils/dist/ld/emulparams/elf32bfinfd.sh (revision 1b9578b8c2c1f848eeb16dabbfd7d1f0d9fdefbd)
1. ${srcdir}/emulparams/bfin.sh
2unset STACK_ADDR
3OUTPUT_FORMAT="elf32-bfinfdpic"
4MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
5TEMPLATE_NAME=elf32
6GENERATE_SHLIB_SCRIPT=yes
7GENERATE_PIE_SCRIPT=yes
8EMBEDDED= # This gets us program headers mapped as part of the text segment.
9OTHER_GOT_SYMBOLS=
10OTHER_READONLY_SECTIONS="
11  .rofixup        : {
12    ${RELOCATING+__ROFIXUP_LIST__ = .;}
13    *(.rofixup)
14    ${RELOCATING+__ROFIXUP_END__ = .;}
15  }
16"
17# 0xff700000, 0xff800000, 0xff900000 and 0xffa00000 are also used in
18# Dynamic linker and linux kernel. They need to be keep synchronized.
19OTHER_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"
37