llvm-6502/test/MC/Mips
Daniel Sanders 3da6527068 [mips] Correct ELF e_flags for the N32 ABI when using a mips-* triple rather than a mips64-* triple
Summary:
Generally speaking, mips-* vs mips64-* should not be used to make decisions
about the content or format of the ELF. This should be based on the ABI
and CPU in use. For example, `mips-linux-gnu-clang -mips64r2 -mabi=64`
should produce an ELF64 as should `mips64-linux-gnu-clang -mabi=64`.
Conversely, `mips64-linux-gnu-clang -mabi=n32` should produce an ELF32 as
should `mips-linux-gnu-clang -mips64r2 -mabi=n32`.

This patch fixes the e_flags but leaves the ELF32 vs ELF64 issue for now
since there is no apparent way to base this decision on the ABI and CPU.

Differential Revision: http://reviews.llvm.org/D4539


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213244 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-17 10:02:08 +00:00
..
mips1 [mips] SYNC $stype instruction was added in Mips32 2014-06-18 17:10:30 +00:00
mips2 [mips] SYNC $stype instruction was added in Mips32 2014-06-18 17:10:30 +00:00
mips3 [mips] SYNC $stype instruction was added in Mips32 2014-06-18 17:10:30 +00:00
mips4 [mips] SYNC $stype instruction was added in Mips32 2014-06-18 17:10:30 +00:00
mips5 [mips] SYNC $stype instruction was added in Mips32 2014-06-18 17:10:30 +00:00
mips32 Re-commit: [mips] Correct section alignments and EntrySizes for .bss, .text, .data, .reginfo, .MIPS.options, and .MIPS.abiflags 2014-07-14 15:05:51 +00:00
mips32r2 Re-commit: [mips] Correct section alignments and EntrySizes for .bss, .text, .data, .reginfo, .MIPS.options, and .MIPS.abiflags 2014-07-14 15:05:51 +00:00
mips32r6 [mips][mips64r6] Correct cond names in the cmp.cond.[ds] instructions 2014-07-09 10:40:20 +00:00
mips64 Re-commit: [mips] Correct section alignments and EntrySizes for .bss, .text, .data, .reginfo, .MIPS.options, and .MIPS.abiflags 2014-07-14 15:05:51 +00:00
mips64r2 Re-commit: [mips] Correct section alignments and EntrySizes for .bss, .text, .data, .reginfo, .MIPS.options, and .MIPS.abiflags 2014-07-14 15:05:51 +00:00
mips64r6 [mips][mips64r6] Correct cond names in the cmp.cond.[ds] instructions 2014-07-09 10:40:20 +00:00
msa Re-commit: [mips] Correct section alignments and EntrySizes for .bss, .text, .data, .reginfo, .MIPS.options, and .MIPS.abiflags 2014-07-14 15:05:51 +00:00
cfi.s
cpload-bad.s
cpload.s
cpsetup-bad.s [mips] Remove the last usage of parseRegister from MipsAsmParser. 2014-06-18 13:08:59 +00:00
cpsetup.s
do_switch1.s
do_switch2.s
do_switch3.s
eh-frame.s Emit DWARF3 call frame information when DWARF3+ debug info is requested 2014-06-19 15:39:33 +00:00
elf_basic.s
elf_eflags_abicalls.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags_micromips.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags_mips16.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags_nan2008.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags_nanlegacy.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags_noreorder.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags_pic0.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags_pic2.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags.s [mips] Correct ELF e_flags for the N32 ABI when using a mips-* triple rather than a mips64-* triple 2014-07-17 10:02:08 +00:00
elf_reginfo.s Re-commit: [mips] Correct section alignments and EntrySizes for .bss, .text, .data, .reginfo, .MIPS.options, and .MIPS.abiflags 2014-07-14 15:05:51 +00:00
elf_st_other.s
elf-bigendian.ll
elf-gprel-32-64.s
elf-N64.s
elf-objdump.s
elf-relsym.s
elf-tls.s
expr1.s
higher-highest-addressing.s
hilo-addressing.s
lit.local.cfg Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
llvm-mc-fixup-endianness.s [mips] Work around inconsistency in llvm-mc's placement of fixup markers 2014-05-23 13:35:24 +00:00
micromips-16-bit-instructions.s
micromips-alias.s
micromips-alu-instructions.s
micromips-bad-branches.s
micromips-branch16.s
micromips-branch-instructions.s
micromips-control-instructions.s
micromips-diagnostic-fixup.s
micromips-el-fixup-data.s
micromips-expansions.s
micromips-expressions.s
micromips-fpu-instructions.s
micromips-jump26.s
micromips-jump-instructions.s Implementation of microMIPS 16-bit instructions MOVE and JALR. 2014-03-20 10:18:24 +00:00
micromips-loadstore-instructions.s
micromips-loadstore-unaligned.s
micromips-movcond-instructions.s
micromips-multiply-instructions.s
micromips-pc16-fixup.s
micromips-relocations.s
micromips-shift-instructions.s
micromips-tailr.s
micromips-trap-instructions.s
mips64-alu-instructions.s
mips64-expansions.s [mips] Implementation of dli. 2014-06-19 15:08:04 +00:00
mips64-instructions.s
mips64-register-names-n32-n64.s
mips64-register-names-o32.s
mips64eb-fixups.s
mips64extins.ll
mips64shift.ll
mips_abi_flags_xx_set.s Re-commit: [mips] Correct section alignments and EntrySizes for .bss, .text, .data, .reginfo, .MIPS.options, and .MIPS.abiflags 2014-07-14 15:05:51 +00:00
mips_abi_flags_xx.s [mips] Correct .MIPS.abiflags for -mfpxx on MIPS32r6 2014-07-17 09:57:23 +00:00
mips_directives_bad.s
mips_directives.s [mips] Work around inconsistency in llvm-mc's placement of fixup markers 2014-05-23 13:35:24 +00:00
mips_gprel16.s [mips] Work around inconsistency in llvm-mc's placement of fixup markers 2014-05-23 13:35:24 +00:00
mips-abi-bad.s Mips.abiflags is a new implicitly generated section that will be present on all new modules. The section contains a versioned data structure which represents essentially information to allow a program loader to determine the requirements of the application. This patch implements mips.abiflags section and provides test cases for it. 2014-07-08 08:59:22 +00:00
mips-alu-instructions.s
mips-bad-branches.s
mips-control-instructions.s
mips-coprocessor-encodings.s
mips-data-directives.s Mips.abiflags is a new implicitly generated section that will be present on all new modules. The section contains a versioned data structure which represents essentially information to allow a program loader to determine the requirements of the application. This patch implements mips.abiflags section and provides test cases for it. 2014-07-08 08:59:22 +00:00
mips-diagnostic-fixup.s
mips-dsp-instructions.s
mips-expansions-bad.s [mips] Implementation of dli. 2014-06-19 15:08:04 +00:00
mips-expansions.s [mips] Fix expansion of memory operation if destination register is not a GPR. 2014-06-18 14:49:56 +00:00
mips-fpu-instructions.s
mips-jump-instructions.s
mips-memory-instructions.s
mips-noat.s [mips] Report correct location when "erroring" about the use of $at when it's not available. 2014-06-18 14:46:05 +00:00
mips-pc16-fixup.s
mips-register-names-invalid.s
mips-register-names-o32.s [mips] The register names depend on the ABI being N32/N64 rather than the arch being mips64 2014-03-26 11:39:07 +00:00
mips-relocations.s
multi-64bit-func.ll
nabi-regs.s
nacl-mask.s [mips] Fix a bug for NaCl target - Don't report the error when non-dangerous 2014-06-09 14:09:28 +00:00
nooddspreg-cmdarg.s Re-commit: [mips] Correct section alignments and EntrySizes for .bss, .text, .data, .reginfo, .MIPS.options, and .MIPS.abiflags 2014-07-14 15:05:51 +00:00
nooddspreg-error.s [mips] Add support for -modd-spreg/-mno-odd-spreg 2014-07-10 13:38:23 +00:00
nooddspreg.s Re-commit: [mips] Correct section alignments and EntrySizes for .bss, .text, .data, .reginfo, .MIPS.options, and .MIPS.abiflags 2014-07-14 15:05:51 +00:00
octeon-instructions.s
oddspreg.s Re-commit: [mips] Correct section alignments and EntrySizes for .bss, .text, .data, .reginfo, .MIPS.options, and .MIPS.abiflags 2014-07-14 15:05:51 +00:00
pr11877.s
r-mips-got-disp.s
set-at-directive-explicit-at.s
set-at-directive.s
sext_64_32.ll
sym-expr.s
sym-offset.ll
xgot.s