aarch64 vs. armv7 system clang defaults: -target-abi aapcs (aarch64) vs. -target-abi aapcs-linux (armv7)?
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Feb 2024 02:24:03 UTC
armv7: # cc -v main.c FreeBSD clang version 17.0.6 (https://github.com/llvm/llvm-project.git llvmorg-17.0.6-0-g6009708b4367) Target: armv7-unknown-freebsd15.0-gnueabihf . . . -target-abi aapcs-linux . . . -x c main.c . . . aarch64: # cc -v main.c you have mail FreeBSD clang version 17.0.6 (https://github.com/llvm/llvm-project.git llvmorg-17.0.6-0-g6009708b4367) Target: aarch64-unknown-freebsd15.0 . . . -target-abi aapcs . . . -x c main.c . . . FYI: My understanding is the that aapcs-linux uses 32 bits for enums and aapcs uses variable length for enums. For aapcs-linux I've also seen references to "int-sized" instead. === Mark Millard marklmi at yahoo.com