Skip to content

Commit

Permalink
Merge pull request #71768 from kateinoigakukun/pr-5b0947b86ee45b937e9…
Browse files Browse the repository at this point in the history
…b6fedd0963644227b754d
  • Loading branch information
kateinoigakukun authored Feb 21, 2024
2 parents ab9e07d + f3f13a2 commit d3d4bd2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion stdlib/public/Resources/wasi/static-executable-args.lnk
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@
-lwasi-emulated-signal
-lwasi-emulated-process-clocks
-Xlinker --error-limit=0
-Xlinker --no-gc-sections
-Xlinker --threads=1
2 changes: 1 addition & 1 deletion stdlib/public/runtime/SwiftRT-ELF-WASM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ static const void *__backtraceRef __attribute__((used))
#if defined(__ELF__)
# define DECLARE_EMPTY_METADATA_SECTION(name) __asm__("\t.section " #name ",\"a\"\n");
#elif defined(__wasm__)
# define DECLARE_EMPTY_METADATA_SECTION(name) __asm__("\t.section " #name ",\"\",@\n");
# define DECLARE_EMPTY_METADATA_SECTION(name) __asm__("\t.section " #name ",\"R\",@\n");
#endif

#define DECLARE_SWIFT_SECTION(name) \
Expand Down

0 comments on commit d3d4bd2

Please sign in to comment.