From owner-freebsd-toolchain@freebsd.org Sun Feb 14 23:46:14 2016 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 339E9AA92BD for ; Sun, 14 Feb 2016 23:46:14 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from d.mail.sonic.net (d.mail.sonic.net [64.142.111.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 228FC11C5 for ; Sun, 14 Feb 2016 23:46:13 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from zeppelin.tachypleus.net (airbears2-136-152-142-127.airbears2.berkeley.edu [136.152.142.127]) (authenticated bits=0) by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id u1ENk5ii003813 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Sun, 14 Feb 2016 15:46:06 -0800 Subject: Re: I've submitted 207175 for a clang 3.8.0 va_list handling problem for powerpc To: freebsd-toolchain@freebsd.org References: <20160214192903.GA96697@vlakno.cz> <70B405C4-E1AC-4F35-9786-051FDA2F8BE7@dsl-only.net> From: Nathan Whitehorn Message-ID: <56C111BD.8090701@freebsd.org> Date: Sun, 14 Feb 2016 15:46:05 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <70B405C4-E1AC-4F35-9786-051FDA2F8BE7@dsl-only.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Sonic-CAuth: UmFuZG9tSVYfzufWPjlwbio8EQWrpEFKc1Ps9wzqDxirWlky1/qiiv6qXsQiRkgH1jWFPyxASvy5XjtwBR0Zdurgs3UoIbyQEwky6a7EawI= X-Sonic-ID: C;uEc1HXXT5RGiJXFkAoajKQ== M;1GdiHXXT5RGiJXFkAoajKQ== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 23:46:14 -0000 On 02/14/16 14:34, Mark Millard wrote: > clang's code base is not familiar material for me nor do I have solid > reference material for the FreeBSD TARGET_ARCH=powerpc ABI rules so > the below has my guess work involved. The following code appears to > have hard wired a global, unvarying constant (8) into the test for > picking UsingRegs vs. UsingOverflow. For reference, we use the standard ELF ABI (https://uclibc.org/docs/psABI-ppc.pdf). -Nathan