Landing: f4393610541b
Project / Subsystem
binutils / bfd
Date
2026-08-17
Author
Alan Modra <amodra@gmail.com>
Commit
f4393610541bcd0923b7222d72019dc2f5027cc0
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- bfd
- patch_id
- —
- commit_hash
- f4393610541bcd0923b7222d72019dc2f5027cc0
- source_type
- public_inbox
- headline
- Remove redundant dynobj assignments in elfnn-kvx.c and elfnn-loongarch.c
- tldr
- Cleans up linker code by removing unnecessary duplicate assignments of the dynobj.
- author
- Alan Modra <amodra@gmail.com>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • linker
- • optimization
- • code-cleanup
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-17T00:00:00.000Z
This commit removes redundant assignments to the dynobj variable in the kvx_elf_create_got_section function (elfnn-kvx.c) and loongarch_elf_check_relocs function (elfnn-loongarch.c). These assignments were duplicates of earlier assignments, making the code slightly less efficient and harder to read.