This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: undefined reference to `memchr'


Andreas Jaeger <aj@suse.de> writes:

> And one more - I've committed the patch already,
> Andreas
> 
> 2000-07-18  Andreas Jaeger  <aj@suse.de>
> 
> 	* sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
> 
> Index: sysdeps/alpha/memchr.S
> ===================================================================
> RCS file: /cvs/glibc/libc/sysdeps/alpha/memchr.S,v
> retrieving revision 1.8
> retrieving revision 1.9
> diff -u -r1.8 -r1.9
> --- memchr.S	2000/07/17 22:36:15	1.8
> +++ memchr.S	2000/07/18 08:40:57	1.9
> @@ -169,4 +169,4 @@
>  
>          END(__memchr)
>  
> -weak_alias (__stpcpy, stpcpy)
> +weak_alias (__memchr, memchr)

And I was feeling so righteous after finding & fixing this in
sysdeps/m68k/memchr.S...

-END(strchr)
+END(__memchr)
 
-weak_alias (strchr, index)
+weak_alias (__memchr, memchr)

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