summaryrefslogtreecommitdiff
path: root/ld/scripttempl/aix.sc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-09-09 11:59:14 +0000
committerAlan Modra <amodra@gmail.com>2009-09-09 11:59:14 +0000
commit596d6d9145d7b285b1bd1afde953bb49d3cdbeff (patch)
treea2ee31b36c7eb98a756e3fa1117cb779180557d3 /ld/scripttempl/aix.sc
parent9384f2ffd0864b49f201c3fd887492acba3c0c55 (diff)
downloadbinutils-gdb-596d6d9145d7b285b1bd1afde953bb49d3cdbeff.tar.gz
Only provide ENTRY on final link.
Diffstat (limited to 'ld/scripttempl/aix.sc')
-rw-r--r--ld/scripttempl/aix.sc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/scripttempl/aix.sc b/ld/scripttempl/aix.sc
index cdd3eac8139..d592dbe59f1 100644
--- a/ld/scripttempl/aix.sc
+++ b/ld/scripttempl/aix.sc
@@ -6,7 +6,7 @@
cat <<EOF
OUTPUT_ARCH(${ARCH})
${RELOCATING+${LIB_SEARCH_DIRS}}
-ENTRY(__start)
+${RELOCATING+ENTRY (__start)}
SECTIONS
{
.pad 0 : { *(.pad) }