commit 3a404e67e47af514fb892a82c20393ff6b936005 parent 0e4e19bd089f21e3ed275349fa873ff9eae95ae7 Author: Ryan Sepassi <rsepassi@gmail.com> Date: Wed, 17 Jun 2026 11:32:00 -0700 test/driver: rm ld-shared-rejected tests (shared-object emission now supported) Diffstat:
| M | test/driver/run.sh | | | 16 | ---------------- |
1 file changed, 0 insertions(+), 16 deletions(-)
diff --git a/test/driver/run.sh b/test/driver/run.sh @@ -372,22 +372,6 @@ else not_ok "ld-long-output" "$work/ld-long-output.err" fi -# ---- ld -shared is rejected (shared-object emission not yet supported) ---- -cat > "$work/shared-undef.c" <<'SRC' -int missing(void); -int f(void) { return missing(); } -SRC -if "$KIT" cc -target x86_64-linux -fPIC -c "$work/shared-undef.c" \ - -o "$work/shared-undef.o" > "$work/shared-undef-cc.out" \ - 2> "$work/shared-undef-cc.err"; then - run_fail "ld-shared-rejected" "$KIT" ld -shared --no-undefined \ - "$work/shared-undef.o" -o "$work/shared-undef.so" - contains "ld-shared-rejected-diag" "$work/ld-shared-rejected.err" \ - "not yet supported" -else - not_ok "ld-shared-rejected" "$work/shared-undef-cc.err" -fi - # ---- ld -lc expands hosted CRT/libc from --sysroot ---- mkdir -p "$work/ld-hosted-sr/lib" "$work/ld-hosted-sr/include" cat > "$work/ld-hosted-main.c" <<'SRC'