From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 82387 invoked by alias); 5 Apr 2017 15:53:11 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 82318 invoked by uid 89); 5 Apr 2017 15:53:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*i:sk:58E36CE, H*f:sk:58E36CE, H*MI:sk:58E36CE X-HELO: mailapp01.imgtec.com Received: from mailapp01.imgtec.com (HELO mailapp01.imgtec.com) (195.59.15.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 05 Apr 2017 15:53:08 +0000 Received: from HHMAIL01.hh.imgtec.org (unknown [10.100.10.19]) by Forcepoint Email with ESMTPS id 86F03101E0AF8; Wed, 5 Apr 2017 16:53:03 +0100 (IST) Received: from [10.20.78.40] (10.20.78.40) by HHMAIL01.hh.imgtec.org (10.100.10.21) with Microsoft SMTP Server id 14.3.294.0; Wed, 5 Apr 2017 16:53:05 +0100 Date: Wed, 05 Apr 2017 15:53:00 -0000 From: "Maciej W. Rozycki" To: Jan Beulich CC: Andrew Jenner , Nick Clifton , Subject: Re: [PATCH] Add support for ia16 In-Reply-To: <58E36CE7020000780014C6FD@prv-mh.provo.novell.com> Message-ID: References: <58E217DC020000780014BE4E@prv-mh.provo.novell.com> <6ff1ef91-254a-2455-3b0b-3a47e0d5cecb@codesourcery.com> <58E36CE7020000780014C6FD@prv-mh.provo.novell.com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2017-04/txt/msg00040.txt.bz2 On Tue, 4 Apr 2017, Jan Beulich wrote: > x86-64 has the x32 sub-mode, but that is (bogusly imo) indicated > by using a 32-bit ELF instead of the default 64-bit ELF one. FWIW I find the choice of ELF32 correct for an ABI (such as the x86-64 target's x32 ABI I believe is) that has a 32-bit pointer size, as all ELF structures are then consistently 32-bit as well; and as a side effect you also have no technical means to request an invalid address space mapping. The same choice has been also earlier made for the MIPS target's n32 ABI. Maciej