bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/993] New: fail to link if address of libc function taken in n64


From: shay_gal-on at pmc-sierra dot com
Subject: [Bug ld/993] New: fail to link if address of libc function taken in n64
Date: 6 Jun 2005 22:00:41 -0000

The following:
#include <stdlib.h>

void (*testme)(void *) = free;

int main()
{
        return 0;
}


Fails with "assertion fail" when trying to link after compiling with -mabi=64.
Works fine with o32 or n32. Same issue with taking address of malloc etc...
Can take address of non-glibc functions just fine.

I have not verified with later incarnations of binutils yet.

-- 
           Summary: fail to link if address of libc function taken in n64
           Product: binutils
           Version: 2.13
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: shay_gal-on at pmc-sierra dot com
                CC: bug-binutils at gnu dot org
 GCC build triplet: any
  GCC host triplet: any
GCC target triplet: mips64-linux-gnu


http://sources.redhat.com/bugzilla/show_bug.cgi?id=993

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