PR 2342
authorAlan Modra <amodra@gmail.com>
Wed, 10 May 2006 04:55:43 +0000 (04:55 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 10 May 2006 04:55:43 +0000 (04:55 +0000)
* elflink.c (_bfd_elf_default_action_discarded): Revert 2006-02-16.

bfd/ChangeLog
bfd/elflink.c

index 3c8c5054a3bd79767ada1cb99c5bd4019d8aaf94..e757fc5583eff89170d9b20cf43758e23723105a 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-10  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 2342
+       * elflink.c (_bfd_elf_default_action_discarded): Revert 2006-02-16.
+
 2006-05-09  Nick Clifton  <nickc@redhat.com>
 
        * coffcode.h (coff_write_relocs): Produce an error message if a an
index 984e8282b8f6be3fd58fd705b6f56cc4aea33a1f..7df3f6e31321450f1dcae5fae0b38b4cecfef013 100644 (file)
@@ -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;