A module linked with gold (GNU Binutils 2.20.51.20100112) causes oops when
inserting it into the kernel because of a bad reference to a constant in
".rodata.str1.1" section from code in ".init.text". I haven't analyzed the
problem in depth, so maybe there is some kernel bug, but it seems that gold with
-r -T options changes sections' VMA/LMA. GNU ld does not do it.

-- 
           Summary: GOLD produces nonworking Linux modules
           Product: binutils
           Version: 2.21 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: ian at airs dot com
        ReportedBy: d dot g dot gorbachev at gmail dot com
                CC: bug-binutils at gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=11172

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to