bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/10440] New: aliasing of IFUNC symbols broken


From: drepper at redhat dot com
Subject: [Bug binutils/10440] New: aliasing of IFUNC symbols broken
Date: 24 Jul 2009 06:06:15 -0000

Defining an alias of an IFUNC symbol must also create an IFUNC symbol.  It makes
no sense to define a normal FUNC symbol since calling it returns nonsense.

        .text
        .type   foo, @gnu_indirect_function
        .globl  foo
foo:    .long   1
        .size   foo, .-foo
        .globl  __foo
        .set    __foo, foo

Assembling this code leads to this symbol table in the file:

    4: 0000000000000000      4 GNU_IFUNC GLOBAL DEFAULT        1 foo
    5: 0000000000000000      4 FUNC    GLOBAL DEFAULT        1 __foo

This is with rawhide's 2.19.51.0.2-18.fc11.

-- 
           Summary: aliasing of IFUNC symbols broken
           Product: binutils
           Version: 2.20 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: drepper at redhat dot com
                CC: bug-binutils at gnu dot org


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

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




reply via email to

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