summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2006-05-10 04:55:43 +0000
committerAlan Modra <amodra@bigpond.net.au>2006-05-10 04:55:43 +0000
commit62d838ad1876beca5499634d81eb10fba7d861ff (patch)
tree4e68741020a6b04e3b9f6822401a8c84f43ba6bd /bfd
parentd5d7ad56c24e9a0ce371af319ef1d10190f305cd (diff)
downloadgdb-62d838ad1876beca5499634d81eb10fba7d861ff.tar.gz
PR 2342
* elflink.c (_bfd_elf_default_action_discarded): Revert 2006-02-16.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elflink.c2
2 files changed, 6 insertions, 1 deletions
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 <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
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;