aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-pattern.h
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2023-10-17 11:10:27 +0100
committerIain Sandoe <iain@sandoe.co.uk>2023-10-18 10:36:22 +0100
commita4184c8a65a00eaf8a8d7f92fb8ad2f8621b39e2 (patch)
treeaae99f8d307b0d18a8fb5ad575d74aad933a638e /gcc/rust/ast/rust-pattern.h
parentdd28f90c95378bf8ebb82a3dfdf24a6ad190877a (diff)
downloadgcc-a4184c8a65a00eaf8a8d7f92fb8ad2f8621b39e2.zip
gcc-a4184c8a65a00eaf8a8d7f92fb8ad2f8621b39e2.tar.gz
gcc-a4184c8a65a00eaf8a8d7f92fb8ad2f8621b39e2.tar.bz2
Darwin: Check as for .build_version support and use it if available.
This adds support for the minimum OS version data in assembler files. At present, we have no mechanism to detect the SDK version in use, and so that is omitted from build_versions. We follow the implementation in clang, '.build_version' is only emitted (where supported) for target macOS versions >= 10.14. For earlier macOS we fall back to using a '.macosx_version_min' directive. This latter is also emitted when the assembler supports it, but not build_version. gcc/ChangeLog: * config.in: Regenerate. * config/darwin.cc (darwin_file_start): Add assembler directives for the target OS version, where these are supported by the assembler. (darwin_override_options): Check for building >= macOS 10.14. * configure: Regenerate. * configure.ac: Check for assembler support of .build_version directives. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
Diffstat (limited to 'gcc/rust/ast/rust-pattern.h')
0 files changed, 0 insertions, 0 deletions