bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/1804] Wrong output for 64-bit difference of labels


From: dave at hiauly1 dot hia dot nrc dot ca
Subject: [Bug gas/1804] Wrong output for 64-bit difference of labels
Date: 7 Nov 2005 00:38:39 -0000

------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  
2005-11-07 00:38 -------
Subject: Re:  Wrong output for 64-bit difference of labels

> > 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.
> 
> I agree.  It appears that there aren't any conflicts between data and
> insn format values.  It also appears that insn formats are set by pa_ip,
> so it shouldn't be necessary to call bfd_hppa_insn2fmt.

I took a quick look at this today.  It will take a bit of work to
sort this out as the format numbers generated by pa_ip are somewhat
inconsistent with those generated by bfd_hppa_insn2fmt.  The numbers
generated by pa_ip can't simply be changed to match bfd_hppa_insn2fmt
as they are used by elf_hppa_reloc_final_type.

Dave


-- 


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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]