diff options
Diffstat (limited to 'ld/scripttempl/elf32cr16c.sc')
-rw-r--r-- | ld/scripttempl/elf32cr16c.sc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/scripttempl/elf32cr16c.sc b/ld/scripttempl/elf32cr16c.sc index 84fc61c..392274a 100644 --- a/ld/scripttempl/elf32cr16c.sc +++ b/ld/scripttempl/elf32cr16c.sc @@ -1,4 +1,5 @@ # Linker Script for National Semiconductor's CR16C-ELF32. +test -z "$RELOCATING" && exit 0 test -z "$ENTRY" && ENTRY=_start cat <<EOF @@ -7,7 +8,7 @@ cat <<EOF elf32 files, which were compiled with either the near data model or the default data model. */ -${RELOCATING+ENTRY(${ENTRY})} +ENTRY(${ENTRY}) MEMORY { |