* 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>
+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*.
BIG_OUTPUT_FORMAT="elf32-bigarc"
TEXT_START_ADDR=0x0
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
-NONPAGED_TEXT_START_ADDR=0x0
ARCH=arc
MACHINE=
ENTRY=start
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
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
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
TEXT_START_ADDR=0x0
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
TARGET_PAGE_SIZE=0x1000
-NONPAGED_TEXT_START_ADDR=${TEXT_START_ADDR}
ARCH=bfin
MACHINE=
ENTRY=__start
# 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
OUTPUT_FORMAT="a.out-cris"
TARGET_PAGE_SIZE=2
TEXT_START_ADDR=0
-NONPAGED_TEXT_START_ADDR=0
ARCH=cris
TEXT_START_ADDR=0x10000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
-NONPAGED_TEXT_START_ADDR=0x10000
ALIGNMENT=8
ARCH=sparc
MACHINE=
OUTPUT_FORMAT="elf32-am33lin"
TEXT_START_ADDR=0x8000000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
-NONPAGED_TEXT_START_ADDR=0x8000000
ARCH=mn10300
MACHINE=
NOP=0xcbcb
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
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=
TARGET_PAGE_SIZE=0x400
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
TEXT_START_ADDR=0
-NONPAGED_TEXT_START_ADDR=0
ARCH=mcore
EMBEDDED=yes
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
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=
TEXT_START_ADDR=0x80000000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
-NONPAGED_TEXT_START_ADDR=0x80000000
ARCH="s390:64-bit"
MACHINE=
NOP=0x07070707
case "$target" in
sparc*-solaris*)
TEXT_START_ADDR=0x100000000
- NONPAGED_TEXT_START_ADDR=0x100000000
;;
*)
TEXT_START_ADDR=0x100000
- NONPAGED_TEXT_START_ADDR=0x100000
;;
esac
TEXT_START_ADDR="0x120000000"
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
-NONPAGED_TEXT_START_ADDR="0x120000000"
ARCH=alpha
MACHINE=
GENERATE_SHLIB_SCRIPT=yes
TEXT_START_ADDR=0x08048000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
-NONPAGED_TEXT_START_ADDR=0x08048000
ARCH=i386
MACHINE=
NOP=0x90909090
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=
OUTPUT_FORMAT="elf32-i386"
TEXT_START_ADDR=0x40000000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
-NONPAGED_TEXT_START_ADDR=0x40000000
ARCH=i386
MACHINE=
NOP=0x90909090
OUTPUT_FORMAT="elf32-i386"
TEXT_START_ADDR=0x08048000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
-NONPAGED_TEXT_START_ADDR=0x08048000
ARCH=i386
MACHINE=
NOP=0x90909090
TEXT_START_ADDR=0x08048000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
-NONPAGED_TEXT_START_ADDR=0x08048000
ARCH=i386
MACHINE=
NOP=0x90909090
TEXT_START_ADDR=0x00400000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
-NONPAGED_TEXT_START_ADDR=0x00400000
ARCH="s390:31-bit"
MACHINE=
NOP=0x07070707
TEXT_START_ADDR=0x400000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
-NONPAGED_TEXT_START_ADDR=0x400000
ARCH="i386:x86-64"
MACHINE=
NOP=0x90909090
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
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
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
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
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
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
OUTPUT_FORMAT="elf32-i386"
TEXT_START_ADDR=0x00002000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
-NONPAGED_TEXT_START_ADDR=0x00002000
ARCH=i386
MACHINE=
NOP=0x90909090
SCRIPT_NAME=i386msdos
OUTPUT_FORMAT="msdos"
TEXT_START_ADDR=0x0
-NONPAGED_TEXT_START_ADDR=0x0
SEGMENT_SIZE=0x10
PAD_TEXT=t
ARCH=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
OUTPUT_FORMAT="elf32-i386"
TEXT_START_ADDR=0x08000000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
-NONPAGED_TEXT_START_ADDR=0x08000000
ARCH=i386
NOP=0x90909090
TEMPLATE_NAME=elf32
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
TEXT_START_ADDR=0x2020
TARGET_PAGE_SIZE=0x2000
SEGMENT_SIZE=0x20000
-NONPAGED_TEXT_START_ADDR=0x2000
ARCH=m68k
OUTPUT_FORMAT="elf32-m68k"
TEXT_START_ADDR=0x80000000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
-NONPAGED_TEXT_START_ADDR=${TEXT_START_ADDR}
ARCH=m68k
MACHINE=
NOP=0x4e754e75
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
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
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
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
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
TEXT_START_ADDR=0x0400000
DATA_ADDR=0x10000000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
-NONPAGED_TEXT_START_ADDR=0x0400000
ARCH=powerpc
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;
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
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
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
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
#
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.
#
TARGET_PAGE_SIZE=0x1000
ARCH=vax
EXECUTABLE_SYMBOLS='__DYNAMIC = 0;'
-NONPAGED_TEXT_START_ADDR=0x1000
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
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
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}
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}
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.