llvm-6502/test/MC
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
..
AArch64
ARM Teach llvm-readobj to print human friendly description of reserved sections. 2014-03-24 05:00:34 +00:00
AsmParser Move tests that require ARM to an ARM test directory. 2014-03-18 22:43:59 +00:00
COFF
Disassembler [SystemZ] Add support for z196 float<->unsigned conversions 2014-03-21 10:56:30 +00:00
ELF Teach llvm-readobj to print human friendly description of reserved sections. 2014-03-24 05:00:34 +00:00
MachO Move codegen test over to MC. 2014-03-21 17:55:34 +00:00
Markup
Mips [mips] Add error message when trying to use $at in '.set noat' mode. 2014-03-24 16:48:01 +00:00
PowerPC [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
Sparc
SystemZ [SystemZ] Add support for z196 float<->unsigned conversions 2014-03-21 10:56:30 +00:00
X86 Convert a CodeGen test into a MC test. 2014-03-21 00:55:42 +00:00