[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/27211] New: m68k: word branches are not checked for signed over
From: |
address@hidden |
Subject: |
[Bug gas/27211] New: m68k: word branches are not checked for signed overflow |
Date: |
Wed, 20 Jan 2021 06:47:26 +0000 |
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: admin@tho-otto.de
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gas/27211] New: m68k: word branches are not checked for signed overflow,
address@hidden <=