[LLVMbugs] [Bug 10095] New: [MC] Object writer drops W even if relocations are present

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 6 16:21:22 PDT 2011


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

           Summary: [MC] Object writer drops W even if relocations are
                    present
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: joerg at NetBSD.org
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=6704)
 --> (http://llvm.org/bugs/attachment.cgi?id=6704)
Unreduced test case

After r131951, linker sets on NetBSD are no longer writeable. They do have
outstanding relocations and that breaks with --warn-text-rel during linkage. A
preprocessed example is attached. Compile with -O2 -fPIC and compare the flags
of section "link_set_all_categories" before and after this change.

-- 
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.



More information about the llvm-bugs mailing list