bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/11597] bra.s to next instruction does not produce an error


From: vincent dot riviere at freesbee dot fr
Subject: [Bug gas/11597] bra.s to next instruction does not produce an error
Date: 13 May 2010 16:38:14 -0000

------- Additional Comments From vincent dot riviere at freesbee dot fr  
2010-05-13 16:38 -------
The code for checking this error condition is in gas/config/tc-m68k.c, at the 
end of md_apply_fix(). The error is not detected on a.out targets because:
fixP->fx_pcrel == 0 and fixP->fx_r_type == BFD_RELOC_NONE

The bra.s instruction is unambiguously a pc-relative jump. However, fixP-
>fx_pcrel has been set to 0 a bit earlier in gas/write.c, function 
fixup_segment(), line 1006.

I wonder what is normal or not.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11597

------- 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]