[PATCH v2 7/8] bsps: Add Cortex-A53 LP64 basic BSP
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Oct 1 05:05:09 UTC 2020
On 30/09/2020 22:04, Kinsey Moore wrote:
> -----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.
Can't this be solved via an INCLUDE similar to linkcmds.armv4 and
linkcmds.armv7m?
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list