Landing: ab43017168d4

Project / Subsystem

binutils / bfd

Date

2026-10-02

Author

Jens Remus <jremus@sourceware.org>

Commit

ab43017168d43016e10daf1eb6c5b4c7f4a7c759

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
bfd
patch_id
—
commit_hash
ab43017168d43016e10daf1eb6c5b4c7f4a7c759
source_type
public_inbox
headline
LoongArch: Fix GOT entry confusion for DT_RELR.
tldr
Corrects handling of GOT entries for DT_RELR relocations on LoongArch.
author
Jens Remus <jremus@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • loongarch
  • • linker
  • • elf
  • • relocation
discussion_id_link
—
bugzilla_pr
—
date
2026-10-02T00:00:00.000Z

This commit addresses a “union phase confusion” in the handling of GOT entries for DT_RELR relocations on LoongArch targets. It updates the condition that determines if a GOT entry has been allocated, ensuring it aligns with the offset semantics used after allocate_dynrelocs.