summaryrefslogtreecommitdiff
path: root/libc/patches/04-sysdeps-generic-bits-sigcontext-h.patch
blob: 8b6726bc3a273fada8c30fcb8b8199ff79fad271 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /bin/sh
patch -p1 -f $* < $0
exit $?

This change makes sysdeps/generic/profil-counter.h compile on a
generic target.  Other parts of glibc depend on sc_pc nowadays.

2004-11-19  Marcus Brinkmann  <marcus@gnu.org>

	* sysdeps/generic/bits/sigcontext.h (struct sigcontext):
	New member sc_pc.


--- ../cvs/libc/sysdeps/generic/bits/sigcontext.h	2001-07-06 06:55:50.000000000 +0200
+++ libc/sysdeps/generic/bits/sigcontext.h	2004-11-19 03:51:05.000000000 +0100
@@ -28,6 +28,7 @@ struct sigcontext
     __sigset_t sc_mask;
 
     /* Registers and such.  */
+    void *sc_pc;
   };
 
 /* Signal subcodes should be defined here.  */