[llvm] r205200 - [mips] Implement missing relocations in the integrated assembler.
Rafael EspĂndola
rafael.espindola at gmail.com
Mon Mar 31 09:08:27 PDT 2014
> // Check that the appropriate relocations were created.
> // For the xgot case we want to see R_MIPS_[GOT|CALL]_[HI|LO]16.
>
> @@ -12,8 +9,8 @@
> // CHECK: 0x{{[0-9,A-F]+}} R_MIPS_GOT_HI16
> // CHECK: 0x{{[0-9,A-F]+}} R_MIPS_GOT_LO16
> // CHECK: 0x{{[0-9,A-F]+}} R_MIPS_CALL_HI16
> -// CHECK: 0x{{[0-9,A-F]+}} R_MIPS_CALL_LO16
> // CHECK: 0x{{[0-9,A-F]+}} R_MIPS_GOT16
> +// CHECK: 0x{{[0-9,A-F]+}} R_MIPS_CALL_LO16
> // CHECK: 0x{{[0-9,A-F]+}} R_MIPS_LO16
> // CHECK: ]
I get a different relocation order with gas. Are the order
restrictions documented anywhere? Could a link to that document be
added to http://llvm.org/docs/CompilerWriterInfo.html?
Cheers,
Rafael
More information about the llvm-commits
mailing list