Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 24 May 2015 12:18:44 -0400
From: Rich Felker <>
Subject: Re: Trouble compiling musl for MIPS softfloat

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.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.