[Patch ARM] Delete ASM_OUTPUT_DEF and fall back to default .set directive
Ramana Radhakrishnan
ramana.radhakrishnan@arm.com
Thu Mar 31 16:23:00 GMT 2016
On 31/03/16 16:41, James Greenhalgh wrote:
>
> Hi,
>
> gcc.dg/torture/pr69951.c has been failing for arm*-*-linux* targets, as
> we put out "b = a" as a way of defining a symbol alias, which trips an
> assembler warning if the left hand side is an instruction name (such as 'b'
> for branch, see [1] for context).
>
> We don't want to do this, a simple .set directive will suffice. This can
> be achieved by deleting the definition of ASM_OUTPUT_DEF in
> config/arm/linux-elf.h . This will cause us to fall back to the default
> definition, as we have SET_ASM_OP defined through config/elfos.h for all
> ARM ports. This patch makes that change.
>
> Built and tested on an arm-none-linux-gnueabihf box with no issues.
>
> OK?
Ok.
Ramana
>
> Thanks,
> James
>
> ---
> 2016-03-31 James Greenhalgh <james.greenhalgh@arm.com>
>
> * config/arm/linux-elf.h (ASM_OUTPUT_DEF): Delete.
>
> ---
>
> [1]: https://gcc.gnu.org/ml/gcc-patches/2016-03/msg00018.html
>
More information about the Gcc-patches
mailing list