From: Tom Rini <trini@konsulko.com>
To: Johannes Krottmayer <johannes@krotti42.com>
Cc: u-boot@lists.denx.de
Subject: Re: [PATCH v2 1/1] arm: cpu: armv7m: add ENTRY/ENDPROC macros
Date: Thu, 8 May 2025 13:33:40 -0600 [thread overview]
Message-ID: <20250508193340.GE603748@bill-the-cat> (raw)
In-Reply-To: <20250508185943.628503-1-johannes@krotti42.com>
[-- Attachment #1: Type: text/plain, Size: 648 bytes --]
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@krotti42.com>
> Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
next prev parent reply other threads:[~2025-05-08 19:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-07 6:07 [PATCH 0/1] arm: add required assembler directive (binutils >=2.44) Johannes Krottmayer
2025-05-07 6:07 ` [PATCH 1/1] arm: cpu: armv7m: add required .type name, %function directive Johannes Krottmayer
2025-05-07 16:55 ` Tom Rini
2025-05-07 18:17 ` Johannes Krottmayer
2025-05-07 19:07 ` Johannes Krottmayer
2025-05-07 21:18 ` Johannes Krottmayer
2025-05-07 22:51 ` Tom Rini
2025-05-07 23:36 ` Johannes Krottmayer
2025-05-08 19:00 ` [PATCH v2 1/1] arm: cpu: armv7m: add ENTRY/ENDPROC macros Johannes Krottmayer
2025-05-08 19:09 ` Johannes Krottmayer
2025-05-08 19:34 ` Tom Rini
2025-05-08 19:33 ` Tom Rini [this message]
2025-05-22 19:36 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250508193340.GE603748@bill-the-cat \
--to=trini@konsulko.com \
--cc=johannes@krotti42.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.