[PATCH v2] Fix missing vm86 symbol

Andreas Jaeger aj@suse.com
Fri May 4 07:40:00 GMT 2012


On 05/01/2012 02:04 AM, Roland McGrath wrote:
> Looks OK to me but certainly requires verified testing.
>
> Thanks,
> Roland

Just testing myself on i686 since I'd like to have the testsuite pass again:

The diff for sysd-syscalls is:

--- sysd-syscalls.old   2012-05-04 09:29:19.091100561 +0200
+++ sysd-syscalls       2012-05-04 09:29:25.821345128 +0200
@@ -76,8 +76,7 @@
          echo '#define SYSCALL_NARGS 2'; \
          echo '#define SYSCALL_SYMBOL __vm86'; \
          echo '#include <syscall-template.S>'; \
-        echo 'weak_alias (__vm86, vm86)'; \
-        echo 'libc_hidden_weak (vm86)'; \
+        echo 'default_symbol_version(__vm86, vm86, GLIBC_2.3.4)'; \
         ) | $(compile-syscall) $(foreach p,$(patsubst 
%vm86,%,$(basename $(@F))),$($(p)CPPFLAGS))
  endif
  ifeq (,$(filter vm86,$(bp-thunks)))
@@ -90,8 +89,6 @@
          echo '  return (__vm86) (i1a, CHECK_1 (p2a)); \'; \
          echo '} \'; \
          echo 'libc_hidden_def (BP_SYM (__vm86)) \'; \
-        echo 'weak_alias (BP_SYM (__vm86), BP_SYM (vm86)) \'; \
-        echo 'libc_hidden_weak (BP_SYM (vm86)) \'; \
          echo ''; \
          echo '#include <bp-thunks.h>'; \
         ) | $(COMPILE.c) -x c -o $@ -


Tested on both Linux/x86-64 and Linux/x86.

And now make check-abi passes. Andreas, please commit,

Andreas
-- 
  Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
   SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
    GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
     GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126



More information about the Libc-alpha mailing list