aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-08-16 01:17:58 +0000
committerAlan Modra <amodra@gmail.com>2004-08-16 01:17:58 +0000
commit327c1315a05e5c18264cad1732720a418cd9dc58 (patch)
tree5d78f8f3c201d347eadd47fdcde7fb821273f953
parent45fc9e4ac624b166dd7d4b99f87e2849e8447326 (diff)
downloadgdb-327c1315a05e5c18264cad1732720a418cd9dc58.zip
gdb-327c1315a05e5c18264cad1732720a418cd9dc58.tar.gz
gdb-327c1315a05e5c18264cad1732720a418cd9dc58.tar.bz2
* 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 6d38dbb..4bfcd1e 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 346e828..00fa468 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;
}