Mercurial > hg > CbC > CbC_llvm
comparison test/MC/Mips/reloc-directive.s @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 1172e4bd9c6f |
children | c2174574ed3a |
comparison
equal
deleted
inserted
replaced
120:1172e4bd9c6f | 121:803732b1fca8 |
---|---|
31 # OBJ-O32: 0x0 R_MIPS_NONE .text 0x0 | 31 # OBJ-O32: 0x0 R_MIPS_NONE .text 0x0 |
32 # OBJ-O32: 0x4 R_MIPS_NONE .text 0x0 | 32 # OBJ-O32: 0x4 R_MIPS_NONE .text 0x0 |
33 # OBJ-O32: 0x8 R_MIPS_32 .text 0x0 | 33 # OBJ-O32: 0x8 R_MIPS_32 .text 0x0 |
34 # OBJ-O32: 0xC R_MIPS_NONE - 0x0 | 34 # OBJ-O32: 0xC R_MIPS_NONE - 0x0 |
35 | 35 |
36 # FIXME: We can't get N32 correct at the moment. If we use a mips-* triple then | |
37 # we incorrectly drop the addend. If we use a mips64-* triple then we | |
38 # incorrectly use the 3-reloc encoding (and ELF64). mips64-* triples | |
39 # are closest to being correct so we use them for now. | |
40 # This should be corrected once the triple bugfixes allow us to be ABI | |
41 # dependent rather than triple dependent. | |
42 # OBJ-N32-LABEL: Name: .text | 36 # OBJ-N32-LABEL: Name: .text |
43 # OBJ-N32: 0000: 00000000 00000000 00000000 | 37 # OBJ-N32: 0000: 00000000 00000000 00000000 |
44 # OBJ-N32-LABEL: } | 38 # OBJ-N32-LABEL: } |
45 # OBJ-N32-LABEL: Relocations [ | 39 # OBJ-N32-LABEL: Relocations [ |
46 # OBJ-N32: 0x0 R_MIPS_NONE/R_MIPS_NONE/R_MIPS_NONE .text 0x4 | 40 |
47 # OBJ-N32: 0x4 R_MIPS_NONE/R_MIPS_NONE/R_MIPS_NONE .text 0x0 | 41 # OBJ-N32: 0x4 R_MIPS_NONE .text 0x0 |
48 # OBJ-N32: 0x8 R_MIPS_32/R_MIPS_NONE/R_MIPS_NONE .text 0x8 | 42 # OBJ-N32: 0x0 R_MIPS_NONE .text 0x4 |
49 # OBJ-N32: 0xC R_MIPS_NONE/R_MIPS_NONE/R_MIPS_NONE - 0x0 | 43 # OBJ-N32: 0x8 R_MIPS_32 .text 0x8 |
44 # OBJ-N32: 0xC R_MIPS_NONE - 0x0 | |
50 | 45 |
51 # OBJ-N64-LABEL: Name: .text | 46 # OBJ-N64-LABEL: Name: .text |
52 # OBJ-N64: 0000: 00000000 00000000 00000000 | 47 # OBJ-N64: 0000: 00000000 00000000 00000000 |
53 # OBJ-N64-LABEL: } | 48 # OBJ-N64-LABEL: } |
54 # OBJ-N64-LABEL: Relocations [ | 49 # OBJ-N64-LABEL: Relocations [ |
50 # OBJ-N64: 0x4 R_MIPS_NONE/R_MIPS_NONE/R_MIPS_NONE .text 0x0 | |
55 # OBJ-N64: 0x0 R_MIPS_NONE/R_MIPS_NONE/R_MIPS_NONE .text 0x4 | 51 # OBJ-N64: 0x0 R_MIPS_NONE/R_MIPS_NONE/R_MIPS_NONE .text 0x4 |
56 # OBJ-N64: 0x4 R_MIPS_NONE/R_MIPS_NONE/R_MIPS_NONE .text 0x0 | |
57 # OBJ-N64: 0x8 R_MIPS_32/R_MIPS_NONE/R_MIPS_NONE .text 0x8 | 52 # OBJ-N64: 0x8 R_MIPS_32/R_MIPS_NONE/R_MIPS_NONE .text 0x8 |
58 # OBJ-N64: 0xC R_MIPS_NONE/R_MIPS_NONE/R_MIPS_NONE - 0x0 | 53 # OBJ-N64: 0xC R_MIPS_NONE/R_MIPS_NONE/R_MIPS_NONE - 0x0 |