+2009-09-09 Alan Modra <amodra@bigpond.net.au>
+
+ * scripttempl/aix.sc: Only provide ENTRY on final link.
+ * scripttempl/alpha.sc: Likewise.
+ * scripttempl/armcoff.sc: Likewise.
+ * scripttempl/crisaout.sc: Likewise.
+ * scripttempl/delta68.sc: Likewise.
+ * scripttempl/ebmon29k.sc: Likewise.
+ * scripttempl/elf32xc16x.sc: Likewise.
+ * scripttempl/elf32xc16xl.sc: Likewise.
+ * scripttempl/elfmicroblaze.sc: Likewise.
+ * scripttempl/epocpe.sc: Likewise.
+ * scripttempl/h8300.sc: Likewise.
+ * scripttempl/h8300h.sc: Likewise.
+ * scripttempl/h8300hn.sc: Likewise.
+ * scripttempl/h8300s.sc: Likewise.
+ * scripttempl/h8300sn.sc: Likewise.
+ * scripttempl/h8300sx.sc: Likewise.
+ * scripttempl/h8300sxn.sc: Likewise.
+ * scripttempl/hppaelf.sc: Likewise.
+ * scripttempl/i386beos.sc: Likewise.
+ * scripttempl/i386coff.sc: Likewise.
+ * scripttempl/i386go32.sc: Likewise.
+ * scripttempl/m68kaux.sc: Likewise.
+ * scripttempl/m68klynx.sc: Likewise.
+ * scripttempl/m88kbcs.sc: Likewise.
+ * scripttempl/maxqcoff.sc: Likewise.
+ * scripttempl/mcorepe.sc: Likewise.
+ * scripttempl/mips.sc: Likewise.
+ * scripttempl/ppcpe.sc: Likewise.
+ * scripttempl/sa29200.sc: Likewise.
+ * scripttempl/sparccoff.sc: Likewise.
+ * scripttempl/sparclynx.sc: Likewise.
+ * scripttempl/tic4xcoff.sc: Likewise.
+ * scripttempl/tic54xcoff.sc: Likewise.
+ * scripttempl/tic80coff.sc: Likewise.
+ * scripttempl/z8000.sc: Likewise.
+
2009-09-07 Tristan Gingold <gingold@adacore.com>
* po/ld.pot: Regenerate.
cat <<EOF
OUTPUT_ARCH(${ARCH})
${RELOCATING+${LIB_SEARCH_DIRS}}
-ENTRY(__start)
+${RELOCATING+ENTRY (__start)}
SECTIONS
{
.pad 0 : { *(.pad) }
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
${LIB_SEARCH_DIRS}
-ENTRY(${ENTRY})
+${RELOCATING+ENTRY (${ENTRY})}
SECTIONS
{
OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}", "${LITTLE_OUTPUT_FORMAT}")
${LIB_SEARCH_DIRS}
-ENTRY(${ENTRY})
+${RELOCATING+ENTRY (${ENTRY})}
SECTIONS
{
cat <<EOF
OUTPUT_FORMAT("a.out-cris")
OUTPUT_ARCH(cris)
-ENTRY(__start)
+${RELOCATING+ENTRY (__start)}
SECTIONS
{
.text ${RELOCATING+ ${TEXT_START_ADDR}}:
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(${ARCH})
-ENTRY(_start)
+${RELOCATING+ENTRY (_start)}
${RELOCATING+${LIB_SEARCH_DIRS}}
SECTIONS
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
-ENTRY(start)
+${RELOCATING+ENTRY (start)}
SECTIONS {
.text ${RELOCATING+${TEXT_START_ADDR}} :
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(${ARCH})
-ENTRY("_start")
+${RELOCATING+ENTRY ("_start")}
MEMORY
{
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(${ARCH})
-ENTRY("_start")
+${RELOCATING+ENTRY ("_start")}
MEMORY
{
vectarea : o =0xc00000, l = 0x0300
/*${LIB_SEARCH_DIRS}*/
${RELOCATING+${LIB_SEARCH_DIRS}}
-ENTRY(${ENTRY})
+${RELOCATING+ENTRY (${ENTRY})}
_TEXT_START_ADDR = DEFINED(_TEXT_START_ADDR) ? _TEXT_START_ADDR : 0x50;
_HEAP_SIZE = DEFINED(_HEAP_SIZE) ? _HEAP_SIZE : 0x0;
${LIB_SEARCH_DIRS}
-ENTRY(_mainCRTStartup)
+${RELOCATING+ENTRY (_mainCRTStartup)}
SECTIONS
{
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(${ARCH})
-ENTRY("_start")
+${RELOCATING+ENTRY ("_start")}
MEMORY
{
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(h8300h)
-ENTRY("_start")
+${RELOCATING+ENTRY ("_start")}
/* The memory size is 256KB to coincide with the simulator.
Don't change either without considering the other. */
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(h8300hn)
-ENTRY("_start")
+${RELOCATING+ENTRY ("_start")}
MEMORY
{
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(h8300s)
-ENTRY("_start")
+${RELOCATING+ENTRY ("_start")}
/* The memory size is 256KB to coincide with the simulator.
Don't change either without considering the other. */
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(h8300sn)
-ENTRY("_start")
+${RELOCATING+ENTRY ("_start")}
MEMORY
{
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(h8300sx)
-ENTRY("_start")
+${RELOCATING+ENTRY ("_start")}
/* The memory size is 256KB to coincide with the simulator.
Don't change either without considering the other. */
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(h8300sxn)
-ENTRY("_start")
+${RELOCATING+ENTRY ("_start")}
MEMORY
{
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(${ARCH})
-ENTRY("\$START\$")
+${RELOCATING+ENTRY("\$START\$")}
${RELOCATING+${LIB_SEARCH_DIRS}}
SECTIONS
{
${LIB_SEARCH_DIRS}
-ENTRY(__start)
+${RELOCATING+ENTRY (__start)}
${RELOCATING+header = .;}
${RELOCATING+__fltused = .; /* set up floating pt for MS .obj\'s */}
${RELOCATING+__ldused = .;}
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
${LIB_SEARCH_DIRS}
-ENTRY(${ENTRY})
+${RELOCATING+ENTRY (${ENTRY})}
SECTIONS
{
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}${EXE}")
-ENTRY(${ENTRY})
+${RELOCATING+ENTRY (${ENTRY})}
SECTIONS
{
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
${LIB_SEARCH_DIRS}
-ENTRY(${ENTRY})
+${RELOCATING+ENTRY (${ENTRY})}
SECTIONS
{
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
${LIB_SEARCH_DIRS}
-ENTRY(${ENTRY})
+${RELOCATING+ENTRY (${ENTRY})}
SECTIONS
{
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(${ARCH})
-ENTRY(__start)
+${RELOCATING+ENTRY (__start)}
${RELOCATING+${LIB_SEARCH_DIRS}}
SECTIONS
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
${LIB_SEARCH_DIRS}
-ENTRY(${ENTRY})
+${RELOCATING+ENTRY (${ENTRY})}
MEMORY
{
rom (rx) : ORIGIN = 0, LENGTH = 0x7FFE
cat <<EOF
${LIB_SEARCH_DIRS}
-ENTRY(_mainCRTStartup)
+${RELOCATING+ENTRY (_mainCRTStartup)}
SECTIONS
{
"${LITTLE_OUTPUT_FORMAT}")
${LIB_SEARCH_DIRS}
-ENTRY(${ENTRY})
+${RELOCATING+ENTRY (${ENTRY})}
SECTIONS
{
"-u mainCRTStartup" to make sure it gets included in the link.
*/
-ENTRY(mainCRTStartup)
+${RELOCATING+ENTRY (mainCRTStartup)}
SECTIONS
{
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
-ENTRY(start)
+${RELOCATING+ENTRY (start)}
SECTIONS {
.text ${RELOCATING+${TEXT_START_ADDR}} :
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
${LIB_SEARCH_DIRS}
-ENTRY(${ENTRY})
+${RELOCATING+ENTRY (${ENTRY})}
SECTIONS
{
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
${LIB_SEARCH_DIRS}
-ENTRY(${ENTRY})
+${RELOCATING+ENTRY (${ENTRY})}
SECTIONS
{
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH("${OUTPUT_ARCH}")
${LIB_SEARCH_DIRS}
-ENTRY(${ENTRY})
+${RELOCATING+ENTRY (${ENTRY})}
${RELOCATING+ __HEAP_SIZE = DEFINED(__HEAP_SIZE) ? __HEAP_SIZE : ${HEAP_SIZE_DEFAULT};}
${RELOCATING+ __STACK_SIZE = DEFINED(__STACK_SIZE) ? __STACK_SIZE : ${STACK_SIZE_DEFAULT};}
/*PAGE 1 : */ data (W) : ORIGIN = 0x01000080, LENGTH = 0xFF80
}
-ENTRY(${ENTRY})
+${RELOCATING+ENTRY (${ENTRY})}
SECTIONS
{
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
${LIB_SEARCH_DIRS}
-ENTRY(${ENTRY})
+${RELOCATING+ENTRY (${ENTRY})}
SECTIONS
{
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH("${OUTPUT_ARCH}")
-ENTRY(_start)
+${RELOCATING+ENTRY (_start)}
SECTIONS
{