Landing: 24602a75d128
Project / Subsystem
binutils / ld
Date
2026-05-07
Author
John David Anglin <danglin@sourceware.org>
Commit
24602a75d1288d0c8832f26c431f7899db7f726d
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- ld
- patch_id
- —
- commit_hash
- 24602a75d1288d0c8832f26c431f7899db7f726d
- source_type
- public_inbox
- headline
- ld: Append LDFLAGS to flags variable in default_ld_link
- tldr
- The ld-link procedure now appends LDFLAGS to the flags variable, fixing issues with loading archives for specific targets.
- author
- John David Anglin <danglin@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ld
- • testsuite
- • linking
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-07T00:00:00.000Z
The default_ld_link procedure in the linker testsuite now appends the contents of the LDFLAGS environment variable to the flags used for linking. This resolves issues encountered when loading archives for the hppa*64*-*-hpux* target when the host system is not HP-UX, ensuring test suites take LDFLAGS into account.