|
5 | 5 | //! The `crtx` ones are generally distributed with libc and the `begin/end` ones with gcc.
|
6 | 6 | //! See <https://dev.gentoo.org/~vapier/crt.txt> for some more details.
|
7 | 7 | //!
|
8 |
| -//! | Pre-link CRT objects | glibc | musl | bionic | mingw | wasi | |
9 |
| -//! |----------------------|------------------------|------------------------|------------------|-------------------|------| |
10 |
| -//! | dynamic-nopic-exe | crt1, crti, crtbegin | crt1, crti, crtbegin | crtbegin_dynamic | crt2, crtbegin | crt1 | |
11 |
| -//! | dynamic-pic-exe | Scrt1, crti, crtbeginS | Scrt1, crti, crtbeginS | crtbegin_dynamic | crt2, crtbegin | crt1 | |
12 |
| -//! | static-nopic-exe | crt1, crti, crtbeginT | crt1, crti, crtbegin | crtbegin_static | crt2, crtbegin | crt1 | |
13 |
| -//! | static-pic-exe | rcrt1, crti, crtbeginS | rcrt1, crti, crtbeginS | crtbegin_dynamic | crt2, crtbegin | crt1 | |
14 |
| -//! | dynamic-dylib | crti, crtbeginS | crti, crtbeginS | crtbegin_so | dllcrt2, crtbegin | - | |
15 |
| -//! | static-dylib (gcc) | crti, crtbeginT | crti, crtbeginS | crtbegin_so | dllcrt2, crtbegin | - | |
16 |
| -//! | static-dylib (clang) | crti, crtbeginT | N/A | crtbegin_static | dllcrt2, crtbegin | - | |
| 8 | +//! | Pre-link CRT objects | glibc | musl | bionic | mingw | wasi | |
| 9 | +//! |----------------------|------------------------|------------------------|------------------|-------------------|--------------| |
| 10 | +//! | dynamic-nopic-exe | crt1, crti, crtbegin | crt1, crti, crtbegin | crtbegin_dynamic | crt2, crtbegin | crt1 | |
| 11 | +//! | dynamic-pic-exe | Scrt1, crti, crtbeginS | Scrt1, crti, crtbeginS | crtbegin_dynamic | crt2, crtbegin | crt1 | |
| 12 | +//! | static-nopic-exe | crt1, crti, crtbeginT | crt1, crti, crtbegin | crtbegin_static | crt2, crtbegin | crt1 | |
| 13 | +//! | static-pic-exe | rcrt1, crti, crtbeginS | rcrt1, crti, crtbeginS | crtbegin_dynamic | crt2, crtbegin | crt1 | |
| 14 | +//! | dynamic-dylib | crti, crtbeginS | crti, crtbeginS | crtbegin_so | dllcrt2, crtbegin | - | |
| 15 | +//! | static-dylib (gcc) | crti, crtbeginT | crti, crtbeginS | crtbegin_so | dllcrt2, crtbegin | - | |
| 16 | +//! | static-dylib (clang) | crti, crtbeginT | N/A | crtbegin_static | dllcrt2, crtbegin | - | |
| 17 | +//! | wasi-reactor-exe | N/A | N/A | N/A | N/A | crt1-reactor | |
17 | 18 | //!
|
18 | 19 | //! | Post-link CRT objects | glibc | musl | bionic | mingw | wasi |
|
19 | 20 | //! |-----------------------|---------------|---------------|----------------|--------|------|
|
@@ -105,6 +106,7 @@ pub(super) fn pre_wasi_fallback() -> CrtObjects {
|
105 | 106 | (LinkOutputKind::DynamicPicExe, &["crt1.o"]),
|
106 | 107 | (LinkOutputKind::StaticNoPicExe, &["crt1.o"]),
|
107 | 108 | (LinkOutputKind::StaticPicExe, &["crt1.o"]),
|
| 109 | + (LinkOutputKind::WasiReactorExe, &["crt1-reactor.o"]), |
108 | 110 | ])
|
109 | 111 | }
|
110 | 112 |
|
|
0 commit comments