Module Name:    src
Committed By:   christos
Date:           Mon May 29 03:51:24 UTC 2017

Modified Files:
        src/external/gpl3/gcc/dist/gcc/config/i386: netbsd64.h

Log Message:
remove bogus indirect call for profiling (mcount)


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 \
    src/external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h
diff -u src/external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h:1.7 src/external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h:1.8
--- src/external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h:1.7	Fri Aug 19 01:11:09 2016
+++ src/external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h	Sun May 28 23:51:24 2017
@@ -50,9 +50,9 @@ along with GCC; see the file COPYING3.  
 #define FUNCTION_PROFILER(FILE, LABELNO)				\
 {									\
   if (TARGET_64BIT && flag_pic)						\
-    fprintf (FILE, "\tcall *__mcount@PLT\n");				\
+    fprintf (FILE, "\tcall __mcount@PLT\n");				\
   else if (flag_pic)							\
-    fprintf (FILE, "\tcall *__mcount@PLT\n");				\
+    fprintf (FILE, "\tcall __mcount@PLT\n");				\
   else									\
     fprintf (FILE, "\tcall __mcount\n");				\
 }

Reply via email to