[PATCH 0/1] arm: add required assembler directive (binutils >=2.44)

Johannes Krottmayer johannes at krotti42.com
Wed May 7 08:07:42 CEST 2025


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.

Johannes Krottmayer (1):
  arm: cpu: armv7m: add required .type name, %function directive

 arch/arm/cpu/armv7m/start.S | 1 +
 1 file changed, 1 insertion(+)

-- 
2.39.5




More information about the U-Boot mailing list