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]

patch for ia64 section names




The testcase gcc.dg/asm-fs-1.c  fails on ia64 because we fail to strip out
'*''s in section names. 


Wilson has approved this patch for mainline, should I also apply
it to the 3.0 branch? It bootstraps on ia64, and produces
no new regressions.

Andrew



	* config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.

Index: config/ia64/ia64.h
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/config/ia64/ia64.h,v
retrieving revision 1.100
diff -c -p -r1.100 ia64.h
*** ia64.h	2001/05/15 01:31:32	1.100
--- ia64.h	2001/07/18 14:27:34
*************** do {									\
*** 1971,1977 ****
     that encode section info.  */
  
  #define STRIP_NAME_ENCODING(VAR, SYMBOL_NAME) \
!   (VAR) = (SYMBOL_NAME) + ((SYMBOL_NAME)[0] == SDATA_NAME_FLAG_CHAR)
  
  
  /* Position Independent Code.  */
--- 1971,1979 ----
     that encode section info.  */
  
  #define STRIP_NAME_ENCODING(VAR, SYMBOL_NAME) \
!   (VAR) = ((SYMBOL_NAME)                        \
! 	   + (*(SYMBOL_NAME) == '*' || *(SYMBOL_NAME) == SDATA_NAME_FLAG_CHAR))
! 
  
  
  /* Position Independent Code.  */


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