[PATCH][ARM][gas] Use as_tsktsk instead of as_warn for deprecation messages

Kyrill Tkachov kyrylo.tkachov@arm.com
Fri Feb 6 10:59:00 GMT 2015


Hi all,

As suggested in https://sourceware.org/ml/binutils/2015-01/msg00233.html 
this patch changes all the warnings that complain of deprecation
to use as_tsktsk instead of as_warn. In practice it means that the 
output doesn't contain the "Warning: " string.

Tested make check on gas for arm.

Richard, is this something like what you were looking for?

Thanks,
Kyrill

2015-02-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

     * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
     of as_warn for deprecation messages.
     (encode_arm_addr_mode_2): Likewise.
     (check_obsolete): Likewise.
     (do_rd_rm_rn): Likewise.
     (do_co_reg): Likewise.
     (do_setend): Likewise.
     (do_t_mov_cmp): Likewise.
     (do_neon_ldr_str): Likewise.
     (opcode_lookup): Likewise.
     (if_fsm_post_encode): Likewise.
     (md_assemble): Likewise.

2015-02-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

     * gas/arm/armv1.l: Remove 'Warning: ' from expected messages
     for deprecations.
     * gas/arm/armv8-a-bad.l: Likewise.
     * gas/arm/armv8-a-it-bad.l: Likewise.
     * gas/arm/depr-swp.l: Likewise.
     * gas/arm/ldsgeb.l: Likewise.
     * gas/arm/ldsgeh.l: Likewise.
     * gas/arm/thumb2_bad_reg.l: Likewise.
     * gas/arm/thumb32.l: Likewise.
     * gas/arm/udf.l: Likewise.
     * gas/arm/vstr-arm-bad.l: Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm-gas-tsktsk.patch
Type: text/x-patch
Size: 18739 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150206/cfc6de96/attachment.bin>


More information about the Binutils mailing list