diff options
| author | Mark Wielaard <[email protected]> | 2020-06-11 00:06:30 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2020-06-11 03:58:27 +0200 |
| commit | 49f13584d60322578c19b6118393ab04236ca7bf (patch) | |
| tree | 88c79fbf73c54734c51b6b4a9a2a154e229f30c6 /src/objdump.c | |
| parent | c0d643e7d91fc002c9fecd83277c62a0e56ef76f (diff) | |
| parent | 2c7c40373b68968cce20a60a28234e2a2cbc55cb (diff) | |
Merge tag 'elfutils-0.178' into mjw/RH-DTSdts-0.178
elfutils 0.178 release
Adopt ebl backends loading from trunk.
Diffstat (limited to 'src/objdump.c')
| -rw-r--r-- | src/objdump.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/objdump.c b/src/objdump.c index 6b365d5c..a619674f 100644 --- a/src/objdump.c +++ b/src/objdump.c @@ -717,11 +717,13 @@ show_disasm (Ebl *ebl, const char *fname, uint32_t shstrndx) info.address_color = color_address; info.bytes_color = color_bytes; - if (asprintf (&fmt, "%s%%7m %s%%.1o,%s%%.2o,%s%%.3o%%34a %s%%l", + if (asprintf (&fmt, "%s%%7m %s%%.1o,%s%%.2o,%s%%.3o,,%s%%.4o%s%%.5o%%34a %s%%l", color_mnemonic ?: "", color_operand1 ?: "", color_operand2 ?: "", color_operand3 ?: "", + color_operand4 ?: "", + color_operand5 ?: "", color_label ?: "") < 0) error (EXIT_FAILURE, errno, _("cannot allocate memory")); } @@ -729,7 +731,7 @@ show_disasm (Ebl *ebl, const char *fname, uint32_t shstrndx) { info.address_color = info.bytes_color = NULL; - fmt = "%7m %.1o,%.2o,%.3o%34a %l"; + fmt = "%7m %.1o,%.2o,%.3o,%.4o,%.5o%34a %l"; } disasm_cb (ctx, &info.cur, info.cur + data->d_size, info.addr, |
