This is the mail archive of the 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 Tue, Mar 18, 2003 at 01:13:29PM -0300, Alexandre Oliva wrote:
> 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.

If unrelated cleanups change the void* to the actual type, and it
doesn't always have the alignment of that type, the cleanups are in
error - period.

Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

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