1 From libc-alpha-return-17230-listarch-libc-alpha=sources dot redhat dot com at sources dot redhat dot com Tue Mar 22 16:25:01 2005
2 Return-Path: <libc-alpha-return-17230-listarch-libc-alpha=sources dot redhat dot com at sources dot redhat dot com>
3 Delivered-To: listarch-libc-alpha at sources dot redhat dot com
4 Received: (qmail 7764 invoked by alias); 22 Mar 2005 16:24:20 -0000
5 Mailing-List: contact libc-alpha-help at sources dot redhat dot com; run by ezmlm
7 List-Subscribe: <mailto:libc-alpha-subscribe at sources dot redhat dot com>
8 List-Archive: <http://sources.redhat.com/ml/libc-alpha/>
9 List-Post: <mailto:libc-alpha at sources dot redhat dot com>
10 List-Help: <mailto:libc-alpha-help at sources dot redhat dot com>, <http://sources dot redhat dot com/ml/#faqs>
11 Sender: libc-alpha-owner at sources dot redhat dot com
12 Delivered-To: mailing list libc-alpha at sources dot redhat dot com
13 Received: (qmail 7316 invoked from network); 22 Mar 2005 16:23:45 -0000
14 Received: from unknown (HELO nevyn.them.org) (66.93.172.17)
15 by sourceware dot org with SMTP; 22 Mar 2005 16:23:45 -0000
16 Received: from drow by nevyn.them.org with local (Exim 4.50 #1 (Debian))
18 for <libc-alpha at sources dot redhat dot com>; Tue, 22 Mar 2005 11:23:58 -0500
19 Date: Tue, 22 Mar 2005 11:23:58 -0500
20 From: Daniel Jacobowitz <drow at false dot org>
21 To: libc-alpha at sources dot redhat dot com
22 Subject: Re: Define PT_ARM_EXIDX
23 Message-ID: <20050322162358.GA27424@nevyn.them.org>
24 Mail-Followup-To: libc-alpha at sources dot redhat dot com
25 References: <20050322155140.GA25312@nevyn.them.org>
27 Content-Type: text/plain; charset=us-ascii
28 Content-Disposition: inline
29 In-Reply-To: <20050322155140 dot GA25312 at nevyn dot them dot org>
30 User-Agent: Mutt/1.5.6+20040907i
32 On Tue, Mar 22, 2005 at 10:51:40AM -0500, Daniel Jacobowitz wrote:
33 > The ARM EABI uses a program header to locate exception tables for shared
34 > objects, just like PT_GNU_EH_FRAME. But the format is a little different,
35 > and the header is above PT_LOPROC because it was assigned by a processor
36 > vendor. This just adds the constant to elf/elf.h.
38 Oops, Ulrich pointed out that I put the constant in the wrong place.
44 2005-03-22 Daniel Jacobowitz <dan@codesourcery.com>
46 * elf/elf.h (PT_ARM_EXIDX): Define.
48 Index: glibc/elf/elf.h
49 ===================================================================
50 --- glibc.orig/elf/elf.h 2005-03-22 11:21:34.961464117 -0500
51 +++ glibc/elf/elf.h 2005-03-22 11:22:49.872172922 -0500
52 @@ -2138,7 +2138,11 @@ typedef Elf32_Addr Elf32_Conflict;
53 #define PF_ARM_SB 0x10000000 /* Segment contains the location
54 addressed by the static base */
56 +/* Processor specific values for the Phdr p_type field. */
57 +#define PT_ARM_EXIDX 0x70000001 /* .ARM.exidx segment */
61 #define R_ARM_NONE 0 /* No reloc */
62 #define R_ARM_PC24 1 /* PC relative 26 bit branch */
63 #define R_ARM_ABS32 2 /* Direct 32 bit */