From owner-freebsd-arch@freebsd.org Mon Sep 11 19:32:04 2017 Return-Path: Delivered-To: freebsd-arch@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 3EB3BE1F8C0 for ; Mon, 11 Sep 2017 19:32:04 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 277E46F712 for ; Mon, 11 Sep 2017 19:32:04 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: by mailman.ysv.freebsd.org (Postfix) id 26B52E1F8BF; Mon, 11 Sep 2017 19:32:04 +0000 (UTC) Delivered-To: arch@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 264E3E1F8BE for ; Mon, 11 Sep 2017 19:32:04 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from mail.xcllnt.net (mail.xcllnt.net [50.0.150.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EF6606F711; Mon, 11 Sep 2017 19:32:03 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from marcels-mbp.int.brkt.com (cerberus.brkt.com [208.185.168.138]) (authenticated bits=0) by mail.xcllnt.net (8.15.2/8.15.2) with ESMTPSA id v8BJ58Pi080647 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 11 Sep 2017 12:05:09 -0700 (PDT) (envelope-from marcel@xcllnt.net) From: Marcel Moolenaar Message-Id: <26458208-EC4B-4647-8271-DF480EDD57DF@xcllnt.net> Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: ELF auxiliary vector tags Date: Mon, 11 Sep 2017 12:05:02 -0700 In-Reply-To: Cc: arch@freebsd.org To: John Baldwin References: X-Mailer: Apple Mail (2.3273) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (mail.xcllnt.net [50.0.150.214]); Mon, 11 Sep 2017 12:05:09 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2017 19:32:04 -0000 > On Sep 8, 2017, at 10:36 AM, John Baldwin wrote: > I know Justin changed time_t to 64-bit on 32-bit powerpc which = effectively broke 32-bit powerpc earlier, but this change would break = both 32-bit and 64-bit powerpc and is probably more disruptive (in = theory some binaries might have worked with a wrong time_t, but renumber = AT_STACKPROT, etc. will probably break every binary). That probably depends on the byte order. I would think widening time_t on a big-endian machine is a lot more disruptive than doing it on a little-endian machine. That said and along the lines of what @imp said: Maybe add a a MD macro (e.g. NO_MI_AUX_VECTORS) whose existence suppresses the MI definitions of AT_* so that MD headers can define their own? --=20 Marcel Moolenaar marcel@xcllnt.net