This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Fix non-multiarch build on x86-64


Building without multiarch support lacks the strcmp function in ld.so.

I'm not sure that file is actually needed at all, since
sysdeps/x86_64/strcmp.S already contains an SSE-less variant for ld.so.

Andreas.

commit 6d9bef7ae632d00ef67c6260a3d24913b8d2d863
Author: Andreas Schwab <schwab@redhat.com>
Date:   Mon Jul 27 13:30:23 2009 +0200

    Fix non-multiarch build on x86-64.

diff --git a/ChangeLog b/ChangeLog
index 12ac487..7d15fea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-07-27  Andreas Schwab  <schwab@redhat.com>
+
+	* sysdeps/x86_64/rtld-strcmp.S: Fix entry symbol.
+
 2009-07-26  Ulrich Drepper  <drepper@redhat.com>
 
 	* sysdeps/x86_64/tst-xmmymm.sh: New file.  Check whether any of the
diff --git a/sysdeps/x86_64/rtld-strcmp.S b/sysdeps/x86_64/rtld-strcmp.S
index a25535c..5d133e5 100644
--- a/sysdeps/x86_64/rtld-strcmp.S
+++ b/sysdeps/x86_64/rtld-strcmp.S
@@ -8,7 +8,7 @@
 #endif
 
 	.text
-ENTRY (BP_SYM (STRCMP))
+ENTRY (BP_SYM (strcmp))
 /* Simple version since we can't use SSE registers in ld.so.  */
 L(oop):	movb	(%rdi), %al
 	cmpb	(%rsi), %al
@@ -25,4 +25,4 @@ L(neq):	movl	$1, %eax
 	movl	$-1, %ecx
 	cmovbl	%ecx, %eax
 	ret
-END (BP_SYM (STRCMP))
+END (BP_SYM (strcmp))

-- 
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]