1 |
vapier 12/01/02 22:53:27 |
2 |
|
3 |
Modified: 6235_all_arm-sigreturn-cfi.patch |
4 |
6236_all_arm-sigreturn-cfi-2.patch |
5 |
Log: |
6 |
add more documentation |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 src/patchsets/glibc/2.14.1/6235_all_arm-sigreturn-cfi.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.14.1/6235_all_arm-sigreturn-cfi.patch?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.14.1/6235_all_arm-sigreturn-cfi.patch?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.14.1/6235_all_arm-sigreturn-cfi.patch?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: 6235_all_arm-sigreturn-cfi.patch |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo/src/patchsets/glibc/2.14.1/6235_all_arm-sigreturn-cfi.patch,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- 6235_all_arm-sigreturn-cfi.patch 1 Jan 2012 09:43:04 -0000 1.1 |
22 |
+++ 6235_all_arm-sigreturn-cfi.patch 2 Jan 2012 22:53:27 -0000 1.2 |
23 |
@@ -1,10 +1,30 @@ |
24 |
-http://sourceware.org/bugzilla/show_bug.cgi?id=12354 |
25 |
+http://sourceware.org/ml/libc-ports/2012-01/msg00003.html |
26 |
|
27 |
-fix build errors with newer binutils: |
28 |
-../sysdeps/unix/sysv/linux/arm/sigrestorer.S: Assembler messages: |
29 |
-../sysdeps/unix/sysv/linux/arm/sigrestorer.S:30: Error: previous CFI entry not closed (missing .cfi_endproc) |
30 |
-../sysdeps/unix/sysv/linux/arm/sigrestorer.S:31: Error: open CFI at the end of file; missing .cfi_endproc directive |
31 |
+From 86a3daff28268aec0c0907ab0a025dc28a35b27d Mon Sep 17 00:00:00 2001 |
32 |
+From: Mike Frysinger <vapier@g.o> |
33 |
+Date: Sun, 1 Jan 2012 02:37:11 -0500 |
34 |
+Subject: [PATCH] arm: sigrestorer: fix cfi errors |
35 |
|
36 |
+Building the sigrestorer code with newer binutils fails like so: |
37 |
+.../arm/sigrestorer.S: Assembler messages: |
38 |
+.../arm/sigrestorer.S:30: Error: previous CFI entry not closed (missing .cfi_endproc) |
39 |
+.../arm/sigrestorer.S:31: Error: open CFI at the end of file; missing .cfi_endproc directive |
40 |
+ |
41 |
+URL: http://sourceware.org/bugzilla/show_bug.cgi?id=12354 |
42 |
+Signed-off-by: Mike Frysinger <vapier@g.o> |
43 |
+ |
44 |
+2012-01-02 Mike Frysinger <vapier@g.o> |
45 |
+ |
46 |
+ PR glibc/12354 |
47 |
+ * sysdeps/unix/sysv/linux/arm/sigrestorer.S (__default_sa_restorer): |
48 |
+ Add END(__default_sa_restorer). |
49 |
+ (__default_rt_sa_restorer): Add END(__default_rt_sa_restorer). |
50 |
+--- |
51 |
+ sysdeps/unix/sysv/linux/arm/sigrestorer.S | 2 ++ |
52 |
+ 1 files changed, 2 insertions(+), 0 deletions(-) |
53 |
+ |
54 |
+diff --git a/sysdeps/unix/sysv/linux/arm/sigrestorer.S b/sysdeps/unix/sysv/linux/arm/sigrestorer.S |
55 |
+index 98e33cb..2b811d1 100644 |
56 |
--- a/ports/sysdeps/unix/sysv/linux/arm/sigrestorer.S |
57 |
+++ b/ports/sysdeps/unix/sysv/linux/arm/sigrestorer.S |
58 |
@@ -24,10 +24,12 @@ |
59 |
@@ -20,4 +40,5 @@ |
60 |
+END(__default_rt_sa_restorer) |
61 |
|
62 |
#endif |
63 |
- |
64 |
+-- |
65 |
+1.7.6.1 |
66 |
|
67 |
|
68 |
|
69 |
1.2 src/patchsets/glibc/2.14.1/6236_all_arm-sigreturn-cfi-2.patch |
70 |
|
71 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.14.1/6236_all_arm-sigreturn-cfi-2.patch?rev=1.2&view=markup |
72 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.14.1/6236_all_arm-sigreturn-cfi-2.patch?rev=1.2&content-type=text/plain |
73 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.14.1/6236_all_arm-sigreturn-cfi-2.patch?r1=1.1&r2=1.2 |
74 |
|
75 |
Index: 6236_all_arm-sigreturn-cfi-2.patch |
76 |
=================================================================== |
77 |
RCS file: /var/cvsroot/gentoo/src/patchsets/glibc/2.14.1/6236_all_arm-sigreturn-cfi-2.patch,v |
78 |
retrieving revision 1.1 |
79 |
retrieving revision 1.2 |
80 |
diff -u -r1.1 -r1.2 |
81 |
--- 6236_all_arm-sigreturn-cfi-2.patch 1 Jan 2012 09:43:04 -0000 1.1 |
82 |
+++ 6236_all_arm-sigreturn-cfi-2.patch 2 Jan 2012 22:53:27 -0000 1.2 |
83 |
@@ -1,4 +1,13 @@ |
84 |
-fix build errors with newer binutils: |
85 |
+http://sourceware.org/ml/libc-ports/2012-01/msg00002.html |
86 |
+ |
87 |
+From 16df464882693e90366a6f843a78536ec602051e Mon Sep 17 00:00:00 2001 |
88 |
+From: Mike Frysinger <vapier@g.o> |
89 |
+Date: Mon, 2 Jan 2012 17:33:28 -0500 |
90 |
+Subject: [PATCH] arm: fix cfi errors with newer binutils |
91 |
+ |
92 |
+When building code that uses the PSEUDO() in sysdep-cancel.h with |
93 |
+newer binutils, we hit many failures like this: |
94 |
+ |
95 |
../sysdeps/unix/syscall-template.S: Assembler messages: |
96 |
../sysdeps/unix/syscall-template.S:82: Error: CFI instruction used without previous .cfi_startproc |
97 |
../sysdeps/unix/syscall-template.S:82: Error: CFI instruction used without previous .cfi_startproc |
98 |
@@ -6,6 +15,21 @@ |
99 |
../sysdeps/unix/syscall-template.S:82: Error: CFI instruction used without previous .cfi_startproc |
100 |
make[2]: *** [build/misc/select.o] Error 1 |
101 |
|
102 |
+Change the local nocancl version to use the ENTRY/END macros rather |
103 |
+than open coding it so we get automatic cfi handling. |
104 |
+ |
105 |
+Signed-off-by: Mike Frysinger <vapier@g.o> |
106 |
+ |
107 |
+2012-01-02 Mike Frysinger <vapier@g.o> |
108 |
+ |
109 |
+ * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h (PSEUDO): Change |
110 |
+ .type/.globl/label to ENTRY(). Change .size to END(). |
111 |
+--- |
112 |
+ sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h | 6 ++---- |
113 |
+ 1 files changed, 2 insertions(+), 4 deletions(-) |
114 |
+ |
115 |
+diff --git a/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h b/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h |
116 |
+index 9c80771..76d9677 100644 |
117 |
--- a/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h |
118 |
+++ b/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h |
119 |
@@ -28,12 +28,10 @@ |
120 |
@@ -23,3 +47,5 @@ |
121 |
ENTRY (name); \ |
122 |
SINGLE_THREAD_P; \ |
123 |
DOARGS_##args; \ |
124 |
+-- |
125 |
+1.7.6.1 |