Re: [Qemu-devel] [PATCH v1 2/4] elf: move elf.h to elf/elf.h and split out types

2019-10-21 Thread Peter Maydell
On Mon, 21 Oct 2019 at 14:54, Laurent Vivier wrote: > > Le 10/09/2019 à 21:34, Alex Bennée a écrit : > > Most of the users of elf.h just want the standard Elf definitions. The > > couple that want more than that want an expansion based on ELF_CLASS > > which can be used for size agnostic code. The

Re: [Qemu-devel] [PATCH v1 2/4] elf: move elf.h to elf/elf.h and split out types

2019-10-21 Thread Laurent Vivier
Le 10/09/2019 à 21:34, Alex Bennée a écrit : > Most of the users of elf.h just want the standard Elf definitions. The > couple that want more than that want an expansion based on ELF_CLASS > which can be used for size agnostic code. The later is moved into > elf/elf-types.inc.h to make it clearer w

Re: [Qemu-devel] [PATCH v1 2/4] elf: move elf.h to elf/elf.h and split out types

2019-09-14 Thread Richard Henderson
On 9/10/19 3:34 PM, Alex Bennée wrote: > Most of the users of elf.h just want the standard Elf definitions. The > couple that want more than that want an expansion based on ELF_CLASS > which can be used for size agnostic code. The later is moved into > elf/elf-types.inc.h to make it clearer what it

Re: [Qemu-devel] [PATCH v1 2/4] elf: move elf.h to elf/elf.h and split out types

2019-09-11 Thread Alex Bennée
BALATON Zoltan writes: > On Tue, 10 Sep 2019, Alex Bennée wrote: >> diff --git a/include/elf/elf-types.inc.h b/include/elf/elf-types.inc.h >> new file mode 100644 >> index 000..35163adb2b5 >> --- /dev/null >> +++ b/include/elf/elf-types.inc.h >> @@ -0,0 +1,63 @@ >> +/* >> + * Elf Type S

Re: [Qemu-devel] [PATCH v1 2/4] elf: move elf.h to elf/elf.h and split out types

2019-09-11 Thread BALATON Zoltan
On Tue, 10 Sep 2019, Alex Bennée wrote: diff --git a/include/elf/elf-types.inc.h b/include/elf/elf-types.inc.h new file mode 100644 index 000..35163adb2b5 --- /dev/null +++ b/include/elf/elf-types.inc.h @@ -0,0 +1,63 @@ +/* + * Elf Type Specialisation + * + * Copyright (c) 2019 + * Writte

Re: [Qemu-devel] [PATCH v1 2/4] elf: move elf.h to elf/elf.h and split out types

2019-09-10 Thread David Gibson
On Tue, Sep 10, 2019 at 08:34:06PM +0100, Alex Bennée wrote: > Most of the users of elf.h just want the standard Elf definitions. The > couple that want more than that want an expansion based on ELF_CLASS > which can be used for size agnostic code. The later is moved into > elf/elf-types.inc.h to m