2014-06-02 04:24:54 +00:00
|
|
|
. ${srcdir}/emulparams/elf32bfin.sh
|
2006-03-29 14:17:57 +00:00
|
|
|
unset STACK_ADDR
|
|
|
|
OUTPUT_FORMAT="elf32-bfinfdpic"
|
2006-05-30 16:45:32 +00:00
|
|
|
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
2006-03-29 14:17:57 +00:00
|
|
|
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__ = .;}
|
|
|
|
}
|
|
|
|
"
|
2009-09-04 04:07:58 +00:00
|
|
|
# 0xfeb00000, 0xfec00000, 0xff700000, 0xff800000, 0xff900000
|
|
|
|
# 0xffa00000 are also used in Dynamic linker and linux kernel.
|
|
|
|
# They need to be kept synchronized.
|
2008-07-15 13:09:47 +00:00
|
|
|
OTHER_SECTIONS="
|
2009-09-04 04:07:58 +00:00
|
|
|
.l2.text 0xfeb00000 :
|
|
|
|
{
|
|
|
|
*(.l2.text)
|
|
|
|
}
|
|
|
|
.l2.data 0xfec00000 :
|
|
|
|
{
|
|
|
|
*(.l2.data)
|
|
|
|
}
|
2008-07-15 13:09:47 +00:00
|
|
|
.l1.data 0xff700000 :
|
|
|
|
{
|
|
|
|
*(.l1.data)
|
|
|
|
}
|
|
|
|
.l1.data.A 0xff800000 :
|
|
|
|
{
|
|
|
|
*(.l1.data.A)
|
|
|
|
}
|
|
|
|
.l1.data.B 0xff900000 :
|
|
|
|
{
|
|
|
|
*(.l1.data.B)
|
|
|
|
}
|
|
|
|
.l1.text 0xffa00000 :
|
|
|
|
{
|
|
|
|
*(.l1.text)
|
|
|
|
}
|
|
|
|
"
|
2010-11-15 22:30:47 +00:00
|
|
|
EXTRA_EM_FILE=bfin
|