diff options
author | Jeff Law <law@redhat.com> | 2002-03-05 17:57:17 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2002-03-05 17:57:17 +0000 |
commit | 40d74fb122d7610447c2f34978ed35d749a4f118 (patch) | |
tree | eacf54e034727c124ebea9e393a57c15df8e484e | |
parent | 1bf425384c5343049ac44e57e43140dde4086160 (diff) | |
download | gdb-40d74fb122d7610447c2f34978ed35d749a4f118.zip gdb-40d74fb122d7610447c2f34978ed35d749a4f118.tar.gz gdb-40d74fb122d7610447c2f34978ed35d749a4f118.tar.bz2 |
2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
* config/tc-hppa.c (md_apply_fix3): Add cast.
(hppa_fix_adjustable): Adjust list of selectors using e_lrsel and
e_rrsel.
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-hppa.c | 22 |
2 files changed, 10 insertions, 18 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 80d2dae..fd09e98 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca> + + * 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 <pkoning@equallogic.com> * 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 e9eb8e1..946831a 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: |