https://sourceware.org/bugzilla/show_bug.cgi?id=34062
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2026-04-13
Target Milestone|--- |2.47
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
Status|UNCONFIRMED |ASSIGNED
--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
The root cause of this bug is that
a) we allow linking of object files that don't match the output target, and
b) dynobj can be set from check_relocs for an input object file.
dynobj is used to create the dynamic sections, and in dynamic symbol
processing. sections have target specific extensions to bfd struct section,
and similarly for symbols. For that reason dynobj must match the output target
for proper linker operation. This is not enforced, but should be. Fixing this
is non-trivial.
--
You are receiving this mail because:
You are on the CC list for the bug.