This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ARM port does not ignore -fpic



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");

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]