[Patch AArch64] Delete ASM_OUTPUT_DEF and fallback to default .set directive
James Greenhalgh
james.greenhalgh@arm.com
Tue May 17 09:13:00 GMT 2016
Hi,
As in the ARM port [1] , the AArch64 port wants to put out "b = a" to set
an alias. This doesn't cause us any trouble yet, as the AArch64 port doesn't
warn for this construct - but at the same time there is no reason for us
not to put out a .set directive - this seems to have been copied from the
ARM port when section anchor support was added in 2012. Looking through
the chain, we'll get a default definition for ASM_OUTPUT_DEF if SET_ASM_OP
is defined, and we get SET_ASM_OP defined through config/elfos.h for
all the AArch64 targets I can see in config.gcc. So we're safe to drop
this.
Bootstrapped on aarch64-none-linux-gnu.
OK?
Thanks,
James
[1]: https://gcc.gnu.org/ml/gcc-patches/2016-03/msg01691.html
---
2016-05-17 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64-elf.h (ASM_OUTPUT_DEF): Delete.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Patch-AArch64-Delete-ASM_OUTPUT_DEF-and-fallback-to-.patch
Type: text/x-patch
Size: 645 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160517/1793763d/attachment.bin>
More information about the Gcc-patches
mailing list