From 7cffe88a922e2ee6abb4d2c2bc9dfab9cea1400d Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Sun, 9 Jun 1991 20:38:35 +0000 Subject: [PATCH] Added -A switch. --- binutils/objdump.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/binutils/objdump.c b/binutils/objdump.c index 9f98756f0e7..0c44d6be057 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; -- 2.30.2