summaryrefslogtreecommitdiffstats
path: root/meta/packages/glibc/glibc-cvs/eabi-patch-4
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/glibc/glibc-cvs/eabi-patch-4')
-rw-r--r--meta/packages/glibc/glibc-cvs/eabi-patch-464
1 files changed, 64 insertions, 0 deletions
diff --git a/meta/packages/glibc/glibc-cvs/eabi-patch-4 b/meta/packages/glibc/glibc-cvs/eabi-patch-4
new file mode 100644
index 0000000000..45166ef960
--- /dev/null
+++ b/meta/packages/glibc/glibc-cvs/eabi-patch-4
@@ -0,0 +1,64 @@
1From 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
2Return-Path: <libc-alpha-return-17230-listarch-libc-alpha=sources dot redhat dot com at sources dot redhat dot com>
3Delivered-To: listarch-libc-alpha at sources dot redhat dot com
4Received: (qmail 7764 invoked by alias); 22 Mar 2005 16:24:20 -0000
5Mailing-List: contact libc-alpha-help at sources dot redhat dot com; run by ezmlm
6Precedence: bulk
7List-Subscribe: <mailto:libc-alpha-subscribe at sources dot redhat dot com>
8List-Archive: <http://sources.redhat.com/ml/libc-alpha/>
9List-Post: <mailto:libc-alpha at sources dot redhat dot com>
10List-Help: <mailto:libc-alpha-help at sources dot redhat dot com>, <http://sources dot redhat dot com/ml/#faqs>
11Sender: libc-alpha-owner at sources dot redhat dot com
12Delivered-To: mailing list libc-alpha at sources dot redhat dot com
13Received: (qmail 7316 invoked from network); 22 Mar 2005 16:23:45 -0000
14Received: from unknown (HELO nevyn.them.org) (66.93.172.17)
15 by sourceware dot org with SMTP; 22 Mar 2005 16:23:45 -0000
16Received: from drow by nevyn.them.org with local (Exim 4.50 #1 (Debian))
17 id 1DDmAg-000798-P7
18 for <libc-alpha at sources dot redhat dot com>; Tue, 22 Mar 2005 11:23:58 -0500
19Date: Tue, 22 Mar 2005 11:23:58 -0500
20From: Daniel Jacobowitz <drow at false dot org>
21To: libc-alpha at sources dot redhat dot com
22Subject: Re: Define PT_ARM_EXIDX
23Message-ID: <20050322162358.GA27424@nevyn.them.org>
24Mail-Followup-To: libc-alpha at sources dot redhat dot com
25References: <20050322155140.GA25312@nevyn.them.org>
26Mime-Version: 1.0
27Content-Type: text/plain; charset=us-ascii
28Content-Disposition: inline
29In-Reply-To: <20050322155140 dot GA25312 at nevyn dot them dot org>
30User-Agent: Mutt/1.5.6+20040907i
31
32On 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.
37
38Oops, Ulrich pointed out that I put the constant in the wrong place.
39
40--
41Daniel Jacobowitz
42CodeSourcery, LLC
43
442005-03-22 Daniel Jacobowitz <dan@codesourcery.com>
45
46 * elf/elf.h (PT_ARM_EXIDX): Define.
47
48Index: 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 */
55
56+/* Processor specific values for the Phdr p_type field. */
57+#define PT_ARM_EXIDX 0x70000001 /* .ARM.exidx segment */
58+
59 /* ARM relocs. */
60+
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 */
64