http://llvm.org/bugs/show_bug.cgi?id=6071


Bruno Cardoso Lopes <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #6 from Bruno Cardoso Lopes <[email protected]>  2010-01-19 
11:04:50 ---
Hi Adam,

The argument bug is fixed in trunk (r93880):
http://llvm.org/viewvc/llvm-project?rev=93880&view=rev

For the address load, there is nothing wrong with it, MIPS uses two
instructions to load the address from GOT when using pic. It uses two
relocations for that, as an example:

  64:   8f820000        lw      v0,0(gp)
                        64: R_MIPS_GOT16        .data
  68:   00031880        sll     v1,v1,0x2
  6c:   24420000        addiu   v0,v0,0
                        6c: R_MIPS_LO16 .data

Thanks :)


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to