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]

Fix LOCAL_LABEL_PREFIX for arm-coff


Hi Guys,

  A discrepancy appears to have crept into the definition of
  LOCAL_LABEL_PREFIX in bfd/coff-arm.c.  The comment makes it clear
  that it should be kept in sync with the definition in gcc, but for
  arm-coff, gcc defines this to be the empty string.  The patch below
  fixes this.

Cheers
	Nick


2001-01-10  Nick Clifton  <nickc@redhat.com>

	* coff-arm.c (LOCAL_LABEL_PREFIX): Change definition to "".

Index: coff-arm.c
===================================================================
RCS file: /cvs/src//src/bfd/coff-arm.c,v
retrieving revision 1.21
diff -p -r1.21 coff-arm.c
*** coff-arm.c	2000/12/18 20:50:41	1.21
--- coff-arm.c	2001/01/11 01:40:41
*************** coff_arm_copy_private_bfd_data (src, des
*** 2435,2442 ****
  }
  
  /* Note:  the definitions here of LOCAL_LABEL_PREFIX and USER_LABEL_PREIFX
!  *must* match the definitions in gcc/config/arm/coff.h and semi.h */
! #define LOCAL_LABEL_PREFIX "."
  #ifndef USER_LABEL_PREFIX
  #define USER_LABEL_PREFIX "_"
  #endif
--- 2435,2442 ----
  }
  
  /* Note:  the definitions here of LOCAL_LABEL_PREFIX and USER_LABEL_PREIFX
!    *must* match the definitions in gcc/config/arm/{coff|semi|aout}.h.  */
! #define LOCAL_LABEL_PREFIX ""
  #ifndef USER_LABEL_PREFIX
  #define USER_LABEL_PREFIX "_"
  #endif

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