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