public inbox for newlib-cvs@sourceware.org help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org> To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] move ILP32 sanity check on heap base code under ARM_RDI_MONITOR Date: Thu, 24 Aug 2017 12:41:00 -0000 [thread overview] Message-ID: <20170824124137.106606.qmail@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=3ec9892f5dd6240d8b21c8cad7874ea856040626 commit 3ec9892f5dd6240d8b21c8cad7874ea856040626 Author: Alexander Fedotov-B55613 <b55613@freescale.com> Date: Tue Aug 22 17:06:54 2017 +0300 move ILP32 sanity check on heap base code under ARM_RDI_MONITOR Diff: --- libgloss/aarch64/crt0.S | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libgloss/aarch64/crt0.S b/libgloss/aarch64/crt0.S index 4ad435e..f670e03 100644 --- a/libgloss/aarch64/crt0.S +++ b/libgloss/aarch64/crt0.S @@ -101,10 +101,7 @@ exposed here in the HeapInfo Angel call. */ ldr x0, .LC0 /* point at returned values */ ldr x1, [x0, #8] /* get heap_limit */ -#else - /* Set up the stack pointer to a fixed value. */ - ldr x1, .Lstack -#endif + #ifdef __ILP32__ /* Sanity check on the heap base. */ ldr x0, [x0] /* get heap_base */ @@ -128,6 +125,10 @@ tst x1, #0xffffffff00000000 csinv w1, w1, wzr, eq #endif +#else + /* Set up the stack pointer to a fixed value. */ + ldr x1, .Lstack +#endif /* Ensure quad-word stack alignment. */ and x0, x1, #~15
reply other threads:[~2017-08-24 12:41 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20170824124137.106606.qmail@sourceware.org \ --to=corinna@sourceware.org \ --cc=newlib-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).