From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31429 invoked by alias); 14 Nov 2014 11:27:26 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 31397 invoked by uid 89); 14 Nov 2014 11:27:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 3 recipients 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; Fri, 14 Nov 2014 11:27:24 +0000 Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id F3F87690404CF; Fri, 14 Nov 2014 11:27:19 +0000 (GMT) Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Fri, 14 Nov 2014 11:27:21 +0000 Received: from LEMAIL01.le.imgtec.org ([fe80::5ae:ee16:f4b9:cda9]) by LEMAIL01.le.imgtec.org ([fe80::5ae:ee16:f4b9:cda9%17]) with mapi id 14.03.0210.002; Fri, 14 Nov 2014 11:27:21 +0000 From: Matthew Fortune To: "Maciej W. Rozycki" CC: Roland McGrath , Richard Sandiford , "binutils@sourceware.org" , "libc-alpha@sourceware.org" , "gdb@sourceware.org" , "Joseph Myers (joseph@codesourcery.com)" , "Moore, Catherine (Catherine_Moore@mentor.com)" , Nikola Veljkovic Subject: RE: [RFC][MIPS] What to do about DT_MIPS_RLD_MAP and PIE Date: Fri, 14 Nov 2014 11:27:00 -0000 Message-ID: <6D39441BF12EF246A7ABCE6654B0235320F7015D@LEMAIL01.le.imgtec.org> References: <6D39441BF12EF246A7ABCE6654B0235320F3027E@LEMAIL01.le.imgtec.org> <6D39441BF12EF246A7ABCE6654B0235320F30462@LEMAIL01.le.imgtec.org> <871tpy37ir.fsf@googlemail.com> <6D39441BF12EF246A7ABCE6654B0235320F385FA@LEMAIL01.le.imgtec.org> <20141030193816.E80F82C3B18@topped-with-meat.com> <6D39441BF12EF246A7ABCE6654B0235320F6A03C@LEMAIL01.le.imgtec.org> <6D39441BF12EF246A7ABCE6654B0235320F6F06F@LEMAIL01.le.imgtec.org> <20141112233232.0D6BF2C3B32@topped-with-meat.com> <6D39441BF12EF246A7ABCE6654B0235320F6F715@LEMAIL01.le.imgtec.org> In-Reply-To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2014-11/txt/msg00020.txt.bz2 > On Thu, 13 Nov 2014, Matthew Fortune wrote: >=20 > > OK, unless anyone objects I will prepare patches on that basis. > > > > It looks like there are no GNU tags defined yet in the 'new' > > OS range for tags. Should I just take the first one? > > > > #define DT_GNU_RLD_MAP 0x6000000d >=20 > That would be the natural choice in my opinion unless someone already > uses it for something in a private tree or branch and did not mention it > so far, but plans to submit their code. I think we shouldn't be causing > hassle to anyone unnecessarily. Do we have a place (other than the > relevant pieces of source code) we use to document our (GNU) ABI > conventions? One concern is over what the GNU ABI encompasses. I.e. We have glibc, uclibc musl and bionic (that I know of) which provide dynamic linker functionality with the linux kernel. If they are independently allowed to define tags then there is a high chance of collision and bugs from accidentally getting a li= nker to target the wrong 'OS'. So do we have to take the 'GNU' OS to mean anything which provides dynamic linking on linux? Is there already a description of what it means and/or can someone think of a sensible description? In some ways doing this as an architecture independent extension may actual= ly require specifying it in the ELF ABI itself. Thanks, Matthew