about summary refs log tree commit diff
path: root/debug/fortify_fail.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-13 21:10:44 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-13 21:10:44 +0200
commit1b0bfc6946b460bcebe9db19a015f2cac711f7f5 (patch)
treed762ca42d4287dcd595e69bbad767b15677edcee /debug/fortify_fail.c
parenta6bd872286b981b08577218c00e1ea693bad6095 (diff)
downloadglibc-1b0bfc6946b460bcebe9db19a015f2cac711f7f5.tar.gz
glibc-1b0bfc6946b460bcebe9db19a015f2cac711f7f5.tar.xz
glibc-1b0bfc6946b460bcebe9db19a015f2cac711f7f5.zip
__fortify_fail: Remove internal_function attribute
__fortify_fail is called across DSO boundaries, so it should not
use a non-standard calling convention.
Diffstat (limited to 'debug/fortify_fail.c')
-rw-r--r--debug/fortify_fail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug/fortify_fail.c b/debug/fortify_fail.c
index a0777ae570..add5625faf 100644
--- a/debug/fortify_fail.c
+++ b/debug/fortify_fail.c
@@ -23,7 +23,7 @@
 extern char **__libc_argv attribute_hidden;
 
 void
-__attribute__ ((noreturn)) internal_function
+__attribute__ ((noreturn))
 __fortify_fail_abort (_Bool need_backtrace, const char *msg)
 {
   /* The loop is added only to keep gcc happy.  Don't pass down
@@ -38,7 +38,7 @@ __fortify_fail_abort (_Bool need_backtrace, const char *msg)
 }
 
 void
-__attribute__ ((noreturn)) internal_function
+__attribute__ ((noreturn))
 __fortify_fail (const char *msg)
 {
   __fortify_fail_abort (true, msg);