File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 18
18
// by the linker. Otherwise, we may end up with undefined symbol references as
19
19
// the linker table section was never constructed.
20
20
21
- #define DECLARE_SWIFT_SECTION (name ) \
22
- __asm__ (" \t .section " #name " ,\" a\"\n " ); \
23
- __attribute__ ((__visibility__(" hidden" ))) extern const char __start_##name; \
24
- __attribute__ ((__visibility__(" hidden" ))) extern const char __stop_##name;
21
+ #define DECLARE_SWIFT_SECTION (name ) \
22
+ __asm__ (" \t .section " #name " ,\" a\"\n " ); \
23
+ __attribute__ ((__visibility__(" hidden" ),__aligned__( 1 ))) extern const char __start_##name; \
24
+ __attribute__ ((__visibility__(" hidden" ),__aligned__( 1 ) )) extern const char __stop_##name;
25
25
26
26
extern " C" {
27
27
DECLARE_SWIFT_SECTION (swift5_protocols)
You can’t perform that action at this time.
0 commit comments