patches/glibc/2.3.4/glibc-2.3.4-memcmp.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jul 28 21:34:41 2007 +0000 (2007-07-28)
changeset 301 2be7232a73ac
permissions -rw-r--r--
Bump version to 0.2.2.
     1 Fixes
     2     ../sysdeps/i386/i686/memcmp.S: Assembler messages:
     3     ../sysdeps/i386/i686/memcmp.S:390: Error: can't resolve  `.rodata' {.rodata section} - `memcmp' {.text section}
     4 when building on macosx.
     5 
     6 http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/i386/i686/memcmp.S?cvsroot=glibc
     7 Revision 1.4, Thu Apr 28 18:19:25 2005 UTC by drepper
     8 Branch: MAIN
     9 CVS Tags: fedora-glibc-20050503T0852
    10 Changes since 1.3: +2 -2 lines
    11 Diff to previous 1.3 (colored)
    12 
    13 Move misplaced END.
    14 
    15 http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/i386/i686/memcmp.S.diff?r1=1.3&r2=1.4&cvsroot=glibc
    16 
    17 ===================================================================
    18 RCS file: /cvs/glibc/libc/sysdeps/i386/i686/memcmp.S,v
    19 retrieving revision 1.3
    20 retrieving revision 1.4
    21 diff -u -r1.3 -r1.4
    22 --- libc/sysdeps/i386/i686/memcmp.S	2004/04/01 23:28:37	1.3
    23 +++ libc/sysdeps/i386/i686/memcmp.S	2005/04/28 18:19:25	1.4
    24 @@ -1,5 +1,5 @@
    25  /* Compare two memory blocks for differences in the first COUNT bytes.
    26 -   Copyright (C) 2004 Free Software Foundation, Inc.
    27 +   Copyright (C) 2004, 2005 Free Software Foundation, Inc.
    28     This file is part of the GNU C Library.
    29  
    30     The GNU C Library is free software; you can redistribute it and/or
    31 @@ -350,6 +350,7 @@
    32  	sbbl	$-1, %eax
    33  	popl	%esi
    34  	RETURN
    35 +END (BP_SYM (memcmp))
    36  
    37  	.section	.rodata
    38  	ALIGN (2)
    39 @@ -387,7 +388,6 @@
    40  	.long	L(30bytes) - . + 0x78
    41  	.long	L(31bytes) - . + 0x7c
    42  
    43 -END (BP_SYM (memcmp))
    44  
    45  #undef bcmp
    46  weak_alias (BP_SYM (memcmp), BP_SYM (bcmp))