aboutsummaryrefslogtreecommitdiff
path: root/target/ppc/kvm_ppc.h
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2017-02-08 09:40:00 +0100
committerCornelia Huck <cornelia.huck@de.ibm.com>2017-02-24 10:15:18 +0100
commit5f706fdc164b20b48254eadf7bd413edace34499 (patch)
tree501d83f273cc8e24501b095d32ff6f2d60422f51 /target/ppc/kvm_ppc.h
parentb1914b824ade1706847428e64ef5637ffc0ae238 (diff)
downloadqemu-5f706fdc164b20b48254eadf7bd413edace34499.zip
qemu-5f706fdc164b20b48254eadf7bd413edace34499.tar.gz
qemu-5f706fdc164b20b48254eadf7bd413edace34499.tar.bz2
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>
Diffstat (limited to 'target/ppc/kvm_ppc.h')
0 files changed, 0 insertions, 0 deletions