]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
gmon: Remove internal_function attribute
authorFlorian Weimer <fweimer@redhat.com>
Thu, 31 Aug 2017 14:16:07 +0000 (16:16 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 31 Aug 2017 14:16:07 +0000 (16:16 +0200)
ChangeLog
gmon/gmon.c
sysdeps/arm/machine-gmon.h
sysdeps/sparc/machine-gmon.h

index b2c4378a54073a882932452afdd2ccebef3d91c6..0ad07472a752b11d9ac2b3e9daf97355de866dc6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2017-08-31  Florian Weimer  <fweimer@redhat.com>
+
+       * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
+       Remove internal_function.
+       * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
+       Likewise.
+       * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
+       Likewise.
+
 2017-08-31  Florian Weimer  <fweimer@redhat.com>
 
        * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
index c1d170170a861645dd18ee294d0db03770c798c0..4e48eba1bfdf473f88c386cb72f9f2336ffae5d5 100644 (file)
@@ -62,9 +62,9 @@ static int    s_scale;
 
 void moncontrol (int mode);
 void __moncontrol (int mode);
-static void write_hist (int fd) internal_function;
-static void write_call_graph (int fd) internal_function;
-static void write_bb_counts (int fd) internal_function;
+static void write_hist (int fd);
+static void write_call_graph (int fd);
+static void write_bb_counts (int fd);
 
 /*
  * Control profiling
@@ -171,7 +171,6 @@ weak_alias (__monstartup, monstartup)
 
 
 static void
-internal_function
 write_hist (int fd)
 {
   u_char tag = GMON_TAG_TIME_HIST;
@@ -222,7 +221,6 @@ write_hist (int fd)
 
 
 static void
-internal_function
 write_call_graph (int fd)
 {
 #define NARCS_PER_WRITEV       32
@@ -284,7 +282,6 @@ write_call_graph (int fd)
 
 
 static void
-internal_function
 write_bb_counts (int fd)
 {
   struct __bb *grp;
index 8e9f43a6625da3f9a6dbe0ea73f83e8b3cdc405e..e5483f0a7961fab7b30c091b8623f63451222ada 100644 (file)
@@ -24,9 +24,9 @@
 /* We must not pollute the global namespace.  */
 #define mcount_internal __mcount_internal
 
-extern void mcount_internal (u_long frompc, u_long selfpc) internal_function;
+extern void mcount_internal (u_long frompc, u_long selfpc);
 #define _MCOUNT_DECL(frompc, selfpc) \
-  void internal_function mcount_internal (u_long frompc, u_long selfpc)
+  void mcount_internal (u_long frompc, u_long selfpc)
 
 
 /* Define MCOUNT as empty since we have the implementation in another file.  */
index 361d98bb970d009558d3227d620b957d244d1377..54de05debf3e50d534df0c29fcec1b8b77bb3c47 100644 (file)
 /* We must not pollute the global namespace.  */
 #define mcount_internal __mcount_internal
 
-extern void mcount_internal (u_long frompc, u_long selfpc) internal_function;
+extern void mcount_internal (u_long frompc, u_long selfpc);
 
 #define _MCOUNT_DECL(frompc, selfpc) \
-void internal_function mcount_internal (u_long frompc, u_long selfpc)
+void mcount_internal (u_long frompc, u_long selfpc)
 
 /* Define MCOUNT as empty since we have the implementation in another
    file.  */