Skip to content

Fixed linking with binutils-2.44+#1960

Open
yarda wants to merge 1 commit into
df8oe:active-develfrom
yarda:binutils244-fix
Open

Fixed linking with binutils-2.44+#1960
yarda wants to merge 1 commit into
df8oe:active-develfrom
yarda:binutils244-fix

Conversation

@yarda

@yarda yarda commented Jun 26, 2026

Copy link
Copy Markdown

Since GNU binutils version 2.44, assembly functions must include the assembler directive .type name, %function. If not a call to these functions fails with the error message 'Unknown destination type (ARM/Thumb)' and the error message 'dangerous relocation: unsupported relocation' at linking.

Fix taken from u-boot:
https://lists.denx.de/pipermail/u-boot/2025-May/589101.html

Fixes #1959

Since GNU binutils version 2.44, assembly functions must include
the assembler directive .type name, %function. If not a call to
these functions fails with the error message 'Unknown destination
type (ARM/Thumb)' and the error message 'dangerous relocation:
unsupported relocation' at linking.

Fix taken from u-boot:
https://lists.denx.de/pipermail/u-boot/2025-May/589101.html

Fixes df8oe#1959
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure with binutils-2.44 or newer

1 participant