This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
GAS and PIC
- To: <gcc at gcc dot gnu dot org>
- Subject: GAS and PIC
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Thu, 22 Mar 2001 10:35:49 +0000 (GMT)
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?
--
Joseph S. Myers
jsm28@cam.ac.uk