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

           Summary: gold produces x86-64 .so with two .eh_frame sections,
                    breaking Valgrind
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: i...@airs.com
        ReportedBy: justin.le...@gmail.com


When I link the object file corresponding to [1] with gold on x86-64, the
resulting .so has two .eh_frames:

 [14] .eh_frame         PROGBITS         00000000022c3b70  022c3b70
      00000000004ebf34  0000000000000000   A       0     0     8

 [17] .eh_frame         X86_64_UNWIND    0000000002e01250  02e01250
      0000000000000060  0000000000000000   A       0     0     8

This causes Valgrind to reject the .so, which is unfortunate.

$ gold --version
GNU gold (GNU Binutils for Ubuntu 2.20.51-system.20100908) 1.10

[1]
http://mxr.mozilla.org/mozilla-central/source/js/src/ctypes/libffi/src/x86/unix64.S

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

Reply via email to