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]
Other format: [Raw text]

CPP_PREDEFINES: arm-elf configuration fix



David's recent cleanup of the CPP_PREDEFINES definitions for arm targets 
missed the following (it may have been picking up the wrong default before 
anyway).

2001-12-15  Richard Earnshaw  <rearnsha@arm.com>

	* arm/unknown-elf.h (CPP_PREDEFINES): Add a suitable default.

Index: config/arm/unknown-elf.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/arm/unknown-elf.h,v
retrieving revision 1.23
diff -p -r1.23 unknown-elf.h
*** unknown-elf.h       2001/11/05 16:36:35     1.23
--- unknown-elf.h       2001/12/15 16:46:00
*************** Boston, MA 02111-1307, USA.  */
*** 85,90 ****
--- 85,94 ----
        fprintf (FILE, "\t.space\t%d\n", SIZE);                         \
      }                                                                 \
    while (0)
+ 
+ #ifndef CPP_PREDEFINES
+ #define CPP_PREDEFINES "-D__ELF__"
+ #endif
  
  #ifndef CPP_APCS_PC_DEFAULT_SPEC
  #define CPP_APCS_PC_DEFAULT_SPEC      "-D__APCS_32__"



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