readelf: Warn if ptr_size is not 4 or 8 bytes.
authorMark Wielaard <mjw@redhat.com>
Mon, 17 Nov 2014 22:01:34 +0000 (23:01 +0100)
committerMark Wielaard <mjw@redhat.com>
Mon, 17 Nov 2014 22:01:34 +0000 (23:01 +0100)
commit7df0da33f4789e264242a4cb8af30c0aefe6d6b4
tree87d6fc26cdb2ecc91bd459b7b56103df9cea4c0c
parentbabcdeff28bdf1d5ce26c8aa35fea420921f4ba7
readelf: Warn if ptr_size is not 4 or 8 bytes.

Just warn and don't call print_cfa_program in that case. Bad things will
happen and the result is mostly bogus.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
src/ChangeLog
src/readelf.c