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


Alexandre Oliva <aoliva at redhat dot com> writes:

|> On Mar 14, 2003, Andreas Schwab <schwab at suse dot 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 at suse dot 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."


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