summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2002-03-07 18:11:20 +0000
committerH.J. Lu <hjl@lucon.org>2002-03-07 18:11:20 +0000
commitb9a3c158971e98adb7e8c87e6a00f09aa940ea44 (patch)
treebe629ce6305d02365532fba57c6caf57abf0c58b
parentbbac12b6f1706a2e3580cc7af2fe4364b3cab0de (diff)
downloadgdb-b9a3c158971e98adb7e8c87e6a00f09aa940ea44.tar.gz
2002-03-07 H.J. Lu (hjl@gnu.org)
* coff-sh.c (shcoff_reloc_map): Use bfd_reloc_code_real_type as the type for bfd_reloc_val.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/coff-sh.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 4d55723323b..9d5c742529d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2002-03-07 H.J. Lu (hjl@gnu.org)
+
+ * coff-sh.c (shcoff_reloc_map): Use bfd_reloc_code_real_type
+ as the type for bfd_reloc_val.
+
2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
* elf-hppa.h (elf_hppa_is_dynamic_loader_symbol): New function.
diff --git a/bfd/coff-sh.c b/bfd/coff-sh.c
index 6213f6d3111..ae739968f75 100644
--- a/bfd/coff-sh.c
+++ b/bfd/coff-sh.c
@@ -469,7 +469,7 @@ coff_sh_rtype_to_howto (abfd, sec, rel, h, sym, addendp)
/* This structure is used to map BFD reloc codes to SH PE relocs. */
struct shcoff_reloc_map
{
- unsigned char bfd_reloc_val;
+ bfd_reloc_code_real_type bfd_reloc_val;
unsigned char shcoff_reloc_val;
};