This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
ARM port does not ignore -fpic
- To: egcs-patches at cygnus dot com
- Subject: ARM port does not ignore -fpic
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Tue, 18 Aug 1998 13:08:09 +0100
- Cc: richard dot earnshaw at arm dot com
- Cc: law at cygnus dot com
- Organization: ARM Ltd.
- Reply-To: richard dot earnshaw at arm dot com
Jeff, can the following go into egcs-1.1? It is not true that the
compiler ignores the -fPIC flag, we just don't support it (yet -- no
support in the assembler).
Tue Aug 18 13:05:59 BST 1998 Richard Earnshaw (rearnsha@arm.com)
* arm.c (arm_override_options): Remove lie about ignoring PIC flag.
Index: arm.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/arm/arm.c,v
retrieving revision 1.11
diff -p -r1.11 arm.c
*** arm.c 1998/06/26 07:13:23 1.11
--- arm.c 1998/08/18 12:03:27
*************** arm_override_options ()
*** 310,316 ****
assembler and linker, and the ARMASM assembler seems to lack some
required directives. */
if (flag_pic)
! warning ("Position independent code not supported. Ignored");
if (TARGET_APCS_FLOAT)
warning ("Passing floating point arguments in fp regs not yet supported");
--- 310,316 ----
assembler and linker, and the ARMASM assembler seems to lack some
required directives. */
if (flag_pic)
! warning ("Position independent code not supported");
if (TARGET_APCS_FLOAT)
warning ("Passing floating point arguments in fp regs not yet supported");