The previous versions of ld used to produce symbols __start_foo and __stop_foo
visible in "readelf -a a.out" output for following snippet:

        .text
        .globl  _start
        .type   _start,@function
        .section "foo"
_start:
        ret

This does not work anymore, it breaks building of kernel modules in FreeBSD.

Petr

-- 
           Summary: ld does not produce magic symbols with names like
                    __start_* and __stop_*,
           Product: binutils
           Version: 2.18
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: Petr dot Salinger at seznam dot cz
                CC: bug-binutils at gnu dot org


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

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