https://sourceware.org/bugzilla/show_bug.cgi?id=27211
Bug ID: 27211
Summary: m68k: word branches are not checked for signed
overflow
Product: binutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: [email protected]
Target Milestone: ---
When the branch target is known, gas should reject values that overflow the
range of a *signed* value. That is, code such as
.text
braw loopend
.REPT 20000
nop
.ENDR
loopend:
should give an error. Instead, an (incorrect) negative value is written.
Note that ld gives a warning at least, if the target is not known and defined
in some other compilation unit (relocation truncated to fit: DISP16 against
symbol `loopend')
--
You are receiving this mail because:
You are on the CC list for the bug.