mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 11:43:34 +08: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:
parent
926a4bdbb5
commit
bcf2abd43b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user