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]

add Xtensa ".literal_position" directive


 
This patch for the Xtensa port is required to match a recent change
to GAS for Xtensa.  Tested with the xtensa-elf target.
Committed to 3.1 branch and top-of-trunk.

2002-03-20  Bob Wilson  <bob.wilson@acm.org>

        * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
        ".literal_position" directive before the constant pool.

Index: xtensa.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/xtensa/xtensa.h,v
retrieving revision 1.1.12.2
diff -c -3 -r1.1.12.2 xtensa.h
*** xtensa.h	2002/03/18 18:10:16	1.1.12.2
--- xtensa.h	2002/03/20 21:53:41
***************
*** 1679,1685 ****
  		 strcmp (fnsectname, ".text") ? fnsectname : "");	\
        }									\
      if ((SIZE) > 0)							\
!       function_section (FUNDECL);  					\
    } while (0)
  
  
--- 1679,1688 ----
  		 strcmp (fnsectname, ".text") ? fnsectname : "");	\
        }									\
      if ((SIZE) > 0)							\
!       {									\
! 	function_section (FUNDECL);  					\
! 	fprintf (FILE, "\t.literal_position\n");			\
!       }									\
    } while (0)
  
  

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