mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
sh: Fix static build with --enable-fortify
For static the internal symbols should not be prepended with the internal __GI_. Checked with a make check for sh4-linux-gnu.
This commit is contained in:
@@ -53,7 +53,7 @@ longjmp_msg:
|
||||
.Lstr: \
|
||||
.long longjmp_msg@GOTOFF; \
|
||||
.Lfail: \
|
||||
.long __GI___fortify_fail@PLT-(.Lfail0-.); \
|
||||
.long HIDDEN_JUMPTARGET(__fortify_fail)@PLT-(.Lfail0-.); \
|
||||
cfi_restore_state;
|
||||
#else
|
||||
# define CALL_FAIL \
|
||||
@@ -70,7 +70,7 @@ longjmp_msg:
|
||||
.Lstr: \
|
||||
.long longjmp_msg; \
|
||||
.Lfail: \
|
||||
.long __fortify_fail; \
|
||||
.long HIDDEN_JUMPTARGET(__fortify_fail); \
|
||||
cfi_restore_state;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user