1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/MC/Sparc
Fangrui Song bb43600d6c [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names
Follow-up for D74433

What the function returns are almost standard BFD names, except that "ELF" is
in uppercase instead of lowercase.

This patch changes "ELF" to "elf" and changes ARM/AArch64 to use their BFD names.
MIPS and PPC64 have endianness differences as well, but this patch does not intend to address them.

Advantages:

* llvm-objdump: the "file format " line matches GNU objdump on ARM/AArch64 objects
* "file format " line can be extracted and fed into llvm-objcopy -O literally.
  (https://github.com/ClangBuiltLinux/linux/issues/779 has such a use case)

Affected tools: llvm-readobj, llvm-objdump, llvm-dwarfdump, MCJIT (internal implementation detail, not exposed)

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D76046
2020-03-16 07:42:04 -07:00
..
leon-instructions.s
leon-pwrpsr-instruction.s
lit.local.cfg [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
sparc64-alu-instructions.s
sparc64-ctrl-instructions.s
sparc-alu-instructions.s
sparc-asm-errors.s
sparc-assembly-exprs.s
sparc-atomic-instructions.s
sparc-coproc.s
sparc-ctrl-instructions.s
sparc-directive-xword.s
sparc-directives.s
sparc-fp-instructions.s
sparc-little-endian.s
sparc-mem-instructions.s
sparc-misc-instructions.s
sparc-nop-data.s
sparc-pic.s
sparc-relocations.s [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00
sparc-special-registers.s
sparc-synthetic-instructions.s
sparc-tls-relocations.s [llvm-objdump] -d: print 00000000 <foo>: instead of 00000000 foo: 2020-03-05 18:05:28 -08:00
sparc-traps.s
sparc-v9-traps.s
sparc-vis.s
sparcv8-instructions.s
sparcv9-atomic-instructions.s
sparcv9-instructions.s