diff options
Diffstat (limited to 'llvm/test/MC/Mips/reloc-directive.s')
-rw-r--r-- | llvm/test/MC/Mips/reloc-directive.s | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/llvm/test/MC/Mips/reloc-directive.s b/llvm/test/MC/Mips/reloc-directive.s index b2da7ca1b2c..3125b75597f 100644 --- a/llvm/test/MC/Mips/reloc-directive.s +++ b/llvm/test/MC/Mips/reloc-directive.s @@ -33,28 +33,15 @@ foo: # OBJ-O32: 0x8 R_MIPS_32 .text 0x0 # OBJ-O32: 0xC R_MIPS_NONE - 0x0 -# FIXME: We can't get N32 correct at the moment. If we use a mips-* triple then -# we incorrectly drop the addend. If we use a mips64-* triple then we -# incorrectly use the 3-reloc encoding (and ELF64). mips64-* triples -# are closest to being correct so we use them for now. -# This should be corrected once the triple bugfixes allow us to be ABI -# dependent rather than triple dependent. # OBJ-N32-LABEL: Name: .text # OBJ-N32: 0000: 00000000 00000000 00000000 # OBJ-N32-LABEL: } # OBJ-N32-LABEL: Relocations [ -# OBJ-N32: 0x4 R_MIPS_NONE/R_MIPS_NONE/R_MIPS_NONE .text 0x0 -# OBJ-N32: 0x0 R_MIPS_NONE/R_MIPS_NONE/R_MIPS_NONE .text 0x4 -# OBJ-N32: 0x8 R_MIPS_32/R_MIPS_NONE/R_MIPS_NONE .text 0x8 -# OBJ-N32: 0xC R_MIPS_NONE/R_MIPS_NONE/R_MIPS_NONE - 0x0 - -# FIXME:This is the correct output for reference. - -# OBJ-N32-FIXME: 0x4 R_MIPS_NONE .text 0x0 -# OBJ-N32-FIXME: 0x0 R_MIPS_NONE .text 0x4 -# OBJ-N32-FIXME: 0x8 R_MIPS_32 .text 0x8 -# OBJ-N32-FIXME: 0xC R_MIPS_NONE - 0x0 +# OBJ-N32: 0x4 R_MIPS_NONE .text 0x0 +# OBJ-N32: 0x0 R_MIPS_NONE .text 0x4 +# OBJ-N32: 0x8 R_MIPS_32 .text 0x8 +# OBJ-N32: 0xC R_MIPS_NONE - 0x0 # OBJ-N64-LABEL: Name: .text # OBJ-N64: 0000: 00000000 00000000 00000000 |