From 1b0bfc6946b460bcebe9db19a015f2cac711f7f5 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Sun, 13 Aug 2017 21:10:44 +0200 Subject: __fortify_fail: Remove internal_function attribute __fortify_fail is called across DSO boundaries, so it should not use a non-standard calling convention. --- debug/fortify_fail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debug/fortify_fail.c') diff --git a/debug/fortify_fail.c b/debug/fortify_fail.c index a0777ae..add5625 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); -- cgit v1.1