This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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]

PATCH Define object header bits for VFP variant assembly



The attached patch defines some bits for use in header files to indicate 
that a file has VFP instructions in it.  This will be used by future 
patches to ensure object file compatibility during linking.

R.

2002-01-15  Richard Earnshaw  <rearnsha@arm.com>

	* coff/arm.h (F_VFP_FLOAT): Define.
	* elf/arm.h (F_VFP_FLOAT, EF_ARM_VFP_FLOAT): Define.


Index: coff/arm.h
===================================================================
RCS file: /cvs/src/src/include/coff/arm.h,v
retrieving revision 1.7
diff -p -r1.7 arm.h
*** arm.h	2001/03/14 02:27:43	1.7
--- arm.h	2002/01/16 11:33:47
***************
*** 1,5 ****
  /* ARM COFF support for BFD.
!    Copyright 1998, 1999, 2000 Free Software Foundation, Inc.
  
     This file is part of BFD, the Binary File Descriptor library.
  
--- 1,5 ----
  /* ARM COFF support for BFD.
!    Copyright 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
  
     This file is part of BFD, the Binary File Descriptor library.
  
***************
*** 50,55 ****
--- 50,56 ----
  #define F_APCS_26	(0x0400)
  #define F_APCS_SET	(0x0800)
  #define F_SOFT_FLOAT	(0x2000)
+ #define F_VFP_FLOAT	(0x4000)
  
  /* Bits stored in flags field of the internal_f structure */
  
Index: elf/arm.h
===================================================================
RCS file: /cvs/src/src/include/elf/arm.h,v
retrieving revision 1.8
diff -p -r1.8 arm.h
*** arm.h	2001/03/14 02:27:44	1.8
--- arm.h	2002/01/16 11:33:47
***************
*** 1,5 ****
  /* ARM ELF support for BFD.
!    Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
  
     This file is part of BFD, the Binary File Descriptor library.
  
--- 1,5 ----
  /* ARM ELF support for BFD.
!    Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
  
     This file is part of BFD, the Binary File Descriptor library.
  
***************
*** 33,38 ****
--- 33,39 ----
  #define EF_ARM_NEW_ABI     0x80
  #define EF_ARM_OLD_ABI     0x100
  #define EF_ARM_SOFT_FLOAT  0x200
+ #define EF_ARM_VFP_FLOAT   0x400
  
  /* Other constants defined in the ARM ELF spec. version B-01.  */
  #define EF_ARM_SYMSARESORTED 0x04	/* NB conflicts with EF_INTERWORK */
***************
*** 51,56 ****
--- 52,58 ----
  #define F_APCS_FLOAT	   EF_ARM_APCS_FLOAT
  #define F_PIC              EF_ARM_PIC
  #define F_SOFT_FLOAT	   EF_ARM_SOFT_FLOAT
+ #define F_VFP_FLOAT	   EF_ARM_VFP_FLOAT
  
  /* Additional symbol types for Thumb.  */
  #define STT_ARM_TFUNC      STT_LOPROC   /* A Thumb function.  */

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