From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: Trouble compiling musl for MIPS softfloat
Date: Sun, 24 May 2015 12:18:44 -0400 [thread overview]
Message-ID: <20150524161844.GM17573@brightrain.aerifal.cx> (raw)
In-Reply-To: <20150524124540.GA26188@port70.net>
On Sun, May 24, 2015 at 02:45:40PM +0200, Szabolcs Nagy wrote:
> i get an assembler warning for the crt asm though:
>
> {standard input}:32: Warning: macro instruction expanded into multiple instructions in a branch delay slot
>
> for this insn:
>
> and $sp, $sp, -8
>
> which turns into
>
> 38: 2401fff8 li at,-8
> 3c: 03a1e824 and sp,sp,at
>
> (but this is not soft-float related, just the new start code in 1.1.9)
This looks like a potentially serious bug, omitting stack alignment.
It shouldn't matter as long as crt_arch.h is only used in dlstart.lo
(where the kernel normally gives an aligned stack pointer to begin
with) but I want to remove crt/*/crt1.s within the next couple release
cycles, and then it would matter.
Rich
next prev parent reply other threads:[~2015-05-24 16:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-24 4:36 Arjen Roodselaar
2015-05-24 12:45 ` Szabolcs Nagy
2015-05-24 16:18 ` Rich Felker [this message]
2015-05-24 22:09 ` Arjen Roodselaar
2015-05-25 20:14 ` Rich Felker
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=20150524161844.GM17573@brightrain.aerifal.cx \
--to=dalias@libc.org \
--cc=musl@lists.openwall.com \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
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 NNTP newsgroup(s).