mirror of
https://github.com/yasm/yasm
synced 2026-08-26 22:26:05 -04:00
- Switch to bit-based output, including shift capability - This means the standard intnum output functions can be used for non-byte oriented archs like LC-3b (implemented) - Default out of range (overflow) warnings for intnum (bugzilla bug 14) - Change floating point overflow/underflow errors to warnings To do (hooks but not implemented): - Shifting floatnums into destination - Floatnum destinations larger than floatnum value - Big endian support for intnum and floatnum Related simultaneous changes: - Use bc instead of ep in objfmt output_expr() functions; while bc->line should == (*ep)->line, in case they differ, we want to use the bc->line so as not to confuse users. - lc3b-mp22NC test was not properly offsetting the accessed variables, but since the variable "sections" started at an aligned offset, the output was actually correct. The new intnum warnings uncovered this issue, so fix code to be correct (and not generate warnings). svn path=/trunk/yasm/; revision=1017
5 lines
244 B
Text
5 lines
244 B
Text
-:2: warning: value does not fit in 8 bit field
|
|
-:3: warning: value does not fit in 16 bit field
|
|
-:4: warning: value does not fit in 32 bit field
|
|
-:5: warning: value does not fit in 64 bit field
|
|
-:6: warning: value does not fit in 80 bit field
|