This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: mips64 n32 and n64 support in dl-machine.h
On Mar 14, 2003, Andreas Schwab <schwab at suse dot de> wrote:
> Then the use of memcpy won't help. Since both the source and the
> destination are pointers to ElfW(Addr) the compiler has the right to
> assume that they are correctly aligned.
Hmm... Good point. As far as I can tell from looking at
expand_builtin_memcpy, casting the possibly-mis-aligned pointer to
(char*) should be enough to fix it, no?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva at {redhat dot com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva at {lsd dot ic dot unicamp dot br, gnu.org}
Free Software Evangelist Professional serial bug killer