This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]