From: Jeff Law Date: Tue, 5 Mar 2002 17:57:17 +0000 (+0000) Subject: 2002-03-05 John David Anglin X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=40d74fb122d7610447c2f34978ed35d749a4f118;p=binutils-gdb.git 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. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 80d2dae99bd..fd09e98da01 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 e9eb8e1b0f9..946831aa028 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: