1. ${srcdir}/emulparams/elf32bfin.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# 0xfeb00000, 0xfec00000, 0xff700000, 0xff800000, 0xff900000 18# 0xffa00000 are also used in Dynamic linker and linux kernel. 19# They need to be kept synchronized. 20OTHER_SECTIONS=" 21 .l2.text 0xfeb00000 : 22 { 23 *(.l2.text) 24 } 25 .l2.data 0xfec00000 : 26 { 27 *(.l2.data) 28 } 29 .l1.data 0xff700000 : 30 { 31 *(.l1.data) 32 } 33 .l1.data.A 0xff800000 : 34 { 35 *(.l1.data.A) 36 } 37 .l1.data.B 0xff900000 : 38 { 39 *(.l1.data.B) 40 } 41 .l1.text 0xffa00000 : 42 { 43 *(.l1.text) 44 } 45" 46EXTRA_EM_FILE=bfin 47