mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
22 lines
523 B
Bash
22 lines
523 B
Bash
|
SCRIPT_NAME=arclinux
|
||
|
if [ "x${ARC_ENDIAN}" = "xbig" ]; then
|
||
|
OUTPUT_FORMAT="elf32-bigarc"
|
||
|
else
|
||
|
OUTPUT_FORMAT="elf32-littlearc"
|
||
|
fi
|
||
|
LITTLE_OUTPUT_FORMAT="elf32-littlearc"
|
||
|
BIG_OUTPUT_FORMAT="elf32-bigarc"
|
||
|
TEXT_START_ADDR=0x10000
|
||
|
MAXPAGESIZE=0x2000
|
||
|
COMMONPAGESIZE=0x2000
|
||
|
NONPAGED_TEXT_START_ADDR=0x10000
|
||
|
ARCH=arc
|
||
|
MACHINE=
|
||
|
ENTRY=__start
|
||
|
TEMPLATE_NAME=arclinux
|
||
|
TEMPLATE_NAME=elf32
|
||
|
EXTRA_EM_FILE=arclinux
|
||
|
GENERATE_SHLIB_SCRIPT=yes
|
||
|
SDATA_START_SYMBOLS='__SDATA_BEGIN__ = .;'
|
||
|
OTHER_SECTIONS="/DISCARD/ : { *(.__arc_profile_*) }"
|