[Bug gas/16763] RL78 - Ranges of relative branches are not checked correctly

2014-03-27 Thread peper03 at yahoo dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16763 --- Comment #1 from Richard Hulme --- Sorry, typo in the 16-bit test: .list .global _branchTest8 .global _branchTest16 _branchTest8: br $label8 .zero 200 br $_branchTest8 label8: ret _branchTest16:

[Bug gas/16763] New: RL78 - Ranges of relative branches are not checked correctly

2014-03-27 Thread peper03 at yahoo dot com
Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: peper03 at yahoo dot com gas quietly allows out-of-range relative branches. The RL78 processors allow 8-bit and 16-bit relative branches (so -128/+127 or -32768/+32767 bytes from PC) but