Skip to content

Commit f1ad829

Browse files
committed
Pin the reflection data sections on Linux
These had similar problems to the protocol conformance sections during Linux bringup. There are relative offsets from the main reflection section to the two string sections, so their position relative to each other must remain fixed.
1 parent 1d0ee20 commit f1ad829

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stdlib/public/runtime/swift.ld

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
SECTIONS
22
{
3+
.swift3_typeref : { *(.swift3_typeref) },
4+
.swift3_reflstr : { *(.swift3_reflstr) },
5+
.swift3_reflect : { *(.swift3_reflect) },
36
.swift2_protocol_conformances :
47
{
58
.swift2_protocol_conformances_start = . ;

0 commit comments

Comments
 (0)