diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-01-16 13:07:47 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-01-22 10:04:53 -0300 |
commit | bcf2abd43bbe6ffdd8b6a1e1e36cc67a9769e508 (patch) | |
tree | 662cf5127670b3edd8491f764b8c149f4ecc33fb /sysdeps/unix | |
parent | 926a4bdbb5fc8955570208b5571b2d04c6ffbd1d (diff) | |
download | glibc-bcf2abd43bbe6ffdd8b6a1e1e36cc67a9769e508.zip glibc-bcf2abd43bbe6ffdd8b6a1e1e36cc67a9769e508.tar.gz glibc-bcf2abd43bbe6ffdd8b6a1e1e36cc67a9769e508.tar.bz2 |
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.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/sh/____longjmp_chk.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/sh/____longjmp_chk.S b/sysdeps/unix/sysv/linux/sh/____longjmp_chk.S index ede6551..f61db0b 100644 --- a/sysdeps/unix/sysv/linux/sh/____longjmp_chk.S +++ b/sysdeps/unix/sysv/linux/sh/____longjmp_chk.S @@ -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 |