Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc/config/i386 remove bogus indirect...



details:   https://anonhg.NetBSD.org/src/rev/700f3303a888
branches:  trunk
changeset: 824245:700f3303a888
user:      christos <christos%NetBSD.org@localhost>
date:      Mon May 29 03:51:24 2017 +0000

description:
remove bogus indirect call for profiling (mcount)

diffstat:

 external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r 9ea5b5e1e763 -r 700f3303a888 external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h
--- a/external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h Mon May 29 03:41:53 2017 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h Mon May 29 03:51:24 2017 +0000
@@ -50,9 +50,9 @@
 #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");                               \
 }



Home | Main Index | Thread Index | Old Index