]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
cris: dynobj mach
authorAlan Modra <amodra@gmail.com>
Sun, 10 May 2026 23:47:52 +0000 (09:17 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 14 May 2026 06:38:51 +0000 (16:08 +0930)
commit89193eb62f86784772bc5fc2e2cdc649c1bae2df
tree0417bdf5c86380f8cffbde684951f30506535830
parentbd8942a0e049a466f9b649364bf53445fb47dd0c
cris: dynobj mach

A comment in cris check_relocs bemoans not being able to access the
output bfd in adjust_dynamic_symbol.  A little over three years after
the comment was written, commit f13a99db51c0 gave that access.  So
let's make use of it and remove a restriction.

* elf32-cris.c (elf_cris_adjust_dynamic_symbol): Get mach from
output bfd, not dynobj.
(cris_elf_check_relocs): Remove dynobj mach check.
bfd/elf32-cris.c