diff options
author | Jeff Law <law@redhat.com> | 1994-08-01 08:44:02 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1994-08-01 08:44:02 +0000 |
commit | 907f11fe7124ef8db03eb703b75ba2568a4e5922 (patch) | |
tree | 267729c2ef64cd3fdd17320850a0fd767037491a /gas/config | |
parent | edd86fb0da5a8c81ea8531330620d2b017275b8e (diff) | |
download | ppe42-binutils-907f11fe7124ef8db03eb703b75ba2568a4e5922.tar.gz ppe42-binutils-907f11fe7124ef8db03eb703b75ba2568a4e5922.zip |
* config/tc-hppa.c (tc_gen_reloc): Cast return value from
hppa_gen_reloc_type.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-hppa.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index 4d2831f5ef..432db0ce26 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -83,6 +83,11 @@ typedef int reloc_type; /* Object file formats specify BFD symbol types. */ typedef som_symbol_type obj_symbol_type; + +/* This apparently isn't in older versions of hpux reloc.h. */ +#ifndef R_DLT_REL +#define R_DLT_REL 0x78 +#endif #endif /* Various structures and types used internally in tc-hppa.c. */ @@ -2586,7 +2591,7 @@ tc_gen_reloc (section, fixp) assert (reloc != 0); reloc->sym_ptr_ptr = &fixp->fx_addsy->bsym; - codes = hppa_gen_reloc_type (stdoutput, + codes = (bfd_reloc_code_real_type **) hppa_gen_reloc_type (stdoutput, fixp->fx_r_type, hppa_fixp->fx_r_format, hppa_fixp->fx_r_field); |