mips64 n32 and n64 support in dl-machine.h

Andreas Schwab schwab@suse.de
Fri Mar 14 14:13:00 GMT 2003


Alexandre Oliva <aoliva@redhat.com> writes:

|> On Mar 14, 2003, Andreas Schwab <schwab@suse.de> wrote:
|> 
|> > IMHO a better solution would be a way to use a different signature for the
|> > elf_machine_rel function with void* as the last parameter for those
|> > architectures that need to handle unaligned stores specially.
|> 
|> That's not good enough.  Consider that elf_machine_rel may be inlined
|> into a function that does know it's passing it something that it
|> thinks is more aligned than it actually is.

The actual arguments are always generic pointers (or integers cast to it),
so it would be safe.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Libc-alpha mailing list