Landing: 5a1d6df1a48f

Project / Subsystem

binutils / frv

Date

2026-05-14

Author

Alan Modra <amodra@sourceware.org>

Commit

5a1d6df1a48fbfdda9ca203af7b5bdecf5ff403a

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
frv
patch_id
commit_hash
5a1d6df1a48fbfdda9ca203af7b5bdecf5ff403a
source_type
public_inbox
headline
FRV: Test frvfdpic_relocs_info directly instead of dynobj.
tldr
Modifies the FRV backend to test ``frvfdpic_relocs_info`` directly instead of relying on ``dynobj`` to determine if relocations info is available.
author
Alan Modra <amodra@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • bfd
  • frv
  • elf
  • linker
  • relocations
discussion_id_link
bugzilla_pr
date
2026-05-14T00:00:00.000Z

The function elf32_frvfdpic_late_size_sections in the FRV backend of BFD previously checked for non-NULL dynobj to determine whether to process frvfdpic_relocs_info. This commit changes the check to directly evaluate frvfdpic_relocs_info instead of relying on dynobj, making the code more robust against potential future changes where the relationship between these two variables might change.