qemu/target/s390x
Christian Borntraeger 5f706fdc16 s390x/arch_dump: use proper note name and note size
In binutils/libbfd (bfd/elf.c) it is enforced that all s390
specific ELF notes like e.g. NT_S390_PREFIX or NT_S390_CTRS
have "LINUX" specified as note name and that the namesz is
6. Otherwise the notes are ignored.

QEMU currently uses "CORE" for these notes. Up to now this has
not been a real problem because the dump analysis tool "crash"
does handle that. But it will break all programs that use libbfd
for processing ELF notes.

So fix this and use "LINUX" for all s390 specific notes to comply
with libbfd. Also set the correct namesz.

Reported-by: Philipp Rudo <prudo@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
2017-02-24 10:15:18 +01:00
..
arch_dump.c s390x/arch_dump: use proper note name and note size 2017-02-24 10:15:18 +01:00
cc_helper.c
cpu_features_def.h
cpu_features.c
cpu_features.h
cpu_models.c qmp: Report QOM type name on query-cpu-definitions 2017-01-12 15:51:36 -02:00
cpu_models.h
cpu-qom.h
cpu.c qom/cpu: move tlb_flush to cpu_common_reset 2017-01-13 14:24:31 +00:00
cpu.h qom/cpu: move tlb_flush to cpu_common_reset 2017-01-13 14:24:31 +00:00
fpu_helper.c
gdbstub.c * QOM interface fix (Eduardo) 2017-01-20 16:42:07 +00:00
gen-features.c
helper.c
helper.h target-s390x: Use clz opcode 2017-01-10 08:06:11 -08:00
insn-data.def
insn-format.def
int_helper.c target-s390x: Avoid a loop for popcnt 2017-01-10 08:48:57 -08:00
interrupt.c
ioinst.c
kvm.c s390x/kvm: detect some program check loops 2017-02-24 10:15:18 +01:00
machine.c migration: consolidate VMStateField.start 2017-02-13 17:27:13 +00:00
Makefile.objs
mem_helper.c cputlb: drop flush_global flag from tlb_flush 2017-01-13 14:24:37 +00:00
misc_helper.c
mmu_helper.c
trace-events
translate.c target-s390x: Use clz opcode 2017-01-10 08:06:11 -08:00