Skip to content

Commit d3d4bd2

Browse files
Merge pull request #71768 from kateinoigakukun/pr-5b0947b86ee45b937e9b6fedd0963644227b754d
2 parents ab9e07d + f3f13a2 commit d3d4bd2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

stdlib/public/Resources/wasi/static-executable-args.lnk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@
77
-lwasi-emulated-signal
88
-lwasi-emulated-process-clocks
99
-Xlinker --error-limit=0
10-
-Xlinker --no-gc-sections
1110
-Xlinker --threads=1

stdlib/public/runtime/SwiftRT-ELF-WASM.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ static const void *__backtraceRef __attribute__((used))
3838
#if defined(__ELF__)
3939
# define DECLARE_EMPTY_METADATA_SECTION(name) __asm__("\t.section " #name ",\"a\"\n");
4040
#elif defined(__wasm__)
41-
# define DECLARE_EMPTY_METADATA_SECTION(name) __asm__("\t.section " #name ",\"\",@\n");
41+
# define DECLARE_EMPTY_METADATA_SECTION(name) __asm__("\t.section " #name ",\"R\",@\n");
4242
#endif
4343

4444
#define DECLARE_SWIFT_SECTION(name) \

0 commit comments

Comments
 (0)