From 97b11f4094739634d104156f5c586ba7916ef0fa Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sun, 13 Sep 2009 07:19:18 +0000 Subject: 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. --- ld/emultempl/ia64elf.em | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ld/emultempl/ia64elf.em') diff --git a/ld/emultempl/ia64elf.em b/ld/emultempl/ia64elf.em index b29e16c..88d5748 100644 --- a/ld/emultempl/ia64elf.em +++ b/ld/emultempl/ia64elf.em @@ -1,5 +1,5 @@ # This shell script emits a C file. -*- C -*- -# Copyright 2003, 2005, 2006, 2007 Free Software Foundation, Inc. +# Copyright 2003, 2005, 2006, 2007, 2009 Free Software Foundation, Inc. # # This file is part of the GNU Binutils. # @@ -35,6 +35,8 @@ gld${EMULATION_NAME}_after_parse (void) { link_info.relax_pass = 2; bfd_elf${ELFSIZE}_ia64_after_parse (itanium); + + after_parse_default (); } EOF -- cgit v1.1