This is the mail archive of the libc-alpha@sourceware.cygnus.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]

Re: Fwd: getenv() in glibc


Ralf Baechle <ralf@uni-koblenz.de> writes:

|> On Fri, Sep 10, 1999 at 02:21:41PM +0200, Andreas Schwab wrote:
|> 
|> > Franz Sirl <Franz.Sirl-kernel@lauterbach.com> writes:
|> > 
|> > |> Hi,
|> > |> 
|> > |> I just verified Frank's report on Linux/PPC, does this happen on other 
|> > |> platforms too?
|> > 
|> > I don't know which platforms that are, but it happens on all bigendian
|> > platforms that don't allow unaligned memory accesses (sparc?).
|> 
|> I thought all these Linux platforms have support for completing such
|> instructions in software?

It's not about alowing it general, but at the libc level.  That's a matter
of speed.  You don't want to use unaligned accesses if they are slower
than assembling the individual bytes together.

Andreas.

-- 
Andreas Schwab                                  "And now for something
schwab@suse.de                                   completely different."
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg

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