summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2004-08-16 01:17:58 +0000
committerAlan Modra <amodra@bigpond.net.au>2004-08-16 01:17:58 +0000
commit4ec78e116758670d68b94ea1e73002b94d95ce78 (patch)
tree46a4c1b6d444819af009f6edb1d74ebac188d614
parent8697080b2d2d0fc9c0da013a03e824ea44855ff3 (diff)
downloadbinutils-redhat-4ec78e116758670d68b94ea1e73002b94d95ce78.tar.gz
* elflink.c (elf_section_complain_discarded): Ignore .fixup.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elflink.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 6d38dbb66f..4bfcd1e7c5 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,9 @@
2004-08-16 Alan Modra <amodra@bigpond.net.au>
+ * elflink.c (elf_section_complain_discarded): Ignore .fixup.
+
+2004-08-16 Alan Modra <amodra@bigpond.net.au>
+
* bfd.c (_bfd_default_error_handler): Account for doubled '%' in
free space available.
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 346e828e04..00fa46887e 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -6337,6 +6337,9 @@ elf_section_complain_discarded (asection *sec)
if (strcmp (".PARISC.unwind", sec->name) == 0)
return FALSE;
+ if (strcmp (".fixup", sec->name) == 0)
+ return FALSE;
+
return TRUE;
}