[PATCH, ARM] Fix out-of-range immediate assembly errors on 64-bit hosts

Nick Clifton nickc@redhat.com
Tue Nov 14 12:42:00 GMT 2006


Hi Julian,

   Going through my email backlogs and I found this:

>     gas/
>     * config/tc-arm.c (parse_immediate): Add BOUNDED parameter, rename
>     to...
>     (parse_immediate_maybe_bounded): This. Only bounds-check if BOUNDED
>     is true.
>     (parse_immediate_bounded): New function, with same arguments and
>     semantics as previous parse_immediate.
>     (parse_immediate_unbounded): New function. Parse an unbounded
>     integer (with sizeof (exp.X_add_number)).
>     (parse_big_immediate): Allow for 64-bit exp.X_add_number when
>     parsing 64-bit immediates.
>     (parse_address_main): Use parse_immediate_bounded not
>     parse_immediate.
>     (parse_ror): Likewise.
>     (parse_operands): Likewise. For Neon immediates, use
>     parse_immediate_unbounded. Add new local po_imm_unb_or_fail macro.

Are you still waiting for approval for this patch ?  If so, please 
consider it approved.

Cheers
   Nick



More information about the Binutils mailing list