From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9131 invoked by alias); 12 Nov 2014 23:11: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 9038 invoked by uid 89); 12 Nov 2014 23:11:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS 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; Wed, 12 Nov 2014 23:11:24 +0000 Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id 44E782D4ACF07; Wed, 12 Nov 2014 23:11:18 +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; Wed, 12 Nov 2014 23:11:22 +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; Wed, 12 Nov 2014 23:11:21 +0000 From: Matthew Fortune To: "Maciej W. Rozycki" , Roland McGrath CC: 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: Wed, 12 Nov 2014 23:11:00 -0000 Message-ID: <6D39441BF12EF246A7ABCE6654B0235320F6F06F@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> In-Reply-To: <6D39441BF12EF246A7ABCE6654B0235320F6A03C@LEMAIL01.le.imgtec.org> 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/msg00012.txt.bz2 Matthew Fortune writes: > I hadn't thought of just using the address of the DT_*RLD_MAP entry. It > does look like it would be easy to implement. >=20 > If we choose to define a DT_GNU_RLD_MAP then I guess it should fit in > with the tags which use the d_val rather than d_ptr as it is an offset > rather than address. Proposed value is below: >=20 > #define DT_GNU_RLD_MAP 0x6ffffdf4 >=20 > I unfortunately have to provide some solution to this out-of-tree to keep > android development moving so will temporarily use a processor specific > tag and switch to whatever this thread concludes. I'll use the scheme > described here though for the content of the tag. Any further opinions on this (whether to make it arch-independent or just a new MIPS tag)? Matthew