mips64 n32 and n64 support in dl-machine.h

Alexandre Oliva aoliva@redhat.com
Fri Mar 14 09:54:00 GMT 2003


On Mar 14, 2003, Andreas Schwab <schwab@suse.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@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Libc-alpha mailing list