This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Fix PR middle-end/6123, cleanup defining __pic__/__PIC__
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Cc: ghazi at caip dot rutgers dot edu
- Date: Sat, 3 Apr 2004 13:41:11 -0500 (EST)
- Subject: Re: [PATCH]: Fix PR middle-end/6123, cleanup defining __pic__/__PIC__
Hi Ghazi,
There are a couple of issues to keep in mind with respect to this
cleanup on the PA:
1) The hppa64 code generation is always PIC. We currently force flag_pic
to 2 in override_options. However, the situation actually is similar
to PowerPC64 and eventually we will probably want to distinguish
the case where we are generating code for shared libraries.
2) We don't currently support a small pic model and -fpic implies -fPIC.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)