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