[llvm-bugs] [Bug 25381] New: "foo:" and "foo = ." produce different relocations on MachO
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Mon Nov  2 11:55:37 PST 2015
    
    
  
https://llvm.org/bugs/show_bug.cgi?id=25381
            Bug ID: 25381
           Summary: "foo:" and "foo = ." produce different relocations on
                    MachO
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: MC
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: cbieneman at apple.com, grosbach at apple.com,
                    llvm-bugs at lists.llvm.org
    Classification: Unclassified
Given
    .globl    _f
_f:
    retq
    .globl    _g
_g:
        callq _f
    retq
.subsections_via_symbols
llvm-mc notices the two atoms and produces a relocation. Replace "_g:" with "_g
= ." and we get none.
-- 
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/20151102/1255bb28/attachment.html>
    
    
More information about the llvm-bugs
mailing list