[PATCH] D52784: [ARM][AArch64] Pass through endianness flags to the GNU assembler and linker

Peter Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 15 05:45:18 PDT 2018


peter.smith updated this revision to Diff 169689.
peter.smith marked 3 inline comments as done.
peter.smith added a comment.

Updated diff to reflect review comments. Main changes are:

- isArmBigEndian always returns false if the target architecture isn't Arm.
- Added tests to make sure "--be8" doesn't get added by mistake (would have been in previous patch for aarch64_be arch with -mbig-endian flag.


https://reviews.llvm.org/D52784

Files:
  lib/Driver/ToolChains/Arch/ARM.cpp
  lib/Driver/ToolChains/Arch/ARM.h
  lib/Driver/ToolChains/Gnu.cpp
  lib/Driver/ToolChains/NetBSD.cpp
  test/Driver/linux-as.c
  test/Driver/linux-ld.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52784.169689.patch
Type: text/x-patch
Size: 19337 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181015/c07aa773/attachment-0001.bin>


More information about the cfe-commits mailing list