diff options
author | Alan Modra <amodra@gmail.com> | 2009-09-13 07:19:18 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2009-09-13 07:19:18 +0000 |
commit | 97b11f4094739634d104156f5c586ba7916ef0fa (patch) | |
tree | 4736e643a4af78cef04523666cdf386dc474323a /ld/lexsup.c | |
parent | b43b923a25d813161bf3596b31a7f00ef9608537 (diff) | |
download | gdb-97b11f4094739634d104156f5c586ba7916ef0fa.zip gdb-97b11f4094739634d104156f5c586ba7916ef0fa.tar.gz gdb-97b11f4094739634d104156f5c586ba7916ef0fa.tar.bz2 |
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/lexsup.c')
-rw-r--r-- | ld/lexsup.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ld/lexsup.c b/ld/lexsup.c index d3d6e56..47c72db 100644 --- a/ld/lexsup.c +++ b/ld/lexsup.c @@ -832,7 +832,6 @@ parse_args (unsigned argc, char **argv) break; case 'e': lang_add_entry (optarg, TRUE); - ldlang_add_undef (optarg); break; case 'f': if (command_line.auxiliary_filters == NULL) |