Subject: Re: __PIC__ and __pic__
To: Nick Hudson <skrll@netbsd.org>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: tech-toolchain
Date: 03/02/2004 13:15:11
--Apple-Mail-2--976819996
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed


On Mar 2, 2004, at 12:16 PM, Nick Hudson wrote:

> libgcc_s.so is broken on powerpc at the moment because
> gcc/gcc/config/rs6000/tramp.asm  expects __PIC__ to be defined when 
> being
> assembled -fPIC. Looking at what other platforms do in gcc/config 
> shows the
> normal gcc inconsistency so where should this get defined (if at all)?
>
> I believe TARGET_OS_CPP_BUILTINS is the right place...

Yes.  I agree is should be consistently defined for -fpic and -fPIC for 
all of NetBSD's configurations.

         -- Jason R. Thorpe <thorpej@wasabisystems.com>


--Apple-Mail-2--976819996
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFARPlgOpVKkaBm8XkRAkGdAKC/ieCEorEOJV+0LlYFzD4Ch1OQtwCgjBNR
4GZuWjjVK5oAeXPgSreod4A=
=wLnw
-----END PGP SIGNATURE-----

--Apple-Mail-2--976819996--