This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH][ARM][gas] Use as_tsktsk instead of as_warn for deprecation messages
- From: Richard Earnshaw <Richard dot Earnshaw at foss dot arm dot com>
- To: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Cc: Richard Earnshaw <Richard dot Earnshaw at arm dot com>, Ramana Radhakrishnan <ramana dot radhakrishnan at arm dot com>
- Date: Fri, 06 Feb 2015 15:55:33 +0000
- Subject: Re: [PATCH][ARM][gas] Use as_tsktsk instead of as_warn for deprecation messages
- Authentication-results: sourceware.org; auth=none
- References: <54D49E82 dot 7050300 at arm dot com>
On 06/02/15 10:59, Kyrill Tkachov wrote:
> 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.
>
OK.
R.