mailing list of musl libc
 help / color / mirror / code / Atom feed
581e5fce0cf6a3058809baad3d6bba702ddc4424 blob 1770 bytes (raw)

 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
 
--- a/libgcc/crtstuff.c	2023-05-29 17:46:32.000000000 +0900
+++ b/libgcc/crtstuff.c	2024-03-14 06:03:42.398079615 +0900
@@ -441,17 +441,9 @@
 #ifdef FINI_SECTION_ASM_OP
 CRT_CALL_STATIC_FUNCTION (FINI_SECTION_ASM_OP, __do_global_dtors_aux)
 #elif defined (FINI_ARRAY_SECTION_ASM_OP)
-#if defined(__FDPIC__)
-__asm__("\t.equ\t__do_global_dtors_aux_alias, __do_global_dtors_aux\n");
-extern char __do_global_dtors_aux_alias;
-static void *__do_global_dtors_aux_fini_array_entry[]
-__attribute__ ((__used__, section(".fini_array"), aligned(sizeof(void *))))
-     = { &__do_global_dtors_aux_alias };
-#else /* defined(__FDPIC__) */
 static func_ptr __do_global_dtors_aux_fini_array_entry[]
   __attribute__ ((__used__, section(".fini_array"),
 		  aligned(__alignof__(func_ptr)))) = { __do_global_dtors_aux };
-#endif /* defined(__FDPIC__) */
 #else /* !FINI_SECTION_ASM_OP && !FINI_ARRAY_SECTION_ASM_OP */
 static void __attribute__((used))
 __do_global_dtors_aux_1 (void)
@@ -494,17 +486,9 @@
 #ifdef __LIBGCC_INIT_SECTION_ASM_OP__
 CRT_CALL_STATIC_FUNCTION (__LIBGCC_INIT_SECTION_ASM_OP__, frame_dummy)
 #else /* defined(__LIBGCC_INIT_SECTION_ASM_OP__) */
-#if defined(__FDPIC__)
-__asm__("\t.equ\t__frame_dummy_alias, frame_dummy\n");
-extern char __frame_dummy_alias;
-static void *__frame_dummy_init_array_entry[]
-__attribute__ ((__used__, section(".init_array"), aligned(sizeof(void *))))
-     = { &__frame_dummy_alias };
-#else /* defined(__FDPIC__) */
 static func_ptr __frame_dummy_init_array_entry[]
   __attribute__ ((__used__, section(".init_array"),
 		  aligned(__alignof__(func_ptr)))) = { frame_dummy };
-#endif /* defined(__FDPIC__) */
 #endif /* !defined(__LIBGCC_INIT_SECTION_ASM_OP__) */
 #endif /* USE_EH_FRAME_REGISTRY || USE_TM_CLONE_REGISTRY */

debug log:

solving 3986eed9be2275c5b942d47e9760de674df20f39 ...
found 3986eed9be2275c5b942d47e9760de674df20f39 in https://inbox.vuxu.org/musl/ZxjsGeXjnu6lY68X@probook/ ||
	https://inbox.vuxu.org/musl/ZxjsGeXjnu6lY68X@probook/ ||
	https://inbox.vuxu.org/musl/ZxjsGeXjnu6lY68X@probook/

applying [1/3] https://inbox.vuxu.org/musl/ZxjsGeXjnu6lY68X@probook/
diff --git a/patches/gcc-12.4.0/0008-fdpic-crtstuff-pr114158.diff b/patches/gcc-12.4.0/0008-fdpic-crtstuff-pr114158.diff
new file mode 100644
index 0000000000000000000000000000000000000000..3986eed9be2275c5b942d47e9760de674df20f39

1:22: space before tab in indent.
 		  aligned(__alignof__(func_ptr)))) = { __do_global_dtors_aux };
1:40: space before tab in indent.
 		  aligned(__alignof__(func_ptr)))) = { frame_dummy };
Checking patch patches/gcc-12.4.0/0008-fdpic-crtstuff-pr114158.diff...
1:44: new blank line at EOF.
+
Applied patch patches/gcc-12.4.0/0008-fdpic-crtstuff-pr114158.diff cleanly.
warning: 3 lines add whitespace errors.

skipping https://inbox.vuxu.org/musl/ZxjsGeXjnu6lY68X@probook/ for 3986eed9be2275c5b942d47e9760de674df20f39
skipping https://inbox.vuxu.org/musl/ZxjsGeXjnu6lY68X@probook/ for 3986eed9be2275c5b942d47e9760de674df20f39
index at:
100644 581e5fce0cf6a3058809baad3d6bba702ddc4424	patches/gcc-12.4.0/0008-fdpic-crtstuff-pr114158.diff

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).