Re: [PATCH 31/32] efi: arm: Simplify the crt0 file and update link script

2025-02-06 Thread Tom Rini
On Thu, Feb 06, 2025 at 02:31:59PM -0700, Simon Glass wrote: > Hi Tom, > > On Thu, 6 Feb 2025 at 10:08, Tom Rini wrote: > > > > On Thu, Feb 06, 2025 at 05:33:30AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 3 Feb 2025 at 19:14, Tom Rini wrote: > > > > > > > > On Mon, Feb 03, 2025

Re: [PATCH 31/32] efi: arm: Simplify the crt0 file and update link script

2025-02-06 Thread Simon Glass
Hi Tom, On Thu, 6 Feb 2025 at 10:08, Tom Rini wrote: > > On Thu, Feb 06, 2025 at 05:33:30AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 3 Feb 2025 at 19:14, Tom Rini wrote: > > > > > > On Mon, Feb 03, 2025 at 05:38:16PM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Mon,

Re: [PATCH 31/32] efi: arm: Simplify the crt0 file and update link script

2025-02-06 Thread Tom Rini
On Thu, Feb 06, 2025 at 05:33:30AM -0700, Simon Glass wrote: > Hi Tom, > > On Mon, 3 Feb 2025 at 19:14, Tom Rini wrote: > > > > On Mon, Feb 03, 2025 at 05:38:16PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 3 Feb 2025 at 13:10, Tom Rini wrote: > > > > > > > > On Mon, Feb 03, 2025

Re: [PATCH 31/32] efi: arm: Simplify the crt0 file and update link script

2025-02-06 Thread Simon Glass
Hi Tom, On Mon, 3 Feb 2025 at 19:14, Tom Rini wrote: > > On Mon, Feb 03, 2025 at 05:38:16PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 3 Feb 2025 at 13:10, Tom Rini wrote: > > > > > > On Mon, Feb 03, 2025 at 10:42:24AM -0700, Simon Glass wrote: > > > > We don't need to manually add th

Re: [PATCH 31/32] efi: arm: Simplify the crt0 file and update link script

2025-02-03 Thread Tom Rini
On Mon, Feb 03, 2025 at 05:38:16PM -0700, Simon Glass wrote: > Hi Tom, > > On Mon, 3 Feb 2025 at 13:10, Tom Rini wrote: > > > > On Mon, Feb 03, 2025 at 10:42:24AM -0700, Simon Glass wrote: > > > We don't need to manually add the PE header, since binutils has support > > > for this now. Remove it

Re: [PATCH 31/32] efi: arm: Simplify the crt0 file and update link script

2025-02-03 Thread Simon Glass
Hi Tom, On Mon, 3 Feb 2025 at 13:10, Tom Rini wrote: > > On Mon, Feb 03, 2025 at 10:42:24AM -0700, Simon Glass wrote: > > We don't need to manually add the PE header, since binutils has support > > for this now. Remove it to simplify the file. > > > > Set the link-target to efi-app-aarch64 so tha

Re: [PATCH 31/32] efi: arm: Simplify the crt0 file and update link script

2025-02-03 Thread Tom Rini
On Mon, Feb 03, 2025 at 10:42:24AM -0700, Simon Glass wrote: > We don't need to manually add the PE header, since binutils has support > for this now. Remove it to simplify the file. > > Set the link-target to efi-app-aarch64 so that binutils knows what to > do. Add rules to pick up the arm64 file

[PATCH 31/32] efi: arm: Simplify the crt0 file and update link script

2025-02-03 Thread Simon Glass
We don't need to manually add the PE header, since binutils has support for this now. Remove it to simplify the file. Set the link-target to efi-app-aarch64 so that binutils knows what to do. Add rules to pick up the arm64 files. Make some updates to the link-script for arm64, so this all works: