Skip to content

Commit 824afac

Browse files
[wasm] Remove erroneous note section.
See also: 26ded3f 5e6c8b1
1 parent 9c57ba3 commit 824afac

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

stdlib/public/runtime/SwiftRT-WASM.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,3 @@ static void swift_image_constructor() {
7777

7878
swift_addNewDSOImage(&sections);
7979
}
80-
81-
static __attribute__((__used__))
82-
__attribute__((__section__(".note.swift_reflection_metadata")))
83-
__attribute__((__aligned__(1)))
84-
struct {
85-
const char MagicString[sizeof(SWIFT_REFLECTION_METADATA_ELF_NOTE_MAGIC_STRING)];
86-
const swift::MetadataSections *Sections;
87-
} __attribute__((__packed__))
88-
Note = {SWIFT_REFLECTION_METADATA_ELF_NOTE_MAGIC_STRING, &sections};

0 commit comments

Comments
 (0)