From 8d997d2253e742546db2b27c8ee56edbbe4c906c Mon Sep 17 00:00:00 2001 From: Ilya Leoshkevich Date: Fri, 10 Aug 2018 09:07:44 +0200 Subject: Move __fentry__ version definition to sysdeps/{i386,x86_64} __fentry__ symbol is currently not defined for other architectures. Attempts to introduce it cause abicheck to fail, because it will be available since 2.29 earliest, and not 2.13, which is the case for Intel. With the new code, abicheck passes for i686-linux-gnu, x86_64-linux-gnu and x86_64-linux-gnu32 triples. ChangeLog: * stdlib/Versions: Remove __fentry__. * sysdeps/i386/Versions: Add __fentry__. * sysdeps/x86_64/Versions: Add __fentry__. --- sysdeps/i386/Versions | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysdeps/i386') diff --git a/sysdeps/i386/Versions b/sysdeps/i386/Versions index 7be44aa..36e23b4 100644 --- a/sysdeps/i386/Versions +++ b/sysdeps/i386/Versions @@ -25,6 +25,9 @@ libc { __strpbrk_cg; __strpbrk_g; __strrchr_c; __strrchr_g; __strspn_c1; __strspn_cg; __strspn_g; __strstr_cg; __strstr_g; } + GLIBC_2.13 { + __fentry__; + } } libm { GLIBC_2.1 { -- cgit v1.1