gdb/
[binutils-gdb.git] / ld / scripttempl / elf32cr16.sc
index 683420ff861d702124739ab3fc78b40a7fea273f..61351c579bdfa6e2ddf54a641afdf4782dc05970 100644 (file)
@@ -1,5 +1,4 @@
 # Linker Script for National Semiconductor's CR16-ELF32.
-test -z "$RELOCATING" && exit 0
 
 # The next line should be uncommented if it is desired to link
 # without libstart.o and directly enter main.
@@ -13,7 +12,7 @@ cat <<EOF
 
 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
 OUTPUT_ARCH(${ARCH})
-ENTRY(${ENTRY})
+${RELOCATING+ENTRY(${ENTRY})}
 
 /* Define memory regions.  */
 MEMORY