[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 07/43] bsd-user: move arch specific defines out of elfload
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v2 07/43] bsd-user: move arch specific defines out of elfload.c |
Date: |
Fri, 27 Aug 2021 06:19:24 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 8/26/21 11:11 PM, imp@bsdimp.com wrote:
> From: Warner Losh <imp@bsdimp.com>
>
> Move the arcitecture specific defines to target_arch_elf.h and delete
Typo "architecture"
> them from elfload.c. unifdef as appropriate for i386 vs x86_64
"un-ifdef" or untangle?
> versions. Add the copyright/license comments, and guard ifdefs.
>
> Signed-off-by: Warner Losh <imp@bsdimp.com>
> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> bsd-user/elfload.c | 81 +------------------------------
> bsd-user/i386/target_arch_elf.h | 76 +++++++++++++++++++++++++++++
> bsd-user/x86_64/target_arch_elf.h | 64 ++++++++++++++++++++++++
> 3 files changed, 142 insertions(+), 79 deletions(-)
> create mode 100644 bsd-user/i386/target_arch_elf.h
> create mode 100644 bsd-user/x86_64/target_arch_elf.h
- [PATCH v2 03/43] bsd-user: Add Stacey's copyright to main.c, (continued)
- [PATCH v2 03/43] bsd-user: Add Stacey's copyright to main.c, imp, 2021/08/26
- [PATCH v2 04/43] bsd-user: add license to bsdload.c, imp, 2021/08/26
- [PATCH v2 05/43] bsd-user: style nits: bsdload.c whitespace to qemu standard, imp, 2021/08/26
- [PATCH v2 01/43] bsd-user: remove sparc and sparc64, imp, 2021/08/26
- [PATCH v2 06/43] bsd-user: Remove all non-x86 code from elfload.c, imp, 2021/08/26
- [PATCH v2 08/43] bsd-user: pass the bsd_param into loader_exec, imp, 2021/08/26
- [PATCH v2 09/43] bsd-user: Fix calculation of size to allocate, imp, 2021/08/26
- [PATCH v2 07/43] bsd-user: move arch specific defines out of elfload.c, imp, 2021/08/26
- Re: [PATCH v2 07/43] bsd-user: move arch specific defines out of elfload.c,
Philippe Mathieu-Daudé <=
- [PATCH v2 10/43] bsd-user: implement path searching, imp, 2021/08/26
- [PATCH v2 11/43] bsd-user: Eliminate elf personality, imp, 2021/08/26
- [PATCH v2 12/43] bsd-user: remove a.out support, imp, 2021/08/26
- [PATCH v2 14/43] bsd-user: elfload: simplify bswap a bit., imp, 2021/08/26
- [PATCH v2 15/43] bsd-user: assume pthreads and support of __thread, imp, 2021/08/26
- [PATCH v2 13/43] bsd-user: TARGET_NGROUPS unused in this file, remove, imp, 2021/08/26
- [PATCH v2 17/43] bsd-user: Include host-os.h from main, imp, 2021/08/26