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]

Fix typo in x86-64 pic support



I just noticed the following warning on i686-linux-gcc:
/cvs/gcc/gcc/cp/method.c:438: warning: unknown conversion type character `R' in format

The appended patch fixes the obvious typo.  I'll commit this tomorrow
after bootstrapping on i686-linux (unless it fails) as obvious.

Andreas

2001-07-16  Andreas Jaeger  <aj@suse.de>

	* config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
	x86-64 pic support.

============================================================
Index: gcc/config/i386/unix.h
--- gcc/config/i386/unix.h	2001/07/09 09:34:43	1.15
+++ gcc/config/i386/unix.h	2001/07/16 19:31:39
@@ -128,7 +128,7 @@
     {									    \
       fprintf (FILE, "\tjmp *");					    \
       assemble_name (FILE, XSTR (XEXP (DECL_RTL (FUNCTION), 0), 0));	    \
-      fprintf (FILE, "@GOTPCREL(%RIP)\n");				    \
+      fprintf (FILE, "@GOTPCREL(%%RIP)\n");				    \
     }									    \
   else									    \
     {									    \

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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