1 |
vapier 07/10/24 06:09:16 |
2 |
|
3 |
Modified: README.history |
4 |
Added: 1080_all_glibc-no-inline-gmon.patch |
5 |
1510_all_glibc-hppa-no-asm-elf-header.patch |
6 |
Log: |
7 |
fix for gcc-4.2 + inlining and forward port hppa headers fixup |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 src/patchsets/glibc/2.7/README.history |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.7/README.history?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.7/README.history?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.7/README.history?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: README.history |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo/src/patchsets/glibc/2.7/README.history,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- README.history 22 Oct 2007 17:00:15 -0000 1.1 |
23 |
+++ README.history 24 Oct 2007 06:09:15 -0000 1.2 |
24 |
@@ -1,3 +1,7 @@ |
25 |
+1.1 24.07.2007 |
26 |
+ + 1080_all_glibc-no-inline-gmon.patch |
27 |
+ + 1510_all_glibc-hppa-no-asm-elf-header.patch |
28 |
+ |
29 |
1.0 22.07.2007 |
30 |
+ 0010_all_glibc-2.7-ssp-compat.patch |
31 |
+ 0030_all_glibc-respect-env-CPPFLAGS.patch |
32 |
|
33 |
|
34 |
|
35 |
1.1 src/patchsets/glibc/2.7/1080_all_glibc-no-inline-gmon.patch |
36 |
|
37 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.7/1080_all_glibc-no-inline-gmon.patch?rev=1.1&view=markup |
38 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.7/1080_all_glibc-no-inline-gmon.patch?rev=1.1&content-type=text/plain |
39 |
|
40 |
Index: 1080_all_glibc-no-inline-gmon.patch |
41 |
=================================================================== |
42 |
http://bugs.gentoo.org/196245 |
43 |
http://sourceware.org/ml/libc-alpha/2006-05/msg00017.html |
44 |
|
45 |
Attached is a patch to add __attribute__ ((noinline)) to |
46 |
call_gmon_start. |
47 |
|
48 |
Without this patch, the sec script that processed initfini.s removes a |
49 |
part of inlined call_gmon_start, causing undefined label errors. |
50 |
|
51 |
This patch solves the problem by forcing gcc not to inline |
52 |
call_gmon_start with __attribute__ ((noinline)). |
53 |
|
54 |
Tested by building for arm-none-lixux-gnueabi. OK to apply? |
55 |
|
56 |
Kazu Hirata |
57 |
|
58 |
2006-05-07 Kazu Hirata <kazu@××××××××××××.com> |
59 |
|
60 |
* sysdeps/generic/initfini.c (call_gmon_start): Add |
61 |
__attribute__ ((noinline)). |
62 |
|
63 |
Index: sysdeps/generic/initfini.c |
64 |
=================================================================== |
65 |
--- sysdeps/generic/initfini.c 16 Aug 2004 04:50:53 -0000 1.9 |
66 |
+++ sysdeps/generic/initfini.c 7 May 2006 15:31:08 -0000 |
67 |
@@ -70,7 +70,7 @@ |
68 |
/* The beginning of _init: */ |
69 |
asm ("\n/*@_init_PROLOG_BEGINS*/"); |
70 |
|
71 |
-static void |
72 |
+static void __attribute__ ((noinline)) |
73 |
call_gmon_start(void) |
74 |
{ |
75 |
extern void __gmon_start__ (void) __attribute__ ((weak)); /*weak_extern (__gmon_start__);*/ |
76 |
|
77 |
|
78 |
|
79 |
1.1 src/patchsets/glibc/2.7/1510_all_glibc-hppa-no-asm-elf-header.patch |
80 |
|
81 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.7/1510_all_glibc-hppa-no-asm-elf-header.patch?rev=1.1&view=markup |
82 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.7/1510_all_glibc-hppa-no-asm-elf-header.patch?rev=1.1&content-type=text/plain |
83 |
|
84 |
Index: 1510_all_glibc-hppa-no-asm-elf-header.patch |
85 |
=================================================================== |
86 |
--- ports/sysdeps/unix/sysv/linux/hppa/sys/user.h |
87 |
+++ ports/sysdeps/unix/sysv/linux/hppa/sys/user.h |
88 |
@@ -0,0 +1,5 @@ |
89 |
+/* This file should not exist, but lots of generic code still includes |
90 |
+ it. It's a hangover from old a.out days and the traditional core |
91 |
+ dump format. We are ELF-only, and so are our core dumps. If we |
92 |
+ need to support HP/UX core format then we'll do it here |
93 |
+ eventually. */ |
94 |
|
95 |
|
96 |
|
97 |
-- |
98 |
gentoo-commits@g.o mailing list |