patches/glibc/2.3.4/glibc-2.3.4-memcmp.patch
changeset 1 eeea35fbf182
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/glibc/2.3.4/glibc-2.3.4-memcmp.patch	Sat Feb 24 11:00:05 2007 +0000
     1.3 @@ -0,0 +1,46 @@
     1.4 +Fixes
     1.5 +    ../sysdeps/i386/i686/memcmp.S: Assembler messages:
     1.6 +    ../sysdeps/i386/i686/memcmp.S:390: Error: can't resolve  `.rodata' {.rodata section} - `memcmp' {.text section}
     1.7 +when building on macosx.
     1.8 +
     1.9 +http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/i386/i686/memcmp.S?cvsroot=glibc
    1.10 +Revision 1.4, Thu Apr 28 18:19:25 2005 UTC by drepper
    1.11 +Branch: MAIN
    1.12 +CVS Tags: fedora-glibc-20050503T0852
    1.13 +Changes since 1.3: +2 -2 lines
    1.14 +Diff to previous 1.3 (colored)
    1.15 +
    1.16 +Move misplaced END.
    1.17 +
    1.18 +http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/i386/i686/memcmp.S.diff?r1=1.3&r2=1.4&cvsroot=glibc
    1.19 +
    1.20 +===================================================================
    1.21 +RCS file: /cvs/glibc/libc/sysdeps/i386/i686/memcmp.S,v
    1.22 +retrieving revision 1.3
    1.23 +retrieving revision 1.4
    1.24 +diff -u -r1.3 -r1.4
    1.25 +--- libc/sysdeps/i386/i686/memcmp.S	2004/04/01 23:28:37	1.3
    1.26 ++++ libc/sysdeps/i386/i686/memcmp.S	2005/04/28 18:19:25	1.4
    1.27 +@@ -1,5 +1,5 @@
    1.28 + /* Compare two memory blocks for differences in the first COUNT bytes.
    1.29 +-   Copyright (C) 2004 Free Software Foundation, Inc.
    1.30 ++   Copyright (C) 2004, 2005 Free Software Foundation, Inc.
    1.31 +    This file is part of the GNU C Library.
    1.32 + 
    1.33 +    The GNU C Library is free software; you can redistribute it and/or
    1.34 +@@ -350,6 +350,7 @@
    1.35 + 	sbbl	$-1, %eax
    1.36 + 	popl	%esi
    1.37 + 	RETURN
    1.38 ++END (BP_SYM (memcmp))
    1.39 + 
    1.40 + 	.section	.rodata
    1.41 + 	ALIGN (2)
    1.42 +@@ -387,7 +388,6 @@
    1.43 + 	.long	L(30bytes) - . + 0x78
    1.44 + 	.long	L(31bytes) - . + 0x7c
    1.45 + 
    1.46 +-END (BP_SYM (memcmp))
    1.47 + 
    1.48 + #undef bcmp
    1.49 + weak_alias (BP_SYM (memcmp), BP_SYM (bcmp))