aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-03-07 14:40:33 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-03-07 14:40:33 +0000
commit15344ad7481480019fb6d06ff384407c008b8b04 (patch)
treef2b4463dc71a54a7e953be7db553090c8976d164
parentb8025f3436c15aa2235939016c48e02948eff74b (diff)
downloadgdb-15344ad7481480019fb6d06ff384407c008b8b04.zip
gdb-15344ad7481480019fb6d06ff384407c008b8b04.tar.gz
gdb-15344ad7481480019fb6d06ff384407c008b8b04.tar.bz2
2007-03-07 Kai Tietz <kai.tietz@onevision.com>
* reloc.c (bfd_generic_get_relocated_section_contents): Remove const for type reloc_howto_type.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/reloc.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index b2b9d55..920e91c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-07 Kai Tietz <kai.tietz@onevision.com>
+
+ * reloc.c (bfd_generic_get_relocated_section_contents): Remove
+ const for type reloc_howto_type.
+
2007-03-07 Alan Modra <amodra@bigpond.net.au>
PR 3958
diff --git a/bfd/reloc.c b/bfd/reloc.c
index 3595f00..a31ebe0 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -5155,7 +5155,7 @@ bfd_generic_get_relocated_section_contents (bfd *abfd,
if (symbol->section && elf_discarded_section (symbol->section))
{
bfd_byte *p;
- static const reloc_howto_type none_howto
+ static reloc_howto_type none_howto
= HOWTO (0, 0, 0, 0, FALSE, 0, complain_overflow_dont, NULL,
"unused", FALSE, 0, 0, FALSE);