This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH, GAS/ARM] Fix selected_cpu with default CPU and -mcpu
- From: Nick Clifton <nickc at redhat dot com>
- To: Thomas Preudhomme <thomas dot preudhomme at foss dot arm dot com>, Richard Earnshaw <richard dot earnshaw at arm dot com>, Alan Modra <amodra at gmail dot com>, binutils at sourceware dot org
- Date: Fri, 24 Mar 2017 12:38:06 +0000
- Subject: Re: [PATCH, GAS/ARM] Fix selected_cpu with default CPU and -mcpu
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=nickc at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com AAA5F15561
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com AAA5F15561
- References: <ed975398-af44-8f0e-8b16-e2e31f7d50ea@foss.arm.com>
Hi Thomas,
> 2017-02-03 Thomas preud'homme <thomas.preudhomme@arm.com>
>
> * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
> CPU_DEFAULT is defined.
Patch approved - please apply. (Plus apologies for the sloppy thinking that
insitgated this bug in the first place).
As a matter of interest have you compared the gas/binutils/ld testsuite results
for a binutils compiled with CFLAGS="-DCPU_DEFAULT=ARM_ARCH_V6SM" and without ?
Are there any discrepancies ? (Post applying your patch that is).
Cheers
Nick