[Fuchsia] Remove aarch64-fuchsia target-specific -mcmodel=kernel
authorRoland McGrath <mcgrathr@google.com>
Tue, 28 Jan 2020 19:32:08 +0000 (11:32 -0800)
committerPetr Hosek <phosek@google.com>
Tue, 28 Jan 2020 19:32:08 +0000 (11:32 -0800)
commit2b0e6fe2e2687eaeb5ac444bd68f678e37227a05
tree88a41e54625a8803ba731db7cf10d0fa34227bc7
parent16e82d855a1bbedee8035a55680b9c9744479071
[Fuchsia] Remove aarch64-fuchsia target-specific -mcmodel=kernel

Under --target=aarch64-fuchsia, -mcmodel=kernel has the effect of
(the default) -mcmodel=small plus -mtp=el1 (which did not exist when
this behavior was added). Fuchsia's kernel now uses -mtp=el1
directly instead of -mcmodel=kernel, so remove this special support.

Patch By: mcgrathr

Differential Revision: https://reviews.llvm.org/D73409
llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
llvm/test/CodeGen/AArch64/arm64-builtins-linux.ll
llvm/test/CodeGen/AArch64/arm64-elf-globals.ll
llvm/test/CodeGen/AArch64/stack-protector-target.ll