Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/glibc/2.13: 6225_all_glibc-2.12-eabi-armv4.patch README.history
Date: Wed, 02 May 2012 04:47:06
Message-Id: 20120502044619.90B542004E@flycatcher.gentoo.org
1 vapier 12/05/02 04:46:19
2
3 Modified: README.history
4 Added: 6225_all_glibc-2.12-eabi-armv4.patch
5 Log:
6 add patch from upstream for building on armv4 with eabi (no thumb) #414061 by spock128
7
8 Revision Changes Path
9 1.30 src/patchsets/glibc/2.13/README.history
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.13/README.history?rev=1.30&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.13/README.history?rev=1.30&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.13/README.history?r1=1.29&r2=1.30
14
15 Index: README.history
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo/src/patchsets/glibc/2.13/README.history,v
18 retrieving revision 1.29
19 retrieving revision 1.30
20 diff -u -r1.29 -r1.30
21 --- README.history 27 Apr 2012 06:03:20 -0000 1.29
22 +++ README.history 2 May 2012 04:46:19 -0000 1.30
23 @@ -1,6 +1,7 @@
24 -11 [pending]
25 +11 02 May 2012
26 - 1103_all_glibc-new-valencian-locale.patch
27 - 6020_all_alpha-fix-gcc-4.1-warnings.patch
28 + + 6225_all_glibc-2.12-eabi-armv4.patch
29
30 10 15 Feb 2012
31 + 6305_all_glibc-2.11-s390-older-binutils.patch
32
33
34
35 1.1 src/patchsets/glibc/2.13/6225_all_glibc-2.12-eabi-armv4.patch
36
37 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.13/6225_all_glibc-2.12-eabi-armv4.patch?rev=1.1&view=markup
38 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.13/6225_all_glibc-2.12-eabi-armv4.patch?rev=1.1&content-type=text/plain
39
40 Index: 6225_all_glibc-2.12-eabi-armv4.patch
41 ===================================================================
42 fix building on armv4 eabi (no thumb)
43
44 http://sources.redhat.com/bugzilla/show_bug.cgi?id=12097
45 http://bugs.gentoo.org/414061
46
47 From 3fdf1316ac44fb22cc1ffca1bcc1c9e722504445 Mon Sep 17 00:00:00 2001
48 From: Khem Raj <raj.khem@×××××.com>
49 Date: Wed, 15 Feb 2012 22:09:44 +0000
50 Subject: [PATCH] Only build libc-do-syscall.S in Thumb mode.
51
52 ---
53 ChangeLog.arm | 5 +++++
54 sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S | 5 ++++-
55 2 files changed, 9 insertions(+), 1 deletion(-)
56
57 2012-02-15 Khem Raj <raj.khem@×××××.com>
58
59 * sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S: Disable
60 contents unless __thumb__.
61
62 diff --git a/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S b/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S
63 index 0fca969..3d3792a 100644
64 --- a/ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S
65 +++ b/ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S
66 @@ -1,4 +1,4 @@
67 -/* Copyright (C) 2010 Free Software Foundation, Inc.
68 +/* Copyright (C) 2010-2012 Free Software Foundation, Inc.
69 This file is part of the GNU C Library.
70
71 The GNU C Library is free software; you can redistribute it and/or
72 @@ -25,6 +25,7 @@
73 ARM unwind tables for register to register moves, the actual opcodes
74 are not defined. */
75
76 +#if defined(__thumb__)
77 .thumb
78 .syntax unified
79 .hidden __libc_do_syscall
80 @@ -44,3 +45,5 @@ ENTRY (__libc_do_syscall)
81 pop {r7, pc}
82 .fnend
83 END (__libc_do_syscall)
84 +
85 +#endif /* __thumb__ */
86 --
87 1.7.9.7