From 15344ad7481480019fb6d06ff384407c008b8b04 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 7 Mar 2007 14:40:33 +0000 Subject: [PATCH 1/1] 2007-03-07 Kai Tietz * reloc.c (bfd_generic_get_relocated_section_contents): Remove const for type reloc_howto_type. --- bfd/ChangeLog | 5 +++++ bfd/reloc.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b2b9d557dbf..920e91ceb38 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2007-03-07 Kai Tietz + + * reloc.c (bfd_generic_get_relocated_section_contents): Remove + const for type reloc_howto_type. + 2007-03-07 Alan Modra PR 3958 diff --git a/bfd/reloc.c b/bfd/reloc.c index 3595f00a8d7..a31ebe0aaee 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); -- 2.30.2