aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-sh.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2002-03-07 18:11:20 +0000
committerH.J. Lu <hjl.tools@gmail.com>2002-03-07 18:11:20 +0000
commitaa066ac86af343df3f305d72379378917390d391 (patch)
tree195f13c2d88491c1c2f4883fbfb076263a7a8935 /bfd/coff-sh.c
parentfad93c5513a06f387a1740ec5062c114c8a383ed (diff)
downloadgdb-aa066ac86af343df3f305d72379378917390d391.zip
gdb-aa066ac86af343df3f305d72379378917390d391.tar.gz
gdb-aa066ac86af343df3f305d72379378917390d391.tar.bz2
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.
Diffstat (limited to 'bfd/coff-sh.c')
-rw-r--r--bfd/coff-sh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coff-sh.c b/bfd/coff-sh.c
index 6213f6d..ae73996 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;
};