Landing: 367e9db291f9

Project / Subsystem

binutils / lm32

Date

2026-05-14

Author

Alan Modra <amodra@sourceware.org>

Commit

367e9db291f9b9158cd28695b080785fbabbbff0

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
lm32
patch_id
commit_hash
367e9db291f9b9158cd28695b080785fbabbbff0
source_type
public_inbox
headline
LM32: Remove duplicate call to create GOT section.
tldr
Removes a redundant call to ``_bfd_elf_create_got_section`` in ``lm32_elf_create_dynamic_sections``, simplifying the code.
author
Alan Modra <amodra@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • bfd
  • lm32
  • elf
  • linker
  • got
discussion_id_link
bugzilla_pr
date
2026-05-14T00:00:00.000Z

The function lm32_elf_create_dynamic_sections in the LM32 backend of BFD contained two calls to _bfd_elf_create_got_section. This commit removes one of the calls, as a single call suffices to create the GOT section. This simplifies the code without changing its functionality.