diff options
author | K. Richard Pixley <rich@cygnus> | 1991-06-09 20:38:35 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1991-06-09 20:38:35 +0000 |
commit | 7cffe88a922e2ee6abb4d2c2bc9dfab9cea1400d (patch) | |
tree | 1fc88e53077cfc1ee9c74575d9bbbee7fc9b5ebb /binutils | |
parent | 052ec27f38a5e0ba72f2dc1def47017c6ed76787 (diff) | |
download | gdb-7cffe88a922e2ee6abb4d2c2bc9dfab9cea1400d.zip gdb-7cffe88a922e2ee6abb4d2c2bc9dfab9cea1400d.tar.gz gdb-7cffe88a922e2ee6abb4d2c2bc9dfab9cea1400d.tar.bz2 |
Added -A switch.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/objdump.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c index 9f98756..0c44d6b 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -697,7 +697,7 @@ main (argc, argv) program_name = *argv; - while ((c = getopt_long (argc, argv, "ib:m:dlfahrtxsj:", long_options, &ind)) + while ((c = getopt_long (argc, argv, "Aib:m:dlfahrtxsj:", long_options, &ind)) != EOF) { seenflag = true; switch (c) { @@ -726,6 +726,15 @@ main (argc, argv) dump_ar_hdrs = 1; dump_section_headers = 1; break; + case 'A': + disassemble = true; + dump_ar_hdrs = 1; + dump_file_header = true; + dump_reloc_info = 1; + dump_section_headers = 1; + dump_symtab = 1; + break; + case 0 : break; /* we've been given a long option */ case 't': dump_symtab = 1; break; case 'd': disassemble = true ; break; |