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