diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2007-03-07 14:40:33 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2007-03-07 14:40:33 +0000 |
commit | 15344ad7481480019fb6d06ff384407c008b8b04 (patch) | |
tree | f2b4463dc71a54a7e953be7db553090c8976d164 /bfd | |
parent | b8025f3436c15aa2235939016c48e02948eff74b (diff) | |
download | gdb-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.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/reloc.c | 2 |
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); |