This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GAS and PIC
On Thu, Mar 22, 2001 at 10:35:49AM +0000, Joseph S. Myers wrote:
> Another probably obsolete item in gcc.texi says that
>
> @item
> The GNU assembler (GAS) does not support PIC. To generate PIC code, you
> must use some other assembler, such as @file{/bin/as}.
>
> At least, this is misleading for any system people are likely to be using.
> But, are there *any* systems with the properties that
>
> * GCC nominally supports them as a native compiler (the support files are
> there, even if bitrotten); and
>
> * Some version of GAS (possibly an old one) actually supports the system
> (i.e., genuinely could be used on it), but no version of GAS actually
> supports PIC on the system; and
>
> * The native assembler, or some non-GAS assembler, does support PIC on the
> system?
I think the modified binutils from those xxxBSD can do PIC in a.out.
But I doubt anyone cares it in the FSF binutils.
H.J.