[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: |
Warner Losh |
Subject: |
Re: [PATCH v2 07/43] bsd-user: move arch specific defines out of elfload.c |
Date: |
Fri, 27 Aug 2021 09:50:49 -0600 |
> On Aug 26, 2021, at 10:19 PM, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> 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"
Thanks
>> them from elfload.c. unifdef as appropriate for i386 vs x86_64
>
> "un-ifdef" or untangle?
I’ve reworded to make it clearer what I’ve done: only retain the
ifdefs relevant for i386 and x86_64.
Warner
>> 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
signature.asc
Description: Message signed with OpenPGP
- [PATCH v2 04/43] bsd-user: add license to bsdload.c, (continued)
- [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
- [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
- [PATCH v2 16/43] bsd-user: add host-os.h, imp, 2021/08/26