qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 00/10] TARGET_*_ALIGNMENT cleanup, and config-target.mak trimming
@ 2013-04-03 10:31 Paolo Bonzini
  2013-04-03 10:31 ` [Qemu-devel] [PATCH v2 01/10] elfload: fix size of ABI-dependent fields in core dumps Paolo Bonzini
                   ` (9 more replies)
  0 siblings, 10 replies; 30+ messages in thread
From: Paolo Bonzini @ 2013-04-03 10:31 UTC (permalink / raw)
  To: qemu-devel; +Cc: aurelien, pmaydell

This series expands on the one I sent yesterday, but also fixes some
confusion between target (CPU) and ABI types in linux-user/elfload.c.

target_short/int/llong and the corresponding unsigned types are renamed
to abi_short/int/llong, and TARGET_*_ALIGNMENT is similarly renamed to
ABI_*_ALIGNMENT.  target_long/ulong, which identify the register width
in the CPU, do not have special alignment anymore.  Core dumps are
changed to use the new types, with fixes to include the full 64-bit
contents of mipsn32 registers.

Patches 1-3 are new.  Patches 4-7 are also new, and replace patches 1-2
in the previous submission.  Patches 8-10 are the same as patches 3-5
in the previous submission, with a fix for -lm link errors in patch 9.

Paolo

Paolo Bonzini (10):
  elfload: fix size of ABI-dependent fields in core dumps
  elfload: fix size of registers for N32
  elfload: use tswapreg consistently in elf_core_copy_regs
  elfload: use abi_short/ushort instead of target_short/ushort
  elfload: use abi_int/uint instead of target_int/uint
  elfload: only give abi_long/ulong the alignment specified by the target
  elfload: use abi_llong/ullong instead of target_llong/ullong
  configure: move CONFIG_QEMU_LDST_OPTIMIZATION to config-host.mak
  configure: move common libraries to config-host.mak
  configure: CONFIG_NO_XEN is duplicated

 Makefile.target              |  10 +--
 configure                    |  43 +++--------
 hw/xen.h                     |   2 +-
 include/exec/cpu-defs.h      |  14 +---
 include/exec/user/abitypes.h |  36 +++++++--
 linux-user/elfload.c         | 175 ++++++++++++++++++++++---------------------
 target-arm/cpu.h             |   1 +
 target-m68k/cpu.h            |   3 +
 8 files changed, 147 insertions(+), 137 deletions(-)

-- 
1.8.1.4

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2013-04-04 16:24 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-03 10:31 [Qemu-devel] [PATCH v2 00/10] TARGET_*_ALIGNMENT cleanup, and config-target.mak trimming Paolo Bonzini
2013-04-03 10:31 ` [Qemu-devel] [PATCH v2 01/10] elfload: fix size of ABI-dependent fields in core dumps Paolo Bonzini
2013-04-04 13:51   ` Peter Maydell
2013-04-03 10:32 ` [Qemu-devel] [PATCH v2 02/10] elfload: fix size of registers for N32 Paolo Bonzini
2013-04-04 15:32   ` Peter Maydell
2013-04-04 15:41     ` Paolo Bonzini
2013-04-04 15:46       ` Peter Maydell
2013-04-04 16:00         ` Paolo Bonzini
2013-04-03 10:32 ` [Qemu-devel] [PATCH v2 03/10] elfload: use tswapreg consistently in elf_core_copy_regs Paolo Bonzini
2013-04-04 15:33   ` Peter Maydell
2013-04-03 10:32 ` [Qemu-devel] [PATCH v2 04/10] elfload: use abi_short/ushort instead of target_short/ushort Paolo Bonzini
2013-04-04 13:52   ` Peter Maydell
2013-04-03 10:32 ` [Qemu-devel] [PATCH v2 05/10] elfload: use abi_int/uint instead of target_int/uint Paolo Bonzini
2013-04-04 13:56   ` Peter Maydell
2013-04-04 14:04     ` Paolo Bonzini
2013-04-04 14:22       ` Peter Maydell
2013-04-04 14:28         ` Paolo Bonzini
2013-04-03 10:32 ` [Qemu-devel] [PATCH v2 06/10] elfload: only give abi_long/ulong the alignment specified by the target Paolo Bonzini
2013-04-04 14:09   ` Peter Maydell
2013-04-04 14:11     ` Paolo Bonzini
2013-04-04 14:18       ` Peter Maydell
2013-04-04 14:26         ` Paolo Bonzini
2013-04-04 14:37           ` Peter Maydell
2013-04-04 14:45             ` Paolo Bonzini
2013-04-04 14:50               ` Peter Maydell
2013-04-03 10:32 ` [Qemu-devel] [PATCH v2 07/10] elfload: use abi_llong/ullong instead of target_llong/ullong Paolo Bonzini
2013-04-03 10:32 ` [Qemu-devel] [PATCH v2 08/10] configure: move CONFIG_QEMU_LDST_OPTIMIZATION to config-host.mak Paolo Bonzini
2013-04-03 10:32 ` [Qemu-devel] [PATCH v2 09/10] configure: move common libraries " Paolo Bonzini
2013-04-04 13:40   ` Peter Maydell
2013-04-03 10:32 ` [Qemu-devel] [PATCH v2 10/10] configure: CONFIG_NO_XEN is duplicated Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).