diff options
author | Alan Modra <amodra@bigpond.net.au> | 2009-09-13 07:19:18 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2009-09-13 07:19:18 +0000 |
commit | d6e79dde0a5f39fb1eb7505698dcc229341f618f (patch) | |
tree | 45de6ef54206e7f0458aebfd51e9eb7f155e043d /ld/scripttempl/elf32cr16.sc | |
parent | 5baaae55aa9003c0d2be62d9165ec4629c1cf7c8 (diff) | |
download | binutils-redhat-d6e79dde0a5f39fb1eb7505698dcc229341f618f.tar.gz |
PR ld/6766
* lexsup.c (parse_args <-e>): Revert 2009-03-18 change.
* ldemul.c (after_parse_default): Add entry symbol as undef.
* emultempl/alphaelf.em (alpha_after_parse): Call after_parse_default.
* emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
* emultempl/crxelf.em (crxelf_after_parse): Likewise.
* emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Likewise.
* emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Call
after_parse_default and delete now duplicate code.
* emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
* scripttempl/elf32cr16.sc: No need to make entry extern.
* scripttempl/elf32cr16c.sc: Likewise.
* scripttempl/elf32crx.sc: Likewise.
* scripttempl/elf32xc16xs.sc: Only provide ENTRY on final link.
Diffstat (limited to 'ld/scripttempl/elf32cr16.sc')
-rw-r--r-- | ld/scripttempl/elf32cr16.sc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ld/scripttempl/elf32cr16.sc b/ld/scripttempl/elf32cr16.sc index 7c357c145d..61351c579b 100644 --- a/ld/scripttempl/elf32cr16.sc +++ b/ld/scripttempl/elf32cr16.sc @@ -10,14 +10,8 @@ cat <<EOF /* Example Linker Script for linking NS CR16 elf32 files. */ -/* The next line forces the entry point (${ENTRY} in this script) - to be entered in the output file as an undefined symbol. - It is needed in case the entry point is not called explicitly - (which is the usual case) AND is in an archive. */ - OUTPUT_FORMAT("${OUTPUT_FORMAT}") OUTPUT_ARCH(${ARCH}) -${RELOCATING+EXTERN(${ENTRY})} ${RELOCATING+ENTRY(${ENTRY})} /* Define memory regions. */ |