[all-commits] [llvm/llvm-project] 7a8cf9: AArch64-Darwin: allow -mcmodel=large with (default...
Tim Northover via All-commits
all-commits at lists.llvm.org
Thu Apr 4 02:25:55 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7a8cf951b3bdc60feac412200ab9661e009d44ae
https://github.com/llvm/llvm-project/commit/7a8cf951b3bdc60feac412200ab9661e009d44ae
Author: Tim Northover <tnorthover at apple.com>
Date: 2024-04-04 (Thu, 04 Apr 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/mcmodel.c
Log Message:
-----------
AArch64-Darwin: allow -mcmodel=large with (default) PIC
Darwin targets implement -mcmodel=large by forcing all global accesses to use
the GOT, instead of the ELF movz/movk sequence. That means it's compatible with
PIC so the Clang driver shouldn't reject the option.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list