[PATCH v2 1/1] arm: cpu: armv7m: add ENTRY/ENDPROC macros

Tom Rini trini at konsulko.com
Thu May 22 21:36:28 CEST 2025


On Thu, 08 May 2025 19:00:28 +0000, Johannes Krottmayer wrote:

> 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.
> 
> The macros ENTRY/ENDPROC includes this directive and should be
> used for all assembly functions.
> 
> [...]

Applied to u-boot/next, thanks!

[1/1] arm: cpu: armv7m: add ENTRY/ENDPROC macros
      commit: 0a006371578a8f098c1850b0097c1af68c018165
-- 
Tom




More information about the U-Boot mailing list