[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] Add LoongArch64 basic support
From: |
Camm Maguire |
Subject: |
Re: [PATCH 2/2] Add LoongArch64 basic support |
Date: |
Mon, 15 Jul 2024 12:23:55 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Greetings!
Jinyang He <hejinyang@loongson.cn> writes:
> On 2024-07-15 03:51, Camm Maguire wrote:
>
>> Would also like to move the execve to set the personality to the top of
>> gcl_init_alloc to close the window for possible mmap layout changes.
>> Not committed yet.
> That looks better! But we had to know the "argc,argv,envp,auxv" first.
> I think maybe init_array can get it early, or others?
The apparently most direct way of doing this would be to wrap _start in
a function that checks the personality and rexecs on failure. The
calling conventions do not appear standard on first attempt, and I
cannot find a ready example, though understand this is done in embedded
contexts routinely.
Take care,
--
Camm Maguire camm@maguirefamily.org
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
- Re: [PATCH 2/2] Add LoongArch64 basic support, (continued)
- Re: [PATCH 2/2] Add LoongArch64 basic support, Camm Maguire, 2024/07/15
- Re: [PATCH 2/2] Add LoongArch64 basic support, Jinyang He, 2024/07/15
- Re: [PATCH 2/2] Add LoongArch64 basic support, Camm Maguire, 2024/07/16
- Re: [PATCH 2/2] Add LoongArch64 basic support, Jinyang He, 2024/07/17
- Re: [PATCH 2/2] Add LoongArch64 basic support, Camm Maguire, 2024/07/17
- Re: [PATCH 2/2] Add LoongArch64 basic support, Jinyang He, 2024/07/18
- Re: [PATCH 2/2] Add LoongArch64 basic support, Camm Maguire, 2024/07/18
- Re: [PATCH 2/2] Add LoongArch64 basic support, Jinyang He, 2024/07/19
- Re: [PATCH 2/2] Add LoongArch64 basic support, Camm Maguire, 2024/07/19
- Re: [PATCH 2/2] Add LoongArch64 basic support, Jinyang He, 2024/07/19
- Re: [PATCH 2/2] Add LoongArch64 basic support,
Camm Maguire <=
[PATCH 1/2] Fix libX11 early init causing mmap layout changed, Jinyang He, 2024/07/08