aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/decl.c
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2021-04-27 16:09:07 -0400
committerDavid Edelsohn <dje.gcc@gmail.com>2021-04-27 19:54:00 -0400
commit0366e2b40e9ea5fc61c9a694de0c8c76a238b03c (patch)
tree8bc975d6572ffb1324145e0d67cd10ec624f07ca /gcc/ada/gcc-interface/decl.c
parent37846c42f1f5ac4d9ba190d49c4373673c89c8b5 (diff)
downloadgcc-0366e2b40e9ea5fc61c9a694de0c8c76a238b03c.zip
gcc-0366e2b40e9ea5fc61c9a694de0c8c76a238b03c.tar.gz
gcc-0366e2b40e9ea5fc61c9a694de0c8c76a238b03c.tar.bz2
aix: Alias -m64 to -maix64 and -m32 to -maix32.
GCC on AIX historically has used -maix64 and -maix32 to switch to 64 bit mode or 32 bit mode, unlike other ports that use -m64 and -m32. The Alias() directive for options cannot be used because aix64 is expected in multiple parts of the compiler infrastructure and one cannot switch to -m64 due to backward compatibility. This patch defines DRIVER_SELF_SPECS to translate -m64 to -maix64 and -m32 to -maix32 so that the command line option compatible with other targets can be used while continuing to allow the historical options. gcc/ChangeLog: * config/rs6000/aix.h (SUBTARGET_DRIVER_SELF_SPECS): New. * config/rs6000/aix64.opt (m64): New. (m32): New.
Diffstat (limited to 'gcc/ada/gcc-interface/decl.c')
0 files changed, 0 insertions, 0 deletions