[Patch, AArch64] Add GAS target-specific command line option -mabi=<abi_name>

Yufeng Zhang Yufeng.Zhang@arm.com
Fri Jul 19 10:39:00 GMT 2013


Hi,

This patch replaces the gas command line options -milp32 and -mlp64 with 
-mabi=ilp32 and -mabi=lp64 respectively.  This will unify the ABI 
command line user interface with that of the compiler.  Separate patch 
updating the compiler driver will be sent shortly.

OK for the trunk?

Thanks,
Yufeng


gas/

         * config/tc-aarch64.c (enum aarch64_abi_type): New enumeration tag.
         (AARCH64_ABI_LP64, AARCH64_ABI_ILP32): New enumerators.
         (aarch64_abi): New variable.
         (ilp32_p): Change to be a macro.
         (aarch64_opts): Remove the support for option -milp32 and -mlp64.
         (struct aarch64_option_abi_value_table): New struct.
         (aarch64_abis): New table.
         (aarch64_parse_abi): New function.
         (aarch64_long_opts): Add entry for -mabi=.
         * doc/as.texinfo (Target AArch64 options): Document -mabi.
         * doc/c-aarch64.texi: Likewise.

gas/testsuite/

         * gas/aarch64/ilp32-basic.d (#as): Update to use -mabi=ilp32.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gas-mabi-option.patch
Type: text/x-patch
Size: 3964 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20130719/791f8c10/attachment.bin>


More information about the Binutils mailing list