[PATCH v2 7/8] bsps: Add Cortex-A53 LP64 basic BSP

Kinsey Moore kinsey.moore at oarcorp.com
Wed Sep 30 20:04:56 UTC 2020


-----Original Message-----
From: Sebastian Huber <sebastian.huber at embedded-brains.de> 
Sent: Tuesday, September 29, 2020 06:49
To: Kinsey Moore <kinsey.moore at oarcorp.com>; devel at rtems.org
Subject: Re: [PATCH v2 7/8] bsps: Add Cortex-A53 LP64 basic BSP

On 28/09/2020 17:24, Kinsey Moore wrote:

> diff --git a/bsps/aarch64/shared/start/linkcmds.base 
> b/bsps/aarch64/shared/start/linkcmds.base
> new file mode 100644
> index 0000000000..f67404ab62
> --- /dev/null
> +++ b/bsps/aarch64/shared/start/linkcmds.base
> @@ -0,0 +1,450 @@
> +/* SPDX-License-Identifier: BSD-2-Clause */
> +
> +/**
> + * @file
> + *
> + * @ingroup bsp_linker
> + *
> + * @brief Linker command base file.
> + */
> +
> +/*
> + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR)
> + * Written by Kinsey Moore<kinsey.moore at oarcorp.com>
This looks like a modified copy of bsps/arm/shared/start/linkcmds.base. 
Are there significant differences or could we share this linker script on arm and aarch64?
[] 
They are similar and could probably share large sections, but a single base linker script is not shareable between arm and aarch64 due to aarch64 multilibs needing different OUTPUT_FORMAT and OUTPUT_ARCH directives as well as having differing setups for their various respective exception stacks.

Kinsey


More information about the devel mailing list