mirror of
https://github.com/ksherlock/wdc-utils.git
synced 2025-03-02 16:29:26 +00:00
-S prints section info too.
This commit is contained in:
parent
9362980e82
commit
b0d601fecf
@ -911,6 +911,14 @@ bool dump_obj(const char *name, int fd)
|
||||
|
||||
|
||||
if (flags._S) {
|
||||
printf("; sections\n");
|
||||
for (auto &s : sections) {
|
||||
printf("; %-20s %02x %02x %04x %04x\n",
|
||||
s.name.c_str(), s.number, s.flags, s.size, s.org);
|
||||
}
|
||||
|
||||
printf(";\n");
|
||||
|
||||
printf("; symbols\n");
|
||||
for (auto &s : symbols) {
|
||||
printf("; %-20s %02x %02x %02x %08x\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user