For this code: LOC #8000000000000000 Boot GETA $0,DTrap %set dynamic- and forced-trap handler
the GAS MMIX port complains as follows: loc-6.s:4: Error: LOC expression stepping backwards is not supported It'd reasonable to special-case this value (or any value with the low 56 bits zero) as pointing to a special unnamed segment, and not stepping relative within the current segment. Compare to special-casing of constants for Data_Segment, Pool_Segment and Stack_Segment. It'd also be reasonable to treat absolute LOC arguments as unsigned and only check for "stepping backwards" when there's previous contents. -- Summary: gas interprets large LOC constant argument as stepping backwards Product: binutils Version: 2.19 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: hp at sourceware dot org CC: bug-binutils at gnu dot org GCC target triplet: mmix-knuth-mmixware http://sourceware.org/bugzilla/show_bug.cgi?id=6607 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils