Landing: 89193eb62f86

Project / Subsystem

binutils / cris

Date

2026-05-14

Author

Alan Modra <amodra@sourceware.org>

Commit

89193eb62f86784772bc5fc2e2cdc649c1bae2df

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
cris
patch_id
commit_hash
89193eb62f86784772bc5fc2e2cdc649c1bae2df
source_type
public_inbox
headline
CRIS: Get machine type from output BFD, not dynamic object.
tldr
Updates the CRIS backend to retrieve machine type from the output BFD, removing a restriction related to dynamic object processing.
author
Alan Modra <amodra@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • bfd
  • cris
  • elf
  • linker
  • dynamic object
discussion_id_link
bugzilla_pr
date
2026-05-14T00:00:00.000Z

The CRIS backend in BFD previously relied on the dynamic object (dynobj) to determine the machine type in elf_cris_adjust_dynamic_symbol. This commit modifies the code to retrieve the machine type directly from the output BFD (info->output_bfd). As a result, a check related to dynobj in cris_elf_check_relocs is no longer needed and is removed, simplifying the code and removing a previous restriction.