This is the mail archive of the libc-alpha@sources.redhat.com 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: mips64 n32 and n64 support in dl-machine.h


On Mar 18, 2003, Andreas Schwab <schwab at suse dot de> wrote:

> Have you tried my suggestion yet?  I still think that would be the
> cleaner approach.

Your suggestion might work today, but I've already explained why a
smarter compiler might be able to defeat it, if not now, at some point
in which unrelated `clean-ups' change void* to the actual types in
callers.  I don't see what's not clean about this approach, anyway.
It adds no instructions whatsoever, and it makes sure no assumptions
can possibly be made by the compiler about the alignment of the
relocation value, which is exactly what we want.  I.e., it's more
robust than any change elsewhere.

-- 
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


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