This is the mail archive of the glibc-bugs@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]

[Bug libc/12518] memcpy acts randomly (and differently) with overlapping areas


http://sourceware.org/bugzilla/show_bug.cgi?id=12518

Jakub Jelinek <jakub at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at redhat dot com

--- Comment #5 from Jakub Jelinek <jakub at redhat dot com> 2011-02-25 12:07:14 UTC ---
If we go that route (symbol versioning memcpy), then wouldn't it be better to
just alias the old memcpy@GLIBC_2.2.5 to memmove and have the new
memcpy@@GLIBC_2.14 be the only memcpy implementation? Having two sets of memcpy
implementations (especially when we have many memcpy implementations on x86_64
and i?86 selectable via STT_GNU_IFUNC), even if the workaroundish one is placed
in compat .text subsections, would waste too much code section in libc.so.6.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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