]> git.ipfire.org Git - thirdparty/elfutils.git/commit
backends/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 10 Oct 2012 17:32:05 +0000 (19:32 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 12 Oct 2012 16:50:15 +0000 (18:50 +0200)
commita1380e679928424bd6c1a5adfa65e55214418b5c
treee19fad9becc69dc1bb23335b9ab3c0ccad9a85f5
parent4c27ab527a60ca9a02ae97337a8cc0f9d50545b3
backends/
2012-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
    Roland McGrath <roland@hack.frob.com>

* Makefile.am (s390_SRCS): Add s390_corenote.c and s390x_corenote.c.
* linux-core-note.c (PR_REG_TYPE, ALIGN_PR_REG_TYPE, PR_FPVALID_TYPE)
(ALIGN_PR_FPVALID_TYPE): New definitions.
(struct EBLHOOK(prstatus)): Change field pr_reg to type PR_REG_TYPE and
field pr_fpvalid to type PR_FPVALID_TYPE.
(EXTRA_ITEMS): New macro.
* s390_corenote.c: New file.
* s390_init.c (s390x_core_note): New declaration.
(s390_init): Install s390x_core_note and s390_core_note.
* s390x_corenote.c: New file.

src/
2012-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>

* readelf.c (handle_core_items): New variable wrap, choose
REGISTER_WRAP_COLUMN for "register" group.  Use it instead of
ITEM_WRAP_COLUMN.  Limit special repeated items handling to
OFFSET 0 and formats '\n', 'b' and 'B'.  Initialize COLNO to MAX of
also REGISTER_WRAP_COLUMN.

tests/
2012-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>

* run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
and s390x core notes.
* testfile67.bz2: New file.
* testfile68.bz2: New file.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
13 files changed:
backends/ChangeLog
backends/Makefile.am
backends/arm_corenote.c
backends/linux-core-note.c
backends/s390_corenote.c [new file with mode: 0644]
backends/s390_init.c
backends/s390x_corenote.c [new file with mode: 0644]
src/ChangeLog
src/readelf.c
tests/ChangeLog
tests/run-readelf-mixed-corenote.sh
tests/testfile67.bz2 [new file with mode: 0644]
tests/testfile68.bz2 [new file with mode: 0644]