lkml.org 
[lkml]   [2000]   [Feb]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PPC should not use -fno-builtin (was Re: 2.3.47 imac build?)
David Edelsohn wrote:
>
> The ABI developed for GNU/Linux on 64-bit PowerPC is based on the
> AIX PowerOpen ABI combined with the ELF file format. The SVR4 PowerPC ABI
> only is for 32-bit PowerPC. AIX uses "unsigned long" for size_t, so I do
> not think that there is any problem or limitation.

I think my own reply to Paul is causing more confusion than the code.
The problem was that size_t was defined to be unconditionally 'unsigned
long', which makes the size correct for both 32- and 64-bit, but not the
type.

Paul was kind enough to "make this uglier", by conditionally making
size_t an 'unsigned int' on 32-bit PPC, and removing the -fno-builtin
flag from the build. So, problem solved. :)

--
Jeff Garzik | "Are you the police?"
Building 1024 |
MandrakeSoft, Inc. | "No ma'am. We're musicians."

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.164 / U:2.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site