[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [WIP v3] Introduce mescc.a for division algorithm and move the latte
From: |
Danny Milosavljevic |
Subject: |
Re: [WIP v3] Introduce mescc.a for division algorithm and move the latter there. |
Date: |
Fri, 29 May 2020 21:27:07 +0200 |
Hi Janneke,
On Fri, 29 May 2020 15:26:04 +0200
Danny Milosavljevic <dannym@scratchpost.org> wrote:
> >lib/tests/setjmp/80-setjmp.c: test-c.sh line 71: 5490 Segmentation fault
>
> second
> Segmentation fault (core dumped)
>
> And that's *after* I implemented setjmp :P
When I implement setjmp like this:
void
setjmp (jmp_buf env)
then it doesn't work.
Then I implement setjmp like this:
void
setjmp (__jmp_buf * env)
then it does work.
I suspect that env[0].sp = ... is not working as intended for actual arrays (as
opposed to pointers). (Might also be broken on i686 but I don't remember)
When debugging I saw that it didn't actually store the data into the jmp_buf
structure on setjmp but rather stored it on the stack (but the jmp_buf
structure is a global variable in this test case).
Pushed as commit 436f1c7ae23c4bf5283081a4f5e88f67dc10356b to branch wip-arm.
pgpBiMaKv0SxU.pgp
Description: OpenPGP digital signature
- Re: libc-mini.a should also include integer division algorithm, (continued)
- Re: libc-mini.a should also include integer division algorithm, Danny Milosavljevic, 2020/05/28
- [WIP wip-arm] Introduce mescc.a for division algorithm and move the latter there., Danny Milosavljevic, 2020/05/28
- [WIP v2] Introduce mescc.a for division algorithm and move the latter there., Danny Milosavljevic, 2020/05/28
- [WIP v3] Introduce mescc.a for division algorithm and move the latter there., Danny Milosavljevic, 2020/05/28
- Re: [WIP v3] Introduce mescc.a for division algorithm and move the latter there., Danny Milosavljevic, 2020/05/29
- Re: [WIP v3] Introduce mescc.a for division algorithm and move the latter there., Jan Nieuwenhuizen, 2020/05/29
- Re: [WIP v3] Introduce mescc.a for division algorithm and move the latter there., Danny Milosavljevic, 2020/05/29
- Re: [WIP v3] Introduce mescc.a for division algorithm and move the latter there., Jan Nieuwenhuizen, 2020/05/29
- Re: [WIP v3] Introduce mescc.a for division algorithm and move the latter there.,
Danny Milosavljevic <=
- Re: [WIP v3] Introduce mescc.a for division algorithm and move the latter there., Jan Nieuwenhuizen, 2020/05/29