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 X-Patchwork-Id: 47428 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EBDE020553 for ; Wed, 22 Apr 2015 20:21:34 +0000 (UTC) Received: by lamp14 with SMTP id p14sf57238272lam.3 for ; Wed, 22 Apr 2015 13:21:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mailing-list:precedence:list-id :list-unsubscribe:list-subscribe:list-archive:list-post:list-help :sender:delivered-to:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding:x-original-sender :x-original-authentication-results; bh=XRgiGWx8Lms6GRmEE6Fnyhcm2ewHGkOBZ1bzDIPBtYA=; b=JDeCu3y3lc5sOaFjqH06kxu9/8bwf1AgyRGFhwNXDb0bXeRv7QuvwrWuLCvjQIP5Ot VM+PuxzZXff02Vbv6JC2lwsGWGPs4I1gDbtazmblXNojlBu7guJDEu6p94edQzrG7caw h4b/xI275HnU9cBAnD2oXxwqRXYoGplDVH0egDAekprOPoM1wxa1A09Pb5EaGRBto9dS K2N3PJr8IkOb1j5A3r6dgfaihk32VX8WcdWm1MueAYT+ULywNROkwVld8+GJRIetNfTn NSzXzKnx19C6S6GtVflYAbQMnl0hMcZYTpC0+/+bdmja+qZG/AVqXPsTLtbWti0qHYcd vOJg== X-Gm-Message-State: ALoCoQlx+b6FJNyxOYw2O+h1b4NUU0Q9qD80GzLQQm0+2HA8raapNNI08ABLmWSd3u30ywUfs96w X-Received: by 10.112.26.5 with SMTP id h5mr12543115lbg.4.1429734093941; Wed, 22 Apr 2015 13:21:33 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.23.197 with SMTP id o5ls232557laf.66.gmail; Wed, 22 Apr 2015 13:21:33 -0700 (PDT) X-Received: by 10.112.143.137 with SMTP id se9mr26015602lbb.60.1429734093800; Wed, 22 Apr 2015 13:21:33 -0700 (PDT) Received: from mail-lb0-x233.google.com (mail-lb0-x233.google.com. [2a00:1450:4010:c04::233]) by mx.google.com with ESMTPS id li2si4485383lab.51.2015.04.22.13.21.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Apr 2015 13:21:32 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::233 as permitted sender) client-ip=2a00:1450:4010:c04::233; Received: by lbbzk7 with SMTP id zk7so189258772lbb.0 for ; Wed, 22 Apr 2015 13:21:32 -0700 (PDT) X-Received: by 10.152.4.137 with SMTP id k9mr14439821lak.29.1429734092718; Wed, 22 Apr 2015 13:21:32 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.67.65 with SMTP id l1csp167967lbt; Wed, 22 Apr 2015 13:21:31 -0700 (PDT) X-Received: by 10.68.176.3 with SMTP id ce3mr49944339pbc.122.1429734090976; Wed, 22 Apr 2015 13:21:30 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id ku8si9255453pab.103.2015.04.22.13.21.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Apr 2015 13:21:30 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-58531-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 93208 invoked by alias); 22 Apr 2015 20:21:20 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list 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 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-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 X-Original-Sender: adhemerval.zanella@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::233 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@sourceware.org X-Google-Group-Id: 836684582541 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