bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/12675] New: gold produces x86-64 .so with two .eh_frame sectio


From: justin.lebar at gmail dot com
Subject: [Bug gold/12675] New: gold produces x86-64 .so with two .eh_frame sections, breaking Valgrind
Date: Fri, 15 Apr 2011 00:55:15 +0000

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: address@hidden
        ReportedBy: address@hidden


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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]