Landing: bd8942a0e049
Project / Subsystem
binutils / arm
Date
2026-05-14
Author
Alan Modra <amodra@sourceware.org>
Commit
bd8942a0e049a466f9b649364bf53445fb47dd0c
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- arm
- patch_id
- —
- commit_hash
- bd8942a0e049a466f9b649364bf53445fb47dd0c
- source_type
- public_inbox
- headline
- ARM: Delay setting PLT header and entry size.
- tldr
- Delays the initialization of PLT-related variables in the ARM backend to ensure correct values are used, and moves some related functions.
- author
- Alan Modra <amodra@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • bfd
- • arm
- • elf
- • linker
- • plt
- discussion_id_link
- public_inbox:binutils#16017
- bugzilla_pr
- —
- date
- 2026-05-14T00:00:00.000Z
The ARM backend in BFD previously set the PLT header and entry sizes in elf32_arm_create_dynamic_sections. However, this required a workaround for using_thumb_only() because the output file attributes were not yet set. This commit moves the initialization of these variables to elf32_arm_late_size_sections, which is called after lang_check runs and guarantees that the values are initialized for all later uses. The commit also moves related functions and removes an unnecessary abort check.