diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2017-02-08 09:40:00 +0100 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2017-02-24 10:15:18 +0100 |
commit | 5f706fdc164b20b48254eadf7bd413edace34499 (patch) | |
tree | 501d83f273cc8e24501b095d32ff6f2d60422f51 /target/ppc | |
parent | b1914b824ade1706847428e64ef5637ffc0ae238 (diff) | |
download | qemu-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')
0 files changed, 0 insertions, 0 deletions