about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-minimal.c2
-rw-r--r--elf/dl-profile.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/elf/dl-minimal.c b/elf/dl-minimal.c
index 98486ea3d0..2e45fc0a65 100644
--- a/elf/dl-minimal.c
+++ b/elf/dl-minimal.c
@@ -209,7 +209,7 @@ Inconsistency detected by ld.so: %s: %u: %s%sAssertion `%s' failed!\n",
 		    assertion);
 
 }
-INTDEF(__assert_fail)
+rtld_hidden_weak(__assert_fail)
 
 #endif
 
diff --git a/elf/dl-profile.c b/elf/dl-profile.c
index 489d12bdd8..3a18881d26 100644
--- a/elf/dl-profile.c
+++ b/elf/dl-profile.c
@@ -122,6 +122,7 @@
    entries in the call graph table and add it to the appropriate list.  */
 
 extern int __profile_frequency (void);
+libc_hidden_proto (__profile_frequency)
 
 /* We define a special type to address the elements of the arc table.
    This is basically the `gmon_cg_arc_record' format but it includes