patches/glibc/2.3.5/glibc-2.3.4-memcmp.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Feb 24 11:00:05 2007 +0000 (2007-02-24)
changeset 1 eeea35fbf182
permissions -rw-r--r--
Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
yann@1
     1
Fixes
yann@1
     2
    ../sysdeps/i386/i686/memcmp.S: Assembler messages:
yann@1
     3
    ../sysdeps/i386/i686/memcmp.S:390: Error: can't resolve  `.rodata' {.rodata section} - `memcmp' {.text section}
yann@1
     4
when building on macosx.
yann@1
     5
yann@1
     6
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/i386/i686/memcmp.S?cvsroot=glibc
yann@1
     7
Revision 1.4, Thu Apr 28 18:19:25 2005 UTC by drepper
yann@1
     8
Branch: MAIN
yann@1
     9
CVS Tags: fedora-glibc-20050503T0852
yann@1
    10
Changes since 1.3: +2 -2 lines
yann@1
    11
Diff to previous 1.3 (colored)
yann@1
    12
yann@1
    13
Move misplaced END.
yann@1
    14
yann@1
    15
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/i386/i686/memcmp.S.diff?r1=1.3&r2=1.4&cvsroot=glibc
yann@1
    16
yann@1
    17
===================================================================
yann@1
    18
RCS file: /cvs/glibc/libc/sysdeps/i386/i686/memcmp.S,v
yann@1
    19
retrieving revision 1.3
yann@1
    20
retrieving revision 1.4
yann@1
    21
diff -u -r1.3 -r1.4
yann@1
    22
--- libc/sysdeps/i386/i686/memcmp.S	2004/04/01 23:28:37	1.3
yann@1
    23
+++ libc/sysdeps/i386/i686/memcmp.S	2005/04/28 18:19:25	1.4
yann@1
    24
@@ -1,5 +1,5 @@
yann@1
    25
 /* Compare two memory blocks for differences in the first COUNT bytes.
yann@1
    26
-   Copyright (C) 2004 Free Software Foundation, Inc.
yann@1
    27
+   Copyright (C) 2004, 2005 Free Software Foundation, Inc.
yann@1
    28
    This file is part of the GNU C Library.
yann@1
    29
 
yann@1
    30
    The GNU C Library is free software; you can redistribute it and/or
yann@1
    31
@@ -350,6 +350,7 @@
yann@1
    32
 	sbbl	$-1, %eax
yann@1
    33
 	popl	%esi
yann@1
    34
 	RETURN
yann@1
    35
+END (BP_SYM (memcmp))
yann@1
    36
 
yann@1
    37
 	.section	.rodata
yann@1
    38
 	ALIGN (2)
yann@1
    39
@@ -387,7 +388,6 @@
yann@1
    40
 	.long	L(30bytes) - . + 0x78
yann@1
    41
 	.long	L(31bytes) - . + 0x7c
yann@1
    42
 
yann@1
    43
-END (BP_SYM (memcmp))
yann@1
    44
 
yann@1
    45
 #undef bcmp
yann@1
    46
 weak_alias (BP_SYM (memcmp), BP_SYM (bcmp))