From: Alan Modra Date: Wed, 10 May 2006 04:55:43 +0000 (+0000) Subject: PR 2342 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=69d54b1bfa6f8eae5e940db2c77530517df1bcbe;p=binutils-gdb.git PR 2342 * elflink.c (_bfd_elf_default_action_discarded): Revert 2006-02-16. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3c8c5054a3b..e757fc5583e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2006-05-10 Alan Modra + + PR 2342 + * elflink.c (_bfd_elf_default_action_discarded): Revert 2006-02-16. + 2006-05-09 Nick Clifton * coffcode.h (coff_write_relocs): Produce an error message if a an diff --git a/bfd/elflink.c b/bfd/elflink.c index 984e8282b8f..7df3f6e3132 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -6758,7 +6758,7 @@ unsigned int _bfd_elf_default_action_discarded (asection *sec) { if (sec->flags & SEC_DEBUGGING) - return 0; + return PRETEND; if (strcmp (".eh_frame", sec->name) == 0) return 0;