From patchwork Wed Apr 22 20:21:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 463795 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4343814012C for ; Thu, 23 Apr 2015 06:21:25 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass reason="1024-bit key; unprotected key" header.d=sourceware.org header.i=@sourceware.org header.b=wLqaX0/A; dkim-adsp=none (unprotected policy); dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; q=dns; s=default; b=CC1 DItLrQBS/WMuIXGAI19fU+ZJ5J6vYHSUtaInmicbMfKXjUaoC2W3L3kUh8CWZy/j RWhjbZaQ5Ptt7qjpPOSJmjeCkI1tstZ3x/4/y03ylHqySSz47hWfqzUqMhBWgEs7 V5lWXvhOOuWPvSYcRk6RSuc9WoMPuNDbQCg2AfWE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; s=default; bh=6es6LMbfV /NbegjvKSLodxwJoz4=; b=wLqaX0/AahDLainzTpJ9/VZp4ygI6+iSt/d0d84/U E40sF4TYq6/mQxfh9BAWLIuvOtfB67Anf0o+4nP0FWuUmYnWb0qUtFw9yZh4QmIV PvxVICTJwKe36WGdO5QUboLCbCpt5NQ8X2C3Zj3N1MscwEDla4NAjU5MDSTe2NSD aA= Received: (qmail 93208 invoked by alias); 22 Apr 2015 20:21:20 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 93195 invoked by uid 89); 22 Apr 2015 20:21:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qk0-f176.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=XRgiGWx8Lms6GRmEE6Fnyhcm2ewHGkOBZ1bzDIPBtYA=; b=dUIJvN+YYm7NFd4BZrsRT4YAHS3PtagR8TVrJTQ/v8U0ZhUdQuEP/WzVgDJLbzbs+6 yVH4bd3qZo5erewY5dBPNZkkq5moF+wfJfuzxc63rblzBGzjxpSjAK1EGddbXBV//WM6 irPziKsByMl6Nu28KJQg1eI3ixhthSqPHXq2zmj71IB7Pjrtb+a8KVVEbBpdbm+98Gya xubb6tBg56FKhcqYEQAJBTWt8a8BRmIxfSCfAMRKZTX/+Fzka6Ksq3rUbrWqqoEXhdmP +IgUb6OD4MDcsvIKOd4aFe1olwofgA+n6ZwJa1UpZlOZD3S6Wsn4/QDqvTeMKwd03+h8 HjRg== X-Gm-Message-State: ALoCoQlFHPrdAXeLdbPQZLTI+V0c8+NQW35nbGSrAHu1/S12tElr6XUesYiv6SkdrS14M8jOq9In X-Received: by 10.55.21.87 with SMTP id f84mr53476663qkh.50.1429734075875; Wed, 22 Apr 2015 13:21:15 -0700 (PDT) Message-ID: <553802B8.20502@linaro.org> Date: Wed, 22 Apr 2015 17:21:12 -0300 From: Adhemerval Zanella User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: libc-alpha@sourceware.org Subject: x86: Fix x32 syscall build Working on the vDSO refactor I noted that x86_64/x32 build is broken due some vdso declaration in syscall.list that is shadowing the default x86 implementation. This patch fixes it by removing the auto syscall generation and make x32 uses the default Linux x86 code. Tested on x32, ok to commit? --- * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (gettimeofday): Remove definition. (time): Likewise. --- diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list b/sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list index 2cc58af..7edb6fd 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list +++ b/sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list @@ -1,8 +1,6 @@ # File name Caller Syscall name # args Strong name Weak names fallocate - fallocate Ci:iiii fallocate fallocate64 -gettimeofday - gettimeofday:__vdso_gettimeofday@LINUX_2.6 i:pP __gettimeofday gettimeofday posix_fadvise - fadvise64 Vi:iiii posix_fadvise posix_fadvise64 preadv - preadv Ci:ipii preadv preadv64 pwritev - pwritev Ci:ipii pwritev pwritev64 -time - time:__vdso_time@LINUX_2.6 Ei:P time