* RE: [PATCH 2/2] [ARC] Add JLI support.[PING]
@ 2017-06-14 12:26 Claudiu Zissulescu
0 siblings, 0 replies; only message in thread
From: Claudiu Zissulescu @ 2017-06-14 12:26 UTC (permalink / raw)
To: newlib; +Cc: Anton Kolesov, Francois Bedard
Ping
> -----Original Message-----
> From: Claudiu Zissulescu
> Sent: Tuesday, May 23, 2017 3:06 PM
> To: newlib@sourceware.org
> Cc: Claudiu Zissulescu <claziss@synopsys.com>; Anton Kolesov
> <akolesov@synopsys.com>; Francois Bedard <fbedard@synopsys.com>
> Subject: [PATCH 2/2] [ARC] Add JLI support.
>
> Initialize the jli_base registers for ARCv2 cpus.
>
> libgloss/
> 2017-05-23 Claudiu Zissulescu <claziss@synopsys.com>
>
> * arc/crt0.S: Initialize the jli_base registers for ARCv2 cpus.
> ---
> libgloss/arc/crt0.S | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/libgloss/arc/crt0.S b/libgloss/arc/crt0.S
> index f8d7148..46c9efd 100644
> --- a/libgloss/arc/crt0.S
> +++ b/libgloss/arc/crt0.S
> @@ -142,6 +142,11 @@ __start:
> bset r2, r2, 19
> flag r2
> #endif
> +
> +#if defined (__ARC_CODE_DENSITY__)
> + ;; Initialize jli_base
> + sr @__JLI_TABLE__,[jli_base]
> +#endif
> mov gp, @__SDATA_BEGIN__
> mov_s r2, @__sbss_start ; r2 = start of the bss section
> sub r3, @_end, r2 ; r3 = size of the bss section in bytes
> @@ -189,7 +194,7 @@ __start:
> mov_s r0, 1
> st_s r0, [r1, 4] ; _GLOBAL_REENT->atexit0._ind
> ; branch to _init
> -#if defined (__EM__) || defined (__HS__)
> +#if defined (__ARCEM__) || defined (__ARCHS__)
> jl @_init
> #else
> bl @_init
> --
> 1.9.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-06-14 12:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-14 12:26 [PATCH 2/2] [ARC] Add JLI support.[PING] Claudiu Zissulescu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).