Landing: 2db1b30eb0eb
Project / Subsystem
gcc / gcc/ada
Date
2026-04-14
Author
Piotr Trojanek
Commit
2db1b30eb0eb69f5080bf40d740300abf2e83c60
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/ada
- patch_id
- —
- commit_hash
- 2db1b30eb0eb69f5080bf40d740300abf2e83c60
- source_type
- github
- headline
- The Ada front end moves gnatmake-specific logic from libgnat
- tldr
- The Ada front end now relocates `gnatmake`-specific library naming logic from the shared `libgnat` to `gnatmake` itself, eliminating a hardcoded workaround.
- author
- Piotr Trojanek
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • build-system
- • refactoring
- • compiler-internals
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-04-14T00:00:00.000Z
This commit disentangles gnatmake-specific logic for hardcoding library names like libXXX.a from the general-purpose libgnat runtime library. Previously, a complicated and ancient workaround existed in libgnat to support gnatmake. Now, this specific logic for __gnat_library_template is moved into gnatmake itself, leading to a cleaner separation of concerns within the Ada compiler components and simplifying make.adb’s Get_Library_File function.