Skip to content

Commit

Permalink
Darwin, Arm64 : Allow m64 on the command line.
Browse files Browse the repository at this point in the history
It seems that some people have makefiles etc. that put '-m64' for
arm64 Darwin.  This is allowed by clang.  For the GCC version we make it
an alias of -mabi=darwinpcs.
  • Loading branch information
iains committed Feb 20, 2021
1 parent 20137e3 commit a39175b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gcc/config/aarch64/aarch64.opt
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ Enum(aarch64_abi) String(lp64) Value(AARCH64_ABI_LP64)
EnumValue
Enum(aarch64_abi) String(darwinpcs) Value(AARCH64_ABI_LP64)

m64
Target RejectNegative Alias(mabi=, darwinpcs)
On Darwin for compatibility with other platform variants.

mpc-relative-literal-loads
Target Save Var(pcrelative_literal_loads) Init(2) Save
PC relative literal loads.
Expand Down

0 comments on commit a39175b

Please sign in to comment.