Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

Commit 48efde2

Browse files
vadimcnalexcrichton
authored andcommitted
Only Macs use .subsections_via_symbols
1 parent 9f6e53f commit 48efde2

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

lib/builtins/arm/restore_vfp_d8_d15_regs.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(__restore_vfp_d8_d15_regs)
3131
bx lr // return to prolog
3232
END_COMPILERRT_FUNCTION(__restore_vfp_d8_d15_regs)
3333

34-
// tell linker it can break up file at label boundaries
35-
.subsections_via_symbols
34+
// tell linker it can break up file at label boundaries
35+
FILE_LEVEL_DIRECTIVE

lib/builtins/arm/save_vfp_d8_d15_regs.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(__save_vfp_d8_d15_regs)
3131
bx lr // return to prolog
3232
END_COMPILERRT_FUNCTION(__save_vfp_d8_d15_regs)
3333

34-
// tell linker it can break up file at label boundaries
35-
.subsections_via_symbols
34+
// tell linker it can break up file at label boundaries
35+
FILE_LEVEL_DIRECTIVE

lib/builtins/arm/switch16.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(__switch16)
4242
bx ip // jump to computed label
4343
END_COMPILERRT_FUNCTION(__switch16)
4444

45-
// tell linker it can break up file at label boundaries
46-
.subsections_via_symbols
45+
// tell linker it can break up file at label boundaries
46+
FILE_LEVEL_DIRECTIVE

lib/builtins/arm/switch32.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(__switch32)
4242
bx ip // jump to computed label
4343
END_COMPILERRT_FUNCTION(__switch32)
4444

45-
// tell linker it can break up file at label boundaries
46-
.subsections_via_symbols
45+
// tell linker it can break up file at label boundaries
46+
FILE_LEVEL_DIRECTIVE
4747

lib/builtins/arm/switch8.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(__switch8)
4040
bx ip // jump to computed label
4141
END_COMPILERRT_FUNCTION(__switch8)
4242

43-
// tell linker it can break up file at label boundaries
44-
.subsections_via_symbols
43+
// tell linker it can break up file at label boundaries
44+
FILE_LEVEL_DIRECTIVE
4545

lib/builtins/arm/switchu8.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(__switchu8)
4040
bx ip // jump to computed label
4141
END_COMPILERRT_FUNCTION(__switchu8)
4242

43-
// tell linker it can break up file at label boundaries
44-
.subsections_via_symbols
43+
// tell linker it can break up file at label boundaries
44+
FILE_LEVEL_DIRECTIVE
4545

lib/builtins/arm/sync_synchronize.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(__sync_synchronize)
2929
ldmfd sp!, {r7, pc}
3030
END_COMPILERRT_FUNCTION(__sync_synchronize)
3131

32-
// tell linker it can break up file at label boundaries
33-
.subsections_via_symbols
32+
// tell linker it can break up file at label boundaries
33+
FILE_LEVEL_DIRECTIVE
3434

3535
#endif

0 commit comments

Comments
 (0)