Landing: d64a436d4849

Project / Subsystem

binutils / ld

Date

2026-09-10

Author

Alan Modra <amodra@sourceware.org>

Commit

d64a436d484995ef3a3cb6fa4399cdd2d5bffc19

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
ld
patch_id
—
commit_hash
d64a436d484995ef3a3cb6fa4399cdd2d5bffc19
source_type
public_inbox
headline
Ensure --no-as-needed is used for libdl3b.so test
tldr
A linker test case for shared libraries is updated to explicitly use `--no-as-needed` to ensure correct behavior.
author
Alan Modra <amodra@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • linker
  • • testing
  • • shared libraries
  • • elf
discussion_id_link
—
bugzilla_pr
—
date
2026-09-10T00:00:00.000Z

This change modifies the ld-elf/shared.exp test suite to explicitly pass -Wl,--no-as-needed when testing libdl3b.so. This ensures the test accurately reflects scenarios where libraries are not automatically linked, preventing potential issues caused by compiler defaults.