Landing: 1f5796eedaf9
Project / Subsystem
binutils / ld
Date
2026-05-07
Author
H.J. Lu <hjl@sourceware.org>
Commit
1f5796eedaf99ad287e347f3dd31a75d71fd4402
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- ld
- patch_id
- —
- commit_hash
- 1f5796eedaf99ad287e347f3dd31a75d71fd4402
- source_type
- public_inbox
- headline
- Fix discarded-qualifiers problems in ldlang.c
- tldr
- Fixes -Wdiscarded-qualifiers errors by using const char* where appropriate in ldlang.c.
- author
- H.J. Lu <hjl@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ld
- • const
- • warning
- • C23
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-07T00:00:00.000Z
Addresses -Wdiscarded-qualifiers warnings in ldlang.c by ensuring that the return value of strchr is assigned to a const char* where appropriate. The archive_path function now returns a const char*, and input_statement_is_archive_path now has a const char* sep argument.