[PATCH] or1k: add KEEP section directives to the linkcmds

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Apr 5 06:49:45 UTC 2016


Looks good.

On 05/04/16 08:46, Hesham Almatary wrote:
> From: Hesham Almatary <heshamelmatary at gmail.com>
>
> ---
>   c/src/lib/libbsp/or1k/shared/startup/linkcmds.base | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/c/src/lib/libbsp/or1k/shared/startup/linkcmds.base b/c/src/lib/libbsp/or1k/shared/startup/linkcmds.base
> index 31bb92d..2eefc72 100644
> --- a/c/src/lib/libbsp/or1k/shared/startup/linkcmds.base
> +++ b/c/src/lib/libbsp/or1k/shared/startup/linkcmds.base
> @@ -41,7 +41,7 @@ bsp_processor_count = DEFINED (bsp_processor_count) ? bsp_processor_count : 1;
>   SECTIONS {
>   
>     .vector : ALIGN_WITH_INPUT {
> -    *(.vector)
> +    KEEP (*(.vector))
>       . = ALIGN(bsp_vector_table_size);
>       bsp_section_vector_end = .;
>     } > REGION_VECTOR AT > REGION_VECTOR

-- 
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