aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2006-05-10 04:55:43 +0000
committerAlan Modra <amodra@gmail.com>2006-05-10 04:55:43 +0000
commit69d54b1bfa6f8eae5e940db2c77530517df1bcbe (patch)
treeb274989e3e17602b9c6793a16d0fa55ef1608e65 /bfd/elflink.c
parent835122fc955d539df7e411bdc5949f864486d4f2 (diff)
downloadgdb-69d54b1bfa6f8eae5e940db2c77530517df1bcbe.zip
gdb-69d54b1bfa6f8eae5e940db2c77530517df1bcbe.tar.gz
gdb-69d54b1bfa6f8eae5e940db2c77530517df1bcbe.tar.bz2
PR 2342
* elflink.c (_bfd_elf_default_action_discarded): Revert 2006-02-16.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r--bfd/elflink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 984e828..7df3f6e 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;