[LLVMbugs] [Bug 19203] New: Assembler drops relocation information

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 19 17:58:11 PDT 2014


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

            Bug ID: 19203
           Summary: Assembler drops relocation information
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: MC
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: kledzik at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

$ cat test1.s
.data
a = b + 4
.long a
Sandman:llvm respindola$ cat test2.s
.data
a = b + 8
.long a
$ llvm-mc -filetype=obj test1.s -o test1.o -triple=x86_64-apple-darwin
$ llvm-mc -filetype=obj test2.s -o test2.o -triple=x86_64-apple-darwin
$ cmp test1.o test2.o

We should probably include the 4 and 8 in the relocation or produce an error if
that is not possible.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140320/74b0a86f/attachment.html>


More information about the llvm-bugs mailing list