bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/15371] uninitialised ifunc symbol


From: amodra at gmail dot com
Subject: [Bug ld/15371] uninitialised ifunc symbol
Date: Mon, 15 Apr 2013 13:42:15 +0000

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at gmail dot com

--- Comment #1 from Alan Modra <amodra at gmail dot com> 2013-04-15 13:42:15 
UTC ---
After fixing the dodgy asm for powerpc64
diff -urp /src/tmp/ifunc/ifunc.h ./ifunc.h
--- /src/tmp/ifunc/ifunc.h    2013-04-13 01:38:26.000000000 +0930
+++ ./ifunc.h    2013-04-15 22:59:23.837033660 +0930
@@ -33,7 +33,7 @@ asm (".text\n"                        \
      "\t.previous\n"                    \
      ".L." #name ":\n"                    \
      IFUNC_ASM (PICK (fn1, fn2))            \
-     "\t.size " #name ", .-" #name "\n")
+     "\t.size " #name ", .-.L." #name "\n")
 # endif
 #else
 # error Architecture not supported

I get
address@hidden ifunc]$ LD_LIBRARY_PATH=. ./ifunc1
start
lib1 done
lib2test start
lib2test finish
lib2 done

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