public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH] Support building on macOS/arm64
Date: Sun, 28 Mar 2021 20:29:08 -0400	[thread overview]
Message-ID: <20210329002908.GC1310@bill-the-cat> (raw)
In-Reply-To: <20210320204305.82040-1-jrtc27@jrtc27.com>

On Sat, Mar 20, 2021 at 08:43:05PM +0000, Jessica Clarke wrote:

> On Arm-based Macs, -no_pie is ignored and gives a linker warning.
> Moreover, the build falls over with:
> 
>   ld: Absolute addressing not allowed in arm64 code but used in '_image_type_ptr_aisimage' referencing '_image_type_aisimage'
> 
> for dumpimage and mkimage, since we put data structs in text sections
> not data sections and so cannot have dynamic relocations. Instead, move
> the sections to __DATA and drop disabling PIE.
> 
> Signed-off-by: Jessica Clarke <jrtc27@jrtc27.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!

-- 
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/20210328/d13215a9/attachment.sig>

      parent reply	other threads:[~2021-03-29  0:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-20 20:43 [PATCH] Support building on macOS/arm64 Jessica Clarke
2021-03-22 20:35 ` Tom Rini
2021-03-29  0:29 ` Tom Rini [this message]

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=20210329002908.GC1310@bill-the-cat \
    --to=trini@konsulko.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox