aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-31 16:16:07 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-31 16:16:07 +0200
commit8d2f9410d5f93e0ca15c9efe48a97d04726152c2 (patch)
tree5fe4404c70f8a6c9eb709892e8c006aa6a3cafa1
parent86e4919f574f0b33db8a7de187c1291710d94f0f (diff)
downloadglibc-8d2f9410d5f93e0ca15c9efe48a97d04726152c2.tar
glibc-8d2f9410d5f93e0ca15c9efe48a97d04726152c2.tar.gz
glibc-8d2f9410d5f93e0ca15c9efe48a97d04726152c2.tar.bz2
glibc-8d2f9410d5f93e0ca15c9efe48a97d04726152c2.zip
gmon: Remove internal_function attribute
-rw-r--r--ChangeLog9
-rw-r--r--gmon/gmon.c9
-rw-r--r--sysdeps/arm/machine-gmon.h4
-rw-r--r--sysdeps/sparc/machine-gmon.h4
4 files changed, 16 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index b2c4378a54..0ad07472a7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
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.
* elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
* include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
diff --git a/gmon/gmon.c b/gmon/gmon.c
index c1d170170a..4e48eba1bf 100644
--- a/gmon/gmon.c
+++ b/gmon/gmon.c
@@ -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;
diff --git a/sysdeps/arm/machine-gmon.h b/sysdeps/arm/machine-gmon.h
index 8e9f43a662..e5483f0a79 100644
--- a/sysdeps/arm/machine-gmon.h
+++ b/sysdeps/arm/machine-gmon.h
@@ -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. */
diff --git a/sysdeps/sparc/machine-gmon.h b/sysdeps/sparc/machine-gmon.h
index 361d98bb97..54de05debf 100644
--- a/sysdeps/sparc/machine-gmon.h
+++ b/sysdeps/sparc/machine-gmon.h
@@ -22,10 +22,10 @@
/* 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. */