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]

Fewer multilibs for arm/thumb branch


I've committed the following patch (approved by Nick Clifton) to reduce
the number of multilibs built for the arm/thumb branch.

Bernd

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/egcs/gcc/ChangeLog,v
retrieving revision 1.4780.2.15
diff -c -p -r1.4780.2.15 ChangeLog
*** ChangeLog	1999/11/21 16:13:47	1.4780.2.15
--- ChangeLog	1999/12/08 12:54:11
***************
*** 1,3 ****
--- 1,9 ----
+ 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
+ 
+ 	* config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
+ 	* config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
+ 	* config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
+ 
  1999-11-21  Nick Clifton  <nickc@cygnus.com>
  
  	* invoke.texi (ARM Options): Replace -mshort-load-bytes with
Index: config/arm/coff.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/arm/coff.h,v
retrieving revision 1.12.2.3
diff -c -p -r1.12.2.3 coff.h
*** coff.h	1999/10/27 18:29:31	1.12.2.3
--- coff.h	1999/12/08 12:54:12
*************** Boston, MA 02111-1307, USA.  */
*** 35,41 ****
  #define TARGET_DEFAULT (ARM_FLAG_SOFT_FLOAT | ARM_FLAG_APCS_32 | ARM_FLAG_APCS_FRAME)
  
  #define MULTILIB_DEFAULTS \
!   { "mlittle-endian", "msoft-float", "mapcs-32", "mno-thumb-interwork" }
  
  /* A C expression whose value is nonzero if IDENTIFIER with arguments ARGS
     is a valid machine specific attribute for DECL.
--- 35,41 ----
  #define TARGET_DEFAULT (ARM_FLAG_SOFT_FLOAT | ARM_FLAG_APCS_32 | ARM_FLAG_APCS_FRAME)
  
  #define MULTILIB_DEFAULTS \
!   { "marm", "mlittle-endian", "msoft-float", "mapcs-32", "mno-thumb-interwork" }
  
  /* A C expression whose value is nonzero if IDENTIFIER with arguments ARGS
     is a valid machine specific attribute for DECL.
Index: config/arm/elf.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/arm/elf.h,v
retrieving revision 1.13.2.2
diff -c -p -r1.13.2.2 elf.h
*** elf.h	1999/10/27 18:29:31	1.13.2.2
--- elf.h	1999/12/08 12:54:12
*************** Boston, MA 02111-1307, USA.  */
*** 191,197 ****
  
  #ifndef MULTILIB_DEFAULTS
  #define MULTILIB_DEFAULTS \
!   { "mlittle-endian", "msoft-float", "mapcs-32", "mno-thumb-interwork", "fno-leading-underscore" }
  #endif
  
  /* A C expression whose value is nonzero if IDENTIFIER with arguments ARGS
--- 191,197 ----
  
  #ifndef MULTILIB_DEFAULTS
  #define MULTILIB_DEFAULTS \
!   { "marm", "mlittle-endian", "msoft-float", "mapcs-32", "mno-thumb-interwork", "fno-leading-underscore" }
  #endif
  
  /* A C expression whose value is nonzero if IDENTIFIER with arguments ARGS
Index: config/arm/linux-elf.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/arm/linux-elf.h,v
retrieving revision 1.12.2.1
diff -c -p -r1.12.2.1 linux-elf.h
*** linux-elf.h	1999/10/25 17:47:02	1.12.2.1
--- linux-elf.h	1999/12/08 12:54:12
*************** Boston, MA 02111-1307, USA.  */
*** 38,44 ****
  # define SUBTARGET_EXTRA_ASM_SPEC	\
  	" %{mapcs-26:-mapcs-26} %(!mapcs-26:-mapcs-32}"
  # define MULTILIB_DEFAULTS \
! 	{ "mlittle-endian", "mhard-float", "mapcs-32", "mno-thumb-interwork" }
  # define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__"
  #else	/* default is APCS-26 */
  # define TARGET_DEFAULT (ARM_FLAG_SHORT_BYTE)
--- 38,44 ----
  # define SUBTARGET_EXTRA_ASM_SPEC	\
  	" %{mapcs-26:-mapcs-26} %(!mapcs-26:-mapcs-32}"
  # define MULTILIB_DEFAULTS \
! 	{ "marm", "mlittle-endian", "mhard-float", "mapcs-32", "mno-thumb-interwork" }
  # define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__"
  #else	/* default is APCS-26 */
  # define TARGET_DEFAULT (ARM_FLAG_SHORT_BYTE)
*************** Boston, MA 02111-1307, USA.  */
*** 52,58 ****
  # define SUBTARGET_EXTRA_ASM_SPEC	\
  	" %{mapcs-32:-mapcs-32} %(!mapcs-32:-mapcs-26}"
  # define MULTILIB_DEFAULTS \
! 	{ "mlittle-endian", "mhard-float", "mapcs-26", "mno-thumb-interwork" }
  #endif
  
  /* This was defined in linux.h.  Define it here also. */
--- 52,58 ----
  # define SUBTARGET_EXTRA_ASM_SPEC	\
  	" %{mapcs-32:-mapcs-32} %(!mapcs-32:-mapcs-26}"
  # define MULTILIB_DEFAULTS \
! 	{ "marm", "mlittle-endian", "mhard-float", "mapcs-26", "mno-thumb-interwork" }
  #endif
  
  /* This was defined in linux.h.  Define it here also. */


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