[llvm-commits] patch: produce more relocation value strings on	x86-64 elf
    Nick Lewycky 
    nlewycky at google.com
       
    Fri Aug 31 18:44:16 PDT 2012
    
    
  
The attached patch updates libObject's code for producing a string
representing a relocation. This lets us emit "Unknown" far less often. The
test is a .o assembled from this .s:
.text
  func:
    movb $somedata-4, %al
    movw $somedata-4, %ax
    movl $somedata-4, %eax
    movq $somedata-4, %rax
    movabsl somedata-4, %eax
    movl %eax, somedata(%rip)
    movl $somedata, %ebx
    movl $somedata+4, %ecx
.data
  somedata:
    .long 0x0
Please review!
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120831/16c5e3ce/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: objdump-elf-x86_64.patch
Type: application/octet-stream
Size: 3114 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120831/16c5e3ce/attachment.obj>
    
    
More information about the llvm-commits
mailing list