diff options
Diffstat (limited to 'src/readelf.c')
-rw-r--r-- | src/readelf.c | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/src/readelf.c b/src/readelf.c index 0bbd708e..5b3319c2 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -12200,23 +12200,16 @@ handle_core_items (Elf *core, const void *desc, size_t descsz, } static unsigned int -handle_bit_registers (const Ebl_Register_Location *regloc, const void *desc, - unsigned int colno) -{ - desc += regloc->offset; - - abort (); /* XXX */ - return colno; -} - - -static unsigned int handle_core_register (Ebl *ebl, Elf *core, int maxregname, const Ebl_Register_Location *regloc, const void *desc, unsigned int colno) { if (regloc->bits % 8 != 0) - return handle_bit_registers (regloc, desc, colno); + { + error (0, 0, "Warning: Cannot handle register with %" PRIu8 "bits\n", + regloc->bits); + return colno; + } desc += regloc->offset; |