llvm-project/llvm/test/MC/PowerPC
Ulrich Weigand cae3a17a21 [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.

llvm-svn: 204634
2014-03-24 18:16:09 +00:00
..
deprecated-p7.s [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
lit.local.cfg [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
ppc-llong.s [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
ppc-machine.s [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
ppc-nop.s [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
ppc-word.s [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
ppc64-encoding-bookII.s [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
ppc64-encoding-bookIII.s [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
ppc64-encoding-ext.s [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
ppc64-encoding-fp.s [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
ppc64-encoding-vmx.s [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
ppc64-encoding.s [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
ppc64-errors.s [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
ppc64-fixup-apply.s [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
ppc64-fixup-explicit.s [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
ppc64-fixups.s [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
ppc64-initial-cfa.s [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
ppc64-operands.s [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
ppc64-regs.s [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00
ppc64-relocs-01.s [PowerPC] Use assembler source in MC tests 2013-06-12 14:14:18 +00:00
ppc64-tls-relocs-01.s [PowerPC] Use assembler source in MC tests 2013-06-12 14:14:18 +00:00
tls-gd-obj.s Convert another llc -filetype=obj test. 2013-10-28 22:05:05 +00:00
tls-ie-obj.s Convert another llc -filetype=obj test. 2013-10-28 22:17:19 +00:00
tls-ld-obj.s Convert another llc -filetype=obj test. 2013-10-28 22:11:47 +00:00
vsx.s [PowerPC] Generate little-endian object files 2014-03-24 18:16:09 +00:00