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]

update Xtensa assembly directive


The Xtensa assembly directive "no-generics" is deprecated in recent versions of GAS and has been replaced by "no-transform". This patch updates GCC to use the new directive. Tested with an xtensa-elf target and committed on the mainline.

2005-03-09 Bob Wilson <bob.wilson@acm.org>

        * config/xtensa/xtensa.h (TRAMPOLINE_TEMPLATE): Use "no-transform"
        assembly directive instead of deprecated "no-generics".


Index: xtensa.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/xtensa/xtensa.h,v
retrieving revision 1.60
diff -u -r1.60 xtensa.h
--- xtensa.h	30 Dec 2004 03:08:16 -0000	1.60
+++ xtensa.h	9 Mar 2005 22:42:25 -0000
@@ -822,7 +822,7 @@
 
 #define TRAMPOLINE_TEMPLATE(STREAM)					\
   do {									\
-    fprintf (STREAM, "\t.begin no-generics\n");				\
+    fprintf (STREAM, "\t.begin no-transform\n");			\
     fprintf (STREAM, "\tentry\tsp, %d\n", MIN_FRAME_SIZE);		\
 									\
     /* save the return address */					\
@@ -860,7 +860,7 @@
     /* jump to the instruction following the entry */			\
     fprintf (STREAM, "\taddi\ta8, a8, 3\n");				\
     fprintf (STREAM, "\tjx\ta8\n");					\
-    fprintf (STREAM, "\t.end no-generics\n");				\
+    fprintf (STREAM, "\t.end no-transform\n");				\
   } while (0)
 
 /* Size in bytes of the trampoline, as an integer.  */

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