Package: glibc / 2.28-10

hurd-i386/tg-hooks.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
Subject: [PATCH] t/hooks

Add link rules to sort hooks, otherwise they are not properly recorded

2012-04-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>

        * Makerules (shlib.lds): Add hurd hooks sorting rules.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

---
 Makerules |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

--- a/Makerules
+++ b/Makerules
@@ -565,6 +565,45 @@
 		 PROVIDE(__start___libc_IO_vtables = .);\
 		 __libc_IO_vtables : { *(__libc_IO_vtables) }\
 		 PROVIDE(__stop___libc_IO_vtables = .);\
+		 PROVIDE(__start__hurd_fd_subinit = .);\
+		 _hurd_fd_subinit : { *(_hurd_fd_subinit) }\
+		 PROVIDE(__stop__hurd_fd_subinit = .);\
+		 PROVIDE(__start__hurd_XXX = .);\
+		 _hurd_XXX : { *(_hurd_XXX) }\
+		 PROVIDE(__stop__hurd_XXX = .);\
+		 PROVIDE(__start__hurd_subinit = .);\
+		 _hurd_subinit : { *(_hurd_subinit) }\
+		 PROVIDE(__stop__hurd_subinit = .);\
+		 PROVIDE(__start__hurd_proc_subinit = .);\
+		 _hurd_proc_subinit : { *(_hurd_proc_subinit) }\
+		 PROVIDE(__stop__hurd_proc_subinit = .);\
+		 PROVIDE(__start__hurd_reauth_hook = .);\
+		 _hurd_reauth_hook : { *(_hurd_reauth_hook) }\
+		 PROVIDE(__stop__hurd_reauth_hook = .);\
+		 PROVIDE(__start__hurd_pgrp_changed_hook = .);\
+		 _hurd_pgrp_changed_hook : { *(_hurd_pgrp_changed_hook) }\
+		 PROVIDE(__stop__hurd_pgrp_changed_hook = .);\
+		 PROVIDE(__start__hurd_preinit_hook = .);\
+		 _hurd_preinit_hook : { *(_hurd_preinit_hook) }\
+		 PROVIDE(__stop__hurd_preinit_hook = .);\
+		 PROVIDE(__start__hurd_fork_prepare_hook = .);\
+		 _hurd_fork_prepare_hook : { *(_hurd_fork_prepare_hook) }\
+		 PROVIDE(__stop__hurd_fork_prepare_hook = .);\
+		 PROVIDE(__start__hurd_fork_setup_hook = .);\
+		 _hurd_fork_setup_hook : { *(_hurd_fork_setup_hook) }\
+		 PROVIDE(__stop__hurd_fork_setup_hook = .);\
+		 PROVIDE(__start__hurd_fork_child_hook = .);\
+		 _hurd_fork_child_hook : { *(_hurd_fork_child_hook) }\
+		 PROVIDE(__stop__hurd_fork_child_hook = .);\
+		 PROVIDE(__start__hurd_fork_parent_hook = .);\
+		 _hurd_fork_parent_hook : { *(_hurd_fork_parent_hook) }\
+		 PROVIDE(__stop__hurd_fork_parent_hook = .);\
+		 PROVIDE(__start__hurd_fork_locks = .);\
+		 _hurd_fork_locks : { *(_hurd_fork_locks) }\
+		 PROVIDE(__stop__hurd_fork_locks = .);\
+		 PROVIDE(__start___pthread_init = .);\
+		 __pthread_init : { *(__pthread_init) }\
+		 PROVIDE(__stop___pthread_init = .);\
 		 /DISCARD/ : { *(.gnu.glibc-stub.*) }@'
 	test -s $@T
 	mv -f $@T $@