llvm-6502/lib/Target/PowerPC/MCTargetDesc
Ulrich Weigand 47eac58333 [PowerPC] Generate little-endian object files
As a first step towards real little-endian code generation, this patch
changes the PowerPC MC layer to actually generate little-endian object
files.  This involves passing the little-endian flag through the various
layers, including down to createELFObjectWriter so we actually get basic
little-endian ELF objects, emitting instructions in little-endian order,
and handling fixups and relocations as appropriate for little-endian.

The bulk of the patch is to update most test cases in test/MC/PowerPC
to verify both big- and little-endian encodings.  (The only test cases
*not* updated are those that create actual big-endian ABI code, like
the TLS tests.)

Note that while the object files are now little-endian, the generated
code itself is not yet updated, in particular, it still does not adhere
to the ELFv2 ABI.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204634 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-24 18:16:09 +00:00
..
CMakeLists.txt [CMake] Let add_public_tablegen_target responsible to provide dependency to CommonTableGen. 2013-11-28 17:04:04 +00:00
LLVMBuild.txt
Makefile
PPCAsmBackend.cpp [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
PPCELFObjectWriter.cpp [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
PPCFixupKinds.h [PowerPC] Support @tls in the asm parser 2013-07-05 12:22:36 +00:00
PPCMachObjectWriter.cpp Move everything depending on Object/MachOFormat.h over to Support/MachO.h. 2013-09-01 04:28:48 +00:00
PPCMCAsmInfo.cpp [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
PPCMCAsmInfo.h Re-commit: Demote EmitRawText call in AsmPrinter::EmitInlineAsm() and remove hasRawTextSupport() call 2014-02-13 14:44:26 +00:00
PPCMCCodeEmitter.cpp [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
PPCMCExpr.cpp Try harder to evaluate expressions when printing assembly. 2014-03-12 16:55:59 +00:00
PPCMCExpr.h Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
PPCMCTargetDesc.cpp Re-commit: Demote EmitRawText call in AsmPrinter::EmitInlineAsm() and remove hasRawTextSupport() call 2014-02-13 14:44:26 +00:00
PPCMCTargetDesc.h [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
PPCPredicates.cpp Add CR-bit tracking to the PowerPC backend for i1 values 2014-02-28 00:27:01 +00:00
PPCPredicates.h Try to unbreak the C++11 build 2014-02-28 00:45:27 +00:00