@@ -50,25 +50,25 @@ __attribute__((section(".init_array"),
50
50
used )) static void (* __init )(void ) = __do_init ;
51
51
#elif defined(__i386__ ) || defined(__x86_64__ )
52
52
__asm__(".pushsection .init,\"ax\",@progbits\n\t"
53
- "call " __USER_LABEL_PREFIX__ " __do_init\n\t"
54
- ".popsection" );
53
+ "call __do_init\n\t"
54
+ ".popsection" );
55
55
#elif defined(__riscv )
56
56
__asm__(".pushsection .init,\"ax\",%progbits\n\t"
57
- "call " __USER_LABEL_PREFIX__ " __do_init\n\t"
57
+ "call __do_init\n\t"
58
58
".popsection" );
59
59
#elif defined(__arm__ ) || defined(__aarch64__ )
60
60
__asm__(".pushsection .init,\"ax\",%progbits\n\t"
61
- "bl " __USER_LABEL_PREFIX__ " __do_init\n\t"
62
- ".popsection" );
61
+ "bl __do_init\n\t"
62
+ ".popsection" );
63
63
#elif defined(__powerpc__ ) || defined(__powerpc64__ )
64
64
__asm__(".pushsection .init,\"ax\",@progbits\n\t"
65
- "bl " __USER_LABEL_PREFIX__ " __do_init\n\t"
66
- "nop\n\t"
67
- ".popsection" );
65
+ "bl __do_init\n\t"
66
+ "nop\n\t"
67
+ ".popsection" );
68
68
#elif defined(__sparc__ )
69
69
__asm__(".pushsection .init,\"ax\",@progbits\n\t"
70
- "call " __USER_LABEL_PREFIX__ " __do_init\n\t"
71
- ".popsection" );
70
+ "call __do_init\n\t"
71
+ ".popsection" );
72
72
#else
73
73
#error "crtbegin without .init_fini array unimplemented for this architecture"
74
74
#endif // CRT_HAS_INITFINI_ARRAY
@@ -103,25 +103,25 @@ __attribute__((section(".fini_array"),
103
103
used )) static void (* __fini )(void ) = __do_fini ;
104
104
#elif defined(__i386__ ) || defined(__x86_64__ )
105
105
__asm__(".pushsection .fini,\"ax\",@progbits\n\t"
106
- "call " __USER_LABEL_PREFIX__ " __do_fini\n\t"
107
- ".popsection" );
106
+ "call __do_fini\n\t"
107
+ ".popsection" );
108
108
#elif defined(__arm__ ) || defined(__aarch64__ )
109
109
__asm__(".pushsection .fini,\"ax\",%progbits\n\t"
110
- "bl " __USER_LABEL_PREFIX__ " __do_fini\n\t"
111
- ".popsection" );
110
+ "bl __do_fini\n\t"
111
+ ".popsection" );
112
112
#elif defined(__powerpc__ ) || defined(__powerpc64__ )
113
113
__asm__(".pushsection .fini,\"ax\",@progbits\n\t"
114
- "bl " __USER_LABEL_PREFIX__ " __do_fini\n\t"
115
- "nop\n\t"
116
- ".popsection" );
114
+ "bl __do_fini\n\t"
115
+ "nop\n\t"
116
+ ".popsection" );
117
117
#elif defined(__riscv )
118
118
__asm__(".pushsection .fini,\"ax\",@progbits\n\t"
119
- "call " __USER_LABEL_PREFIX__ " __do_fini\n\t"
119
+ "call __do_fini\n\t"
120
120
".popsection" );
121
121
#elif defined(__sparc__ )
122
122
__asm__(".pushsection .fini,\"ax\",@progbits\n\t"
123
- "call " __USER_LABEL_PREFIX__ " __do_fini\n\t"
124
- ".popsection" );
123
+ "call __do_fini\n\t"
124
+ ".popsection" );
125
125
#else
126
126
#error "crtbegin without .init_fini array unimplemented for this architecture"
127
127
#endif // CRT_HAS_INIT_FINI_ARRAY
0 commit comments