From 56b1ad4e148d7378a4227585fc90fa0f91ebad75 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 5 Mar 2002 17:57:17 +0000 Subject: [PATCH] 2002-03-05 John David Anglin * config/tc-hppa.c (md_apply_fix3): Add cast. (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and e_rrsel. --- gas/ChangeLog | 6 ++++++ gas/config/tc-hppa.c | 22 ++++------------------ 2 files changed, 10 insertions(+), 18 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 80d2dae99b..fd09e98da0 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2002-03-05 John David Anglin + + * config/tc-hppa.c (md_apply_fix3): Add cast. + (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and + e_rrsel. + 2002-03-05 Paul Koning * tc-pdp11.c: Use VAX float format support for PDP-11 target. diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index e9eb8e1b0f..946831aa02 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -4459,7 +4459,7 @@ md_apply_fix3 (fixP, valP, seg) return; } - buf = fixP->fx_frag->fr_literal + fixP->fx_where; + buf = (unsigned char *) (fixP->fx_frag->fr_literal + fixP->fx_where); insn = bfd_get_32 (stdoutput, buf); fmt = bfd_hppa_insn2fmt (stdoutput, insn); @@ -8398,13 +8398,8 @@ hppa_fix_adjustable (fixp) { /* Relocation types which use e_lrsel. */ case R_PARISC_DIR21L: - case R_PARISC_DLTIND21L: case R_PARISC_DLTREL21L: case R_PARISC_DPREL21L: - case R_PARISC_LTOFF_FPTR21L: - case R_PARISC_LTOFF_TP21L: - case R_PARISC_PCREL21L: - case R_PARISC_PLABEL21L: case R_PARISC_PLTOFF21L: /* Relocation types which use e_rrsel. */ @@ -8412,24 +8407,15 @@ hppa_fix_adjustable (fixp) case R_PARISC_DIR14DR: case R_PARISC_DIR14WR: case R_PARISC_DIR17R: - case R_PARISC_DLTIND14R: - case R_PARISC_DLTIND14DR: - case R_PARISC_DLTIND14WR: case R_PARISC_DLTREL14R: case R_PARISC_DLTREL14DR: case R_PARISC_DLTREL14WR: case R_PARISC_DPREL14R: case R_PARISC_DPREL14DR: case R_PARISC_DPREL14WR: - case R_PARISC_PCREL14R: - case R_PARISC_PCREL17R: - case R_PARISC_PLABEL14R: - case R_PARISC_LTOFF_FPTR14R: - case R_PARISC_LTOFF_FPTR14DR: - case R_PARISC_LTOFF_FPTR14WR: - case R_PARISC_LTOFF_TP14R: - case R_PARISC_LTOFF_TP14DR: - case R_PARISC_LTOFF_TP14WR: + case R_PARISC_PLTOFF14R: + case R_PARISC_PLTOFF14DR: + case R_PARISC_PLTOFF14WR: /* Other types that we reject for reduction. */ case R_PARISC_GNU_VTENTRY: -- 2.11.0