[PATCH v2 1/1] arm: cpu: armv7m: add ENTRY/ENDPROC macros
Tom Rini
trini at konsulko.com
Thu May 8 21:33:40 CEST 2025
On Thu, May 08, 2025 at 07:00:28PM +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.
>
> Signed-off-by: Johannes Krottmayer <johannes at krotti42.com>
> Cc: Tom Rini <trini at konsulko.com>
Reviewed-by: Tom Rini <trini at konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250508/0a700a33/attachment.sig>
More information about the U-Boot
mailing list