PR 4515
* genscripts.sh: Delete all references to NONPAGED_TEXT_START_ADDR. * ldint.texinfo: Likewise. * emulparams/armaoutb.sh (NONPAGED_TEXT_START_ADDRESS): Delete. * emulparams/armaoutl.sh: Likewise. * emulparams/arcelf.sh (NONPAGED_TEXT_START_ADDR): Delete. * emulparams/bfin.sh: Likewise * emulparams/crisaout.sh: Likewise * emulparams/elf32_sparc.sh: Likewise * emulparams/elf32am33lin.sh: Likewise * emulparams/elf32b4300.sh: Likewise * emulparams/elf32bmip.sh: Likewise * emulparams/elf32mcore.sh: Likewise * emulparams/elf32xtensa.sh: Likewise * emulparams/elf64_s390.sh: Likewise * emulparams/elf64_sparc.sh: Likewise * emulparams/elf64alpha.sh: Likewise * emulparams/elf_i386.sh: Likewise * emulparams/elf_i386_be.sh: Likewise * emulparams/elf_i386_chaos.sh: Likewise * emulparams/elf_i386_ldso.sh: Likewise * emulparams/elf_i386_vxworks.sh: Likewise * emulparams/elf_s390.sh: Likewise * emulparams/elf_x86_64.sh: Likewise * emulparams/i386aout.sh: Likewise * emulparams/i386moss.sh: Likewise * emulparams/i386msdos.sh: Likewise * emulparams/i386nto.sh: Likewise * emulparams/i386nw.sh: Likewise * emulparams/m68kaout.sh: Likewise * emulparams/m68kelf.sh: Likewise * emulparams/ppcnw.sh: Likewise * emulparams/sun4.sh: Likewise * emulparams/tic80coff.sh: Likewise * emulparams/vaxnbsd.sh: Likewise * emulparams/armnbsd.sh (NONPAGED_TEXT_START_ADDR): Delete. (TEXT_START_ADDR): Set for -n, -N. * emulparams/coff_sparc.sh: Likewise * emulparams/elf32vax.sh: Likewise * emulparams/i386bsd.sh: Likewise * emulparams/i386go32.sh: Likewise * emulparams/i386linux.sh: Likewise * emulparams/i386lynx.sh: Likewise * emulparams/i386mach.sh: Likewise * emulparams/m68k4knbsd.sh: Likewise * emulparams/m68klinux.sh: Likewise * emulparams/m68knbsd.sh: Likewise * emulparams/ns32knbsd.sh: Likewise * emulparams/pc532macha.sh: Likewise * emulparams/ppclynx.sh: Likewise * emulparams/scoreelf.sh: Likewise * emulparams/sparcaout.sh: Likewise * emulparams/sparclinux.sh: Likewise * emulparams/sun3.sh: Likewise * emulparams/vsta.sh: Likewise
This commit is contained in:
parent
bd6075bf49
commit
88bba78dc4
54 changed files with 119 additions and 69 deletions
60
ld/ChangeLog
60
ld/ChangeLog
|
@ -1,4 +1,62 @@
|
|||
2007-08-07 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
2007-08-09 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
PR 4515
|
||||
* genscripts.sh: Delete all references to NONPAGED_TEXT_START_ADDR.
|
||||
* ldint.texinfo: Likewise.
|
||||
* emulparams/armaoutb.sh (NONPAGED_TEXT_START_ADDRESS): Delete.
|
||||
* emulparams/armaoutl.sh: Likewise.
|
||||
* emulparams/arcelf.sh (NONPAGED_TEXT_START_ADDR): Delete.
|
||||
* emulparams/bfin.sh: Likewise
|
||||
* emulparams/crisaout.sh: Likewise
|
||||
* emulparams/elf32_sparc.sh: Likewise
|
||||
* emulparams/elf32am33lin.sh: Likewise
|
||||
* emulparams/elf32b4300.sh: Likewise
|
||||
* emulparams/elf32bmip.sh: Likewise
|
||||
* emulparams/elf32mcore.sh: Likewise
|
||||
* emulparams/elf32xtensa.sh: Likewise
|
||||
* emulparams/elf64_s390.sh: Likewise
|
||||
* emulparams/elf64_sparc.sh: Likewise
|
||||
* emulparams/elf64alpha.sh: Likewise
|
||||
* emulparams/elf_i386.sh: Likewise
|
||||
* emulparams/elf_i386_be.sh: Likewise
|
||||
* emulparams/elf_i386_chaos.sh: Likewise
|
||||
* emulparams/elf_i386_ldso.sh: Likewise
|
||||
* emulparams/elf_i386_vxworks.sh: Likewise
|
||||
* emulparams/elf_s390.sh: Likewise
|
||||
* emulparams/elf_x86_64.sh: Likewise
|
||||
* emulparams/i386aout.sh: Likewise
|
||||
* emulparams/i386moss.sh: Likewise
|
||||
* emulparams/i386msdos.sh: Likewise
|
||||
* emulparams/i386nto.sh: Likewise
|
||||
* emulparams/i386nw.sh: Likewise
|
||||
* emulparams/m68kaout.sh: Likewise
|
||||
* emulparams/m68kelf.sh: Likewise
|
||||
* emulparams/ppcnw.sh: Likewise
|
||||
* emulparams/sun4.sh: Likewise
|
||||
* emulparams/tic80coff.sh: Likewise
|
||||
* emulparams/vaxnbsd.sh: Likewise
|
||||
* emulparams/armnbsd.sh (NONPAGED_TEXT_START_ADDR): Delete.
|
||||
(TEXT_START_ADDR): Set for -n, -N.
|
||||
* emulparams/coff_sparc.sh: Likewise
|
||||
* emulparams/elf32vax.sh: Likewise
|
||||
* emulparams/i386bsd.sh: Likewise
|
||||
* emulparams/i386go32.sh: Likewise
|
||||
* emulparams/i386linux.sh: Likewise
|
||||
* emulparams/i386lynx.sh: Likewise
|
||||
* emulparams/i386mach.sh: Likewise
|
||||
* emulparams/m68k4knbsd.sh: Likewise
|
||||
* emulparams/m68klinux.sh: Likewise
|
||||
* emulparams/m68knbsd.sh: Likewise
|
||||
* emulparams/ns32knbsd.sh: Likewise
|
||||
* emulparams/pc532macha.sh: Likewise
|
||||
* emulparams/ppclynx.sh: Likewise
|
||||
* emulparams/scoreelf.sh: Likewise
|
||||
* emulparams/sparcaout.sh: Likewise
|
||||
* emulparams/sparclinux.sh: Likewise
|
||||
* emulparams/sun3.sh: Likewise
|
||||
* emulparams/vsta.sh: Likewise
|
||||
|
||||
2007-08-07 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.tgt: Add bfin-*rtems*.
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@ LITTLE_OUTPUT_FORMAT="elf32-littlearc"
|
|||
BIG_OUTPUT_FORMAT="elf32-bigarc"
|
||||
TEXT_START_ADDR=0x0
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
NONPAGED_TEXT_START_ADDR=0x0
|
||||
ARCH=arc
|
||||
MACHINE=
|
||||
ENTRY=start
|
||||
|
|
|
@ -2,6 +2,5 @@ SCRIPT_NAME=armaout
|
|||
OUTPUT_FORMAT="a.out-arm-big"
|
||||
HEADER_START_ADDR=0x8000
|
||||
TEXT_START_ADDR=0x8000
|
||||
NONPAGED_TEXT_START_ADDRESS=0x8000
|
||||
TARGET_PAGE_SIZE=32768
|
||||
ARCH=arm
|
||||
|
|
|
@ -2,6 +2,5 @@ SCRIPT_NAME=armaout
|
|||
OUTPUT_FORMAT="a.out-arm-little"
|
||||
HEADER_START_ADDR=0x8000
|
||||
TEXT_START_ADDR=0x8000
|
||||
NONPAGED_TEXT_START_ADDRESS=0x8000
|
||||
TARGET_PAGE_SIZE=32768
|
||||
ARCH=arm
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
SCRIPT_NAME=aout
|
||||
TEXT_START_ADDR=0x1020
|
||||
case ${LD_FLAG} in
|
||||
n|N) TEXT_START_ADDR=0x1000 ;;
|
||||
esac
|
||||
OUTPUT_FORMAT="a.out-arm-netbsd"
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
ARCH=arm
|
||||
EXECUTABLE_SYMBOLS='__DYNAMIC = 0;'
|
||||
NONPAGED_TEXT_START_ADDR=0x1000
|
||||
|
|
|
@ -3,7 +3,6 @@ OUTPUT_FORMAT="elf32-bfin"
|
|||
TEXT_START_ADDR=0x0
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
NONPAGED_TEXT_START_ADDR=${TEXT_START_ADDR}
|
||||
ARCH=bfin
|
||||
MACHINE=
|
||||
ENTRY=__start
|
||||
|
|
|
@ -3,5 +3,7 @@ OUTPUT_FORMAT="coff-sparc"
|
|||
# following are dubious (borrowed from sparc lynx)
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
TEXT_START_ADDR=0
|
||||
NONPAGED_TEXT_START_ADDR=0x1000
|
||||
case ${LD_FLAG} in
|
||||
n|N) TEXT_START_ADDR=0x1000 ;;
|
||||
esac
|
||||
ARCH=sparc
|
||||
|
|
|
@ -3,5 +3,4 @@ SCRIPT_NAME=crisaout
|
|||
OUTPUT_FORMAT="a.out-cris"
|
||||
TARGET_PAGE_SIZE=2
|
||||
TEXT_START_ADDR=0
|
||||
NONPAGED_TEXT_START_ADDR=0
|
||||
ARCH=cris
|
||||
|
|
|
@ -6,7 +6,6 @@ OUTPUT_FORMAT="elf32-sparc"
|
|||
TEXT_START_ADDR=0x10000
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
|
||||
NONPAGED_TEXT_START_ADDR=0x10000
|
||||
ALIGNMENT=8
|
||||
ARCH=sparc
|
||||
MACHINE=
|
||||
|
|
|
@ -2,7 +2,6 @@ SCRIPT_NAME=elf
|
|||
OUTPUT_FORMAT="elf32-am33lin"
|
||||
TEXT_START_ADDR=0x8000000
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
NONPAGED_TEXT_START_ADDR=0x8000000
|
||||
ARCH=mn10300
|
||||
MACHINE=
|
||||
NOP=0xcbcb
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
EMBEDDED=yes
|
||||
. ${srcdir}/emulparams/elf32bmip.sh
|
||||
TEXT_START_ADDR=0xa0020000
|
||||
unset NONPAGED_TEXT_START_ADDR
|
||||
unset SHLIB_TEXT_START_ADDR
|
||||
EXECUTABLE_SYMBOLS='_DYNAMIC_LINK = 0;'
|
||||
DYNAMIC_LINK=FALSE
|
||||
|
|
|
@ -10,7 +10,6 @@ TEXT_START_ADDR=0x0400000
|
|||
test -n "${EMBEDDED}" || DATA_ADDR=0x10000000
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
|
||||
NONPAGED_TEXT_START_ADDR=0x0400000
|
||||
SHLIB_TEXT_START_ADDR=0x5ffe0000
|
||||
TEXT_DYNAMIC=
|
||||
INITIAL_READONLY_SECTIONS=
|
||||
|
|
|
@ -6,7 +6,6 @@ PAGE_SIZE=0x1000
|
|||
TARGET_PAGE_SIZE=0x400
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
TEXT_START_ADDR=0
|
||||
NONPAGED_TEXT_START_ADDR=0
|
||||
ARCH=mcore
|
||||
EMBEDDED=yes
|
||||
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-vax"
|
||||
TEXT_START_ADDR=0x10000
|
||||
case ${LD_FLAG} in
|
||||
n|N) TEXT_START_ADDR=0x1000 ;;
|
||||
esac
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
NONPAGED_TEXT_START_ADDR=0x1000
|
||||
ARCH=vax
|
||||
MACHINE=
|
||||
NOP=0x0101
|
||||
|
|
|
@ -5,7 +5,6 @@ OUTPUT_FORMAT=undefined
|
|||
BIG_OUTPUT_FORMAT="elf32-xtensa-be"
|
||||
LITTLE_OUTPUT_FORMAT="elf32-xtensa-le"
|
||||
TEXT_START_ADDR=0x400000
|
||||
NONPAGED_TEXT_START_ADDR=0x400000
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
ARCH=xtensa
|
||||
MACHINE=
|
||||
|
|
|
@ -4,7 +4,6 @@ OUTPUT_FORMAT="elf64-s390"
|
|||
TEXT_START_ADDR=0x80000000
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
|
||||
NONPAGED_TEXT_START_ADDR=0x80000000
|
||||
ARCH="s390:64-bit"
|
||||
MACHINE=
|
||||
NOP=0x07070707
|
||||
|
|
|
@ -15,11 +15,9 @@ NO_SMALL_DATA=yes
|
|||
case "$target" in
|
||||
sparc*-solaris*)
|
||||
TEXT_START_ADDR=0x100000000
|
||||
NONPAGED_TEXT_START_ADDR=0x100000000
|
||||
;;
|
||||
*)
|
||||
TEXT_START_ADDR=0x100000
|
||||
NONPAGED_TEXT_START_ADDR=0x100000
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@ OUTPUT_FORMAT="elf64-alpha"
|
|||
TEXT_START_ADDR="0x120000000"
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
|
||||
NONPAGED_TEXT_START_ADDR="0x120000000"
|
||||
ARCH=alpha
|
||||
MACHINE=
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
||||
|
|
|
@ -3,7 +3,6 @@ OUTPUT_FORMAT="elf32-i386"
|
|||
TEXT_START_ADDR=0x08048000
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
|
||||
NONPAGED_TEXT_START_ADDR=0x08048000
|
||||
ARCH=i386
|
||||
MACHINE=
|
||||
NOP=0x90909090
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-i386"
|
||||
TEXT_START_ADDR=0x80000000
|
||||
#SHLIB_TEXT_START_ADDR=0x80000000
|
||||
NONPAGED_TEXT_START_ADDR=0x80000000
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
ARCH=i386
|
||||
MACHINE=
|
||||
|
|
|
@ -2,7 +2,6 @@ SCRIPT_NAME=elf_chaos
|
|||
OUTPUT_FORMAT="elf32-i386"
|
||||
TEXT_START_ADDR=0x40000000
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
NONPAGED_TEXT_START_ADDR=0x40000000
|
||||
ARCH=i386
|
||||
MACHINE=
|
||||
NOP=0x90909090
|
||||
|
|
|
@ -2,7 +2,6 @@ SCRIPT_NAME=elf
|
|||
OUTPUT_FORMAT="elf32-i386"
|
||||
TEXT_START_ADDR=0x08048000
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
NONPAGED_TEXT_START_ADDR=0x08048000
|
||||
ARCH=i386
|
||||
MACHINE=
|
||||
NOP=0x90909090
|
||||
|
|
|
@ -3,7 +3,6 @@ OUTPUT_FORMAT="elf32-i386-vxworks"
|
|||
TEXT_START_ADDR=0x08048000
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
|
||||
NONPAGED_TEXT_START_ADDR=0x08048000
|
||||
ARCH=i386
|
||||
MACHINE=
|
||||
NOP=0x90909090
|
||||
|
|
|
@ -3,7 +3,6 @@ OUTPUT_FORMAT="elf32-s390"
|
|||
TEXT_START_ADDR=0x00400000
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
|
||||
NONPAGED_TEXT_START_ADDR=0x00400000
|
||||
ARCH="s390:31-bit"
|
||||
MACHINE=
|
||||
NOP=0x07070707
|
||||
|
|
|
@ -4,7 +4,6 @@ OUTPUT_FORMAT="elf64-x86-64"
|
|||
TEXT_START_ADDR=0x400000
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
|
||||
NONPAGED_TEXT_START_ADDR=0x400000
|
||||
ARCH="i386:x86-64"
|
||||
MACHINE=
|
||||
NOP=0x90909090
|
||||
|
|
|
@ -2,5 +2,7 @@ SCRIPT_NAME=aout
|
|||
OUTPUT_FORMAT="a.out-i386"
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
TEXT_START_ADDR=0
|
||||
NONPAGED_TEXT_START_ADDR=0x1000
|
||||
case ${LD_FLAG} in
|
||||
n|N) TEXT_START_ADDR=0x1000 ;;
|
||||
esac
|
||||
ARCH=i386
|
||||
|
|
|
@ -2,5 +2,7 @@ SCRIPT_NAME=aout
|
|||
OUTPUT_FORMAT="a.out-i386-bsd"
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
TEXT_START_ADDR=0
|
||||
NONPAGED_TEXT_START_ADDR=0x1000
|
||||
case ${LD_FLAG} in
|
||||
n|N) TEXT_START_ADDR=0x1000 ;;
|
||||
esac
|
||||
ARCH=i386
|
||||
|
|
|
@ -2,7 +2,9 @@ SCRIPT_NAME=i386go32
|
|||
OUTPUT_FORMAT="coff-go32"
|
||||
TEXT_START_ADDR=0x10a8
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
case ${LD_FLAG} in
|
||||
n|N) TEXT_START_ADDR=0 ;;
|
||||
esac
|
||||
SEGMENT_SIZE=0x200
|
||||
NONPAGED_TEXT_START_ADDR=0x0
|
||||
ARCH=i386
|
||||
|
||||
|
|
|
@ -2,6 +2,8 @@ SCRIPT_NAME=aout
|
|||
OUTPUT_FORMAT="a.out-i386-linux"
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
TEXT_START_ADDR=0x1020
|
||||
NONPAGED_TEXT_START_ADDR=0
|
||||
case ${LD_FLAG} in
|
||||
n|N) TEXT_START_ADDR=0 ;;
|
||||
esac
|
||||
ARCH=i386
|
||||
TEMPLATE_NAME=linux
|
||||
|
|
|
@ -4,8 +4,10 @@ ENTRY=_main
|
|||
TEXT_BASE=0x0
|
||||
DYN_TEXT_BASE=0x00400000
|
||||
TEXT_START_ADDR="(DEFINED(_DYNAMIC) ? ${DYN_TEXT_BASE} : ${TEXT_BASE})"
|
||||
case ${LD_FLAG} in
|
||||
n|N) TEXT_START_ADDR=0x1000 ;;
|
||||
esac
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
NONPAGED_TEXT_START_ADDR=0x1000
|
||||
ARCH=i386
|
||||
MACHINE=
|
||||
NOP=0x9090
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
SCRIPT_NAME=aout
|
||||
OUTPUT_FORMAT="a.out-mach3"
|
||||
TEXT_START_ADDR=0x10020
|
||||
NONPAGED_TEXT_START_ADDR=0x10000
|
||||
case ${LD_FLAG} in
|
||||
n|N) TEXT_START_ADDR=0x10000 ;;
|
||||
esac
|
||||
SEGMENT_SIZE=0x1000
|
||||
PAD_TEXT=t
|
||||
ARCH=i386
|
||||
|
|
|
@ -2,7 +2,6 @@ SCRIPT_NAME=elf
|
|||
OUTPUT_FORMAT="elf32-i386"
|
||||
TEXT_START_ADDR=0x00002000
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
NONPAGED_TEXT_START_ADDR=0x00002000
|
||||
ARCH=i386
|
||||
MACHINE=
|
||||
NOP=0x90909090
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
SCRIPT_NAME=i386msdos
|
||||
OUTPUT_FORMAT="msdos"
|
||||
TEXT_START_ADDR=0x0
|
||||
NONPAGED_TEXT_START_ADDR=0x0
|
||||
SEGMENT_SIZE=0x10
|
||||
PAD_TEXT=t
|
||||
ARCH=i386
|
||||
|
|
|
@ -3,8 +3,6 @@ OUTPUT_FORMAT="elf32-i386"
|
|||
TEXT_START_ADDR=0x08048000
|
||||
TEXT_START_SYMBOLS='_btext = .;'
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
NONPAGED_TEXT_START_ADDR=0x08048000
|
||||
#SHLIB_TEXT_START_ADDR=0xb0300000
|
||||
ARCH=i386
|
||||
MACHINE=
|
||||
NOP=0x9090
|
||||
|
|
|
@ -2,7 +2,6 @@ SCRIPT_NAME=nw
|
|||
OUTPUT_FORMAT="elf32-i386"
|
||||
TEXT_START_ADDR=0x08000000
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
NONPAGED_TEXT_START_ADDR=0x08000000
|
||||
ARCH=i386
|
||||
NOP=0x90909090
|
||||
TEMPLATE_NAME=elf32
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
SCRIPT_NAME=aout
|
||||
TEXT_START_ADDR=0x1020
|
||||
NONPAGED_TEXT_START_ADDR=0x1000
|
||||
case ${LD_FLAG} in
|
||||
n|N) TEXT_START_ADDR=0x1000 ;;
|
||||
esac
|
||||
OUTPUT_FORMAT="a.out-m68k4k-netbsd"
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
ARCH=m68k
|
||||
|
|
|
@ -3,5 +3,4 @@ OUTPUT_FORMAT="a.out-zero-big"
|
|||
TEXT_START_ADDR=0x2020
|
||||
TARGET_PAGE_SIZE=0x2000
|
||||
SEGMENT_SIZE=0x20000
|
||||
NONPAGED_TEXT_START_ADDR=0x2000
|
||||
ARCH=m68k
|
||||
|
|
|
@ -2,7 +2,6 @@ SCRIPT_NAME=elf
|
|||
OUTPUT_FORMAT="elf32-m68k"
|
||||
TEXT_START_ADDR=0x80000000
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
NONPAGED_TEXT_START_ADDR=${TEXT_START_ADDR}
|
||||
ARCH=m68k
|
||||
MACHINE=
|
||||
NOP=0x4e754e75
|
||||
|
|
|
@ -2,6 +2,8 @@ SCRIPT_NAME=aout
|
|||
OUTPUT_FORMAT="a.out-m68k-linux"
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
TEXT_START_ADDR=0x1020
|
||||
NONPAGED_TEXT_START_ADDR=0
|
||||
case ${LD_FLAG} in
|
||||
n|N) TEXT_START_ADDR=0 ;;
|
||||
esac
|
||||
ARCH=m68k
|
||||
TEMPLATE_NAME=linux
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
SCRIPT_NAME=aout
|
||||
TEXT_START_ADDR=0x2020
|
||||
NONPAGED_TEXT_START_ADDR=0x2000
|
||||
case ${LD_FLAG} in
|
||||
n|N) TEXT_START_ADDR=0x2000 ;;
|
||||
esac
|
||||
OUTPUT_FORMAT="a.out-m68k-netbsd"
|
||||
TARGET_PAGE_SIZE=0x2000
|
||||
ARCH=m68k
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
SCRIPT_NAME=aout
|
||||
TEXT_START_ADDR=0x1020
|
||||
case ${LD_FLAG} in
|
||||
n|N) TEXT_START_ADDR=0x1000 ;;
|
||||
esac
|
||||
OUTPUT_FORMAT="a.out-ns32k-netbsd"
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
ARCH=ns32k
|
||||
EXECUTABLE_SYMBOLS='__DYNAMIC = 0;'
|
||||
NONPAGED_TEXT_START_ADDR=0x1000
|
||||
EXTRA_EM_FILE=netbsd
|
||||
|
|
|
@ -2,5 +2,7 @@ SCRIPT_NAME=aout
|
|||
OUTPUT_FORMAT="a.out-pc532-mach"
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
TEXT_START_ADDR="0x10020"
|
||||
NONPAGED_TEXT_START_ADDR=0x10000
|
||||
case ${LD_FLAG} in
|
||||
n|N) TEXT_START_ADDR=0x10000 ;;
|
||||
esac
|
||||
ARCH=ns32k
|
||||
|
|
|
@ -4,7 +4,9 @@ TEXT_BASE=0x00002000
|
|||
DYN_TEXT_BASE=0x00400000
|
||||
TEXT_START_ADDR="(DEFINED(_DYNAMIC) ? ${DYN_TEXT_BASE} : ${TEXT_BASE})"
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
NONPAGED_TEXT_START_ADDR=0x1000
|
||||
case ${LD_FLAG} in
|
||||
n|N) TEXT_START_ADDR=0x1000 ;;
|
||||
esac
|
||||
ARCH=powerpc
|
||||
MACHINE=
|
||||
TEMPLATE_NAME=elf32
|
||||
|
|
|
@ -3,5 +3,4 @@ OUTPUT_FORMAT="elf32-powerpc"
|
|||
TEXT_START_ADDR=0x0400000
|
||||
DATA_ADDR=0x10000000
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
NONPAGED_TEXT_START_ADDR=0x0400000
|
||||
ARCH=powerpc
|
||||
|
|
|
@ -7,8 +7,10 @@ LITTLE_OUTPUT_FORMAT="elf32-littlescore"
|
|||
GROUP="-lm -lc -lglsim -lgcc -lstdc++"
|
||||
|
||||
TEXT_START_ADDR=0x00000000
|
||||
case ${LD_FLAG} in
|
||||
n|N) TEXT_START_ADDR=0x0400000 ;;
|
||||
esac
|
||||
MAXPAGESIZE=256
|
||||
NONPAGED_TEXT_START_ADDR=0x0400000
|
||||
SHLIB_TEXT_START_ADDR=0x5ffe0000
|
||||
OTHER_GOT_SYMBOLS='
|
||||
_gp = ALIGN(16) + 0x3ff0;
|
||||
|
|
|
@ -3,6 +3,8 @@ OUTPUT_FORMAT="a.out-sunos-big"
|
|||
BIG_OUTPUT_FORMAT="a.out-sunos-big"
|
||||
LITTLE_OUTPUT_FORMAT="a.out-sparc-little"
|
||||
TEXT_START_ADDR=0x2020
|
||||
case ${LD_FLAG} in
|
||||
n|N) TEXT_START_ADDR=0x2000 ;;
|
||||
esac
|
||||
TARGET_PAGE_SIZE=0x2000
|
||||
NONPAGED_TEXT_START_ADDR=0x2000
|
||||
ARCH=sparc
|
||||
|
|
|
@ -2,6 +2,8 @@ SCRIPT_NAME=aout
|
|||
OUTPUT_FORMAT="a.out-sparc-linux"
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
TEXT_START_ADDR=0x1020
|
||||
NONPAGED_TEXT_START_ADDR=0
|
||||
case ${LD_FLAG} in
|
||||
n|N) TEXT_START_ADDR=0 ;;
|
||||
esac
|
||||
ARCH=sparc
|
||||
TEMPLATE_NAME=linux
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
SCRIPT_NAME=aout
|
||||
OUTPUT_FORMAT="a.out-sunos-big"
|
||||
TEXT_START_ADDR=0x2020
|
||||
case ${LD_FLAG} in
|
||||
n|N) TEXT_START_ADDR=0x2000 ;;
|
||||
esac
|
||||
TARGET_PAGE_SIZE=0x2000
|
||||
SEGMENT_SIZE=0x20000
|
||||
NONPAGED_TEXT_START_ADDR=0x2000
|
||||
ARCH=m68k
|
||||
TEMPLATE_NAME=sunos
|
||||
|
|
|
@ -2,7 +2,6 @@ SCRIPT_NAME=aout
|
|||
OUTPUT_FORMAT="a.out-sunos-big"
|
||||
TEXT_START_ADDR=0x2020
|
||||
TARGET_PAGE_SIZE=0x2000
|
||||
NONPAGED_TEXT_START_ADDR=0x2000
|
||||
ALIGNMENT=8
|
||||
ARCH=sparc
|
||||
TEMPLATE_NAME=sunos
|
||||
|
|
|
@ -39,12 +39,6 @@ ARCH=tic80
|
|||
#
|
||||
TEXT_START_ADDR=0x2000000
|
||||
|
||||
# If this is defined, the genscripts.sh script sets TEXT_START_ADDR to
|
||||
# its value before running the scripttempl script for the -n and -N
|
||||
# options.
|
||||
#
|
||||
# NONPAGED_TEXT_START_ADDR=
|
||||
|
||||
# The genscripts.sh script uses this to set the default value of
|
||||
# DATA_ALIGNMENT when running the scripttempl script.
|
||||
#
|
||||
|
|
|
@ -4,4 +4,3 @@ OUTPUT_FORMAT="a.out-vax-netbsd"
|
|||
TARGET_PAGE_SIZE=0x1000
|
||||
ARCH=vax
|
||||
EXECUTABLE_SYMBOLS='__DYNAMIC = 0;'
|
||||
NONPAGED_TEXT_START_ADDR=0x1000
|
||||
|
|
|
@ -3,6 +3,8 @@ OUTPUT_FORMAT="a.out-i386"
|
|||
TEXT_START_ADDR=0x1020
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
SEGMENT_SIZE=0x400000
|
||||
NONPAGED_TEXT_START_ADDR=0x0
|
||||
case ${LD_FLAG} in
|
||||
n|N) TEXT_START_ADDR=0 ;;
|
||||
esac
|
||||
ARCH=i386
|
||||
|
||||
|
|
|
@ -289,7 +289,6 @@ RELOCATING=" "
|
|||
|
||||
LD_FLAG=n
|
||||
DATA_ALIGNMENT=${DATA_ALIGNMENT_n}
|
||||
TEXT_START_ADDR=${NONPAGED_TEXT_START_ADDR-${TEXT_START_ADDR}}
|
||||
( echo "/* Script for -n: mix text and data on same page */"
|
||||
. ${CUSTOMIZER_SCRIPT} ${EMULATION_NAME}
|
||||
. ${srcdir}/scripttempl/${SCRIPT_NAME}.sc
|
||||
|
@ -327,7 +326,6 @@ if test -n "$GENERATE_SHLIB_SCRIPT"; then
|
|||
LD_FLAG=shared
|
||||
DATA_ALIGNMENT=${DATA_ALIGNMENT_s-${DATA_ALIGNMENT_}}
|
||||
CREATE_SHLIB=" "
|
||||
# Note that TEXT_START_ADDR is set to NONPAGED_TEXT_START_ADDR.
|
||||
(
|
||||
echo "/* Script for ld --shared: link shared library */"
|
||||
. ${CUSTOMIZER_SCRIPT} ${EMULATION_NAME}
|
||||
|
@ -360,7 +358,6 @@ if test -n "$GENERATE_PIE_SCRIPT"; then
|
|||
LD_FLAG=pie
|
||||
DATA_ALIGNMENT=${DATA_ALIGNMENT_s-${DATA_ALIGNMENT_}}
|
||||
CREATE_PIE=" "
|
||||
# Note that TEXT_START_ADDR is set to NONPAGED_TEXT_START_ADDR.
|
||||
(
|
||||
echo "/* Script for ld -pie: link position independent executable */"
|
||||
. ${CUSTOMIZER_SCRIPT} ${EMULATION_NAME}
|
||||
|
|
|
@ -214,12 +214,6 @@ Some @file{scripttempl} scripts use this to set the entry address, in an
|
|||
Some @file{scripttempl} scripts use this to set the start address of the
|
||||
@samp{.text} section.
|
||||
|
||||
@item NONPAGED_TEXT_START_ADDR
|
||||
If this is defined, the @file{genscripts.sh} script sets
|
||||
@code{TEXT_START_ADDR} to its value before running the
|
||||
@file{scripttempl} script for the @code{-n} and @code{-N} options
|
||||
(@pxref{linker scripts}).
|
||||
|
||||
@item SEGMENT_SIZE
|
||||
The @file{genscripts.sh} script uses this to set the default value of
|
||||
@code{DATA_ALIGNMENT} when running the @file{scripttempl} script.
|
||||
|
|
Loading…
Reference in a new issue