[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/1804] Wrong output for 64-bit difference of labels
From: |
amodra at bigpond dot net dot au |
Subject: |
[Bug gas/1804] Wrong output for 64-bit difference of labels |
Date: |
6 Nov 2005 03:12:16 -0000 |
------- Additional Comments From amodra at bigpond dot net dot au 2005-11-06
03:12 -------
I'd be inclined to use
if (fixP->fx_size > 4)
{
/* Handle constant output. */
number_to_chars_bigendian (fixpos, *valP, fixP->fx_size);
return;
}
After all, if the fixup is for a dword, none of the insn handling code in
md_apply_fix is appropriate. In fact, it would be even better to avoid anything
in md_apply_fix that assumes a fixup is for an insn, ie. bfd_hppa_insn2fmt
shouldn't be in md_apply_fix at all. Instead, pass the insn fmt (if it is an
insn) in via fx_r_format.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=1804
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug gas/1804] New: Wrong output for 64-bit difference of labels, danglin at gcc dot gnu dot org, 2005/11/04
- [Bug gas/1804] Wrong output for 64-bit difference of labels, danglin at gcc dot gnu dot org, 2005/11/04
- [Bug gas/1804] Wrong output for 64-bit difference of labels, amodra at bigpond dot net dot au, 2005/11/05
- [Bug gas/1804] Wrong output for 64-bit difference of labels, dave at hiauly1 dot hia dot nrc dot ca, 2005/11/05
- [Bug gas/1804] Wrong output for 64-bit difference of labels,
amodra at bigpond dot net dot au <=
- [Bug gas/1804] Wrong output for 64-bit difference of labels, dave at hiauly1 dot hia dot nrc dot ca, 2005/11/05
- [Bug gas/1804] Wrong output for 64-bit difference of labels, dave at hiauly1 dot hia dot nrc dot ca, 2005/11/06
- [Bug gas/1804] Wrong output for 64-bit difference of labels, danglin at gcc dot gnu dot org, 2005/11/08