* Makefile.in (earmcoff.c): Build.
* configure.tgt (arm-*-coff): New target * emulparms/armcoff.sh: New file. * scripttempl/armcoff.sc: New file.
This commit is contained in:
parent
277c7a9919
commit
132dd91099
|
@ -1,3 +1,10 @@
|
|||
Thu Sep 28 01:40:37 1995 Doug Evans <dje@deneb.cygnus.com>
|
||||
|
||||
* Makefile.in (earmcoff.c): Build.
|
||||
* configure.tgt (arm-*-coff): New target
|
||||
* emulparms/armcoff.sh: New file.
|
||||
* scripttempl/armcoff.sc: New file.
|
||||
|
||||
Tue Sep 26 10:59:32 1995 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* scripttempl/i386coff.sc: Remove .data2; no longer needed.
|
||||
|
|
|
@ -44,6 +44,7 @@ a29k.sh
|
|||
alpha.sh
|
||||
armaoutb.sh
|
||||
armaoutl.sh
|
||||
armcoff.sh
|
||||
armpe.sh
|
||||
coff_sparc.sh
|
||||
ebmon29k.sh
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
ARCH=arm
|
||||
SCRIPT_NAME=armcoff
|
||||
OUTPUT_FORMAT="coff-arm-little"
|
||||
LITTLE_OUTPUT_FORMAT="coff-arm-little"
|
||||
BIG_OUTPUT_FORMAT="coff-arm-big"
|
||||
#TEMPLATE_NAME=armcoff
|
|
@ -35,6 +35,7 @@ README
|
|||
a29k.sc
|
||||
alpha.sc
|
||||
armaout.sc
|
||||
armcoff.sc
|
||||
aout.sc
|
||||
ebmon29k.sc
|
||||
elf.sc
|
||||
|
|
|
@ -0,0 +1,37 @@
|
|||
# Linker script for ARM COFF.
|
||||
# Based on i386coff.sc by Ian Taylor <ian@cygnus.com>.
|
||||
test -z "$ENTRY" && ENTRY=_start
|
||||
cat <<EOF
|
||||
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
||||
${LIB_SEARCH_DIRS}
|
||||
|
||||
ENTRY(${ENTRY})
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
.text ${RELOCATING+ SIZEOF_HEADERS} : {
|
||||
*(.init)
|
||||
*(.text)
|
||||
*(.fini)
|
||||
${RELOCATING+ etext = .};
|
||||
}
|
||||
.data ${RELOCATING+ 0x400000 + (. & 0xffc00fff)} : {
|
||||
*(.data)
|
||||
${RELOCATING+ edata = .};
|
||||
}
|
||||
.bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
|
||||
{
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
${RELOCATING+ end = .};
|
||||
}
|
||||
.stab 0 ${RELOCATING+(NOLOAD)} :
|
||||
{
|
||||
[ .stab ]
|
||||
}
|
||||
.stabstr 0 ${RELOCATING+(NOLOAD)} :
|
||||
{
|
||||
[ .stabstr ]
|
||||
}
|
||||
}
|
||||
EOF
|
Loading…
Reference in New Issue