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]

Re: String Functions for x86-64


On Thursday 11 May 2006 18:30, Menezes, Evandro wrote:
> 2006-05-09 Evandro Menezes <evandro.menezes@amd.com>

ok, i lied, still needs a tiny bit more love ... the new patch posted merged 
most of the PIC && SHARED fixes, but still lacks a few lines ... patch 
attached to apply against libc-string-x86_64-head.diff
-mike
--- libc-string-x86_64-head.diff
+++ libc-string-x86_64-head.diff
@@ -244,7 +244,7 @@
 +# include <rtld-global-offsets.h>
 +#endif
 +
-+#ifdef PIC
++#if defined PIC && defined SHARED
 +	.globl _rtld_local_ro
 +        .hidden _rtld_local_ro
 +        .set    _rtld_local_ro,_rtld_global_ro
@@ -715,7 +715,7 @@
 -   and the return value is the byte after the last one copied in
 -   the destination. */
 -#define MEMPCPY_P (defined memcpy)
-+#ifdef PIC
++#if defined PIC && defined SHARED
 +	.globl _rtld_local_ro
 +        .hidden _rtld_local_ro
 +        .set    _rtld_local_ro,_rtld_global_ro
@@ -1298,7 +1298,7 @@
 -/* This is somehow experimental and could made dependend on the cache
 -   size.  */
 -#define LARGE $120000
-+#ifdef PIC
++#if defined PIC && defined SHARED
 +	.globl _rtld_local_ro
 +        .hidden _rtld_local_ro
 +        .set    _rtld_local_ro,_rtld_global_ro
@@ -2255,7 +2255,7 @@
  
 -#ifndef USE_AS_STPCPY
 -# define STRCPY strcpy
-+#ifdef PIC
++#if defined PIC && defined SHARED
 +	.globl _rtld_local_ro
 +        .hidden _rtld_local_ro
 +        .set    _rtld_local_ro,_rtld_global_ro
@@ -3543,7 +3543,7 @@
 +# include <rtld-global-offsets.h>
 +#endif
 +
-+#ifdef PIC
++#if defined PIC && defined SHARED
 +	.globl _rtld_local_ro
 +        .hidden _rtld_local_ro
 +        .set    _rtld_local_ro,_rtld_global_ro

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