File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ __attribute__((section(".init_array"),
52
52
__asm__(".pushsection .init,\"ax\",@progbits\n\t"
53
53
"call " __USER_LABEL_PREFIX__ "__do_init\n\t"
54
54
".popsection" );
55
- #elif defined(__arm__ )
55
+ #elif defined(__arm__ ) || defined( __aarch64__ )
56
56
__asm__(".pushsection .init,\"ax\",%progbits\n\t"
57
57
"bl " __USER_LABEL_PREFIX__ "__do_init\n\t"
58
58
".popsection" );
@@ -101,7 +101,7 @@ __attribute__((section(".fini_array"),
101
101
__asm__(".pushsection .fini,\"ax\",@progbits\n\t"
102
102
"call " __USER_LABEL_PREFIX__ "__do_fini\n\t"
103
103
".popsection" );
104
- #elif defined(__arm__ )
104
+ #elif defined(__arm__ ) || defined( __aarch64__ )
105
105
__asm__(".pushsection .fini,\"ax\",%progbits\n\t"
106
106
"bl " __USER_LABEL_PREFIX__ "__do_fini\n\t"
107
107
".popsection" );
You can’t perform that action at this time.
0 commit comments