mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
__fortify_fail: Remove internal_function attribute
__fortify_fail is called across DSO boundaries, so it should not use a non-standard calling convention.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user