[PATCH] D63810: Change the default arm-linux-gnueabihf target to armv7
Sylvestre Ledru via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 26 01:28:45 PDT 2019
sylvestre.ledru created this revision.
sylvestre.ledru added reviewers: SjoerdMeijer, kristof.beyls.
Herald added subscribers: llvm-commits, kristina, javed.absar.
Herald added a project: LLVM.
Changes the default from arm1176jzf-s (armv6) to cortex-a7
$ clang --target=arm-linux-gnueabihf -dM -E -xc - < /dev/null | grep "ARM_ARCH "
The goal is to change the default from:
#define __ARM_ARCH 6
to
#define __ARM_ARCH 7
Reported initially on:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930008
Repository:
rL LLVM
https://reviews.llvm.org/D63810
Files:
lib/Support/Triple.cpp
Index: lib/Support/Triple.cpp
===================================================================
--- lib/Support/Triple.cpp
+++ lib/Support/Triple.cpp
@@ -1644,7 +1644,7 @@
case llvm::Triple::EABIHF:
case llvm::Triple::GNUEABIHF:
case llvm::Triple::MuslEABIHF:
- return "arm1176jzf-s";
+ return "cortex-a7";
default:
return "arm7tdmi";
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63810.206611.patch
Type: text/x-patch
Size: 381 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190626/ac1d496a/attachment.bin>
More information about the llvm-commits
mailing list