Ken Raeburn
195d1adff1
* objdump.c (ARCH_all): Define ARCH_hppa too.
...
(dump_headers): Don't test for SEC_BALIGN if it's not defined by bfd.h.
(The latter is done with #ifdef in case it turns out SEC_BALIGN has to be
put back. I didn't *see* any uses of it besides this one, though.)
1993-08-31 18:15:50 +00:00
Ian Lance Taylor
b3a2b4975f
* objdump.c (disassemble_data): Handle the m88k.
...
(display_bfd): Use bfd_errmsg, rather than just claiming that the
bfd is not an object file.
1993-07-15 16:46:50 +00:00
Ken Raeburn
d086adf85a
Elf bfd routines and types are now size-independent again.
1993-06-26 00:47:23 +00:00
Per Bothner
3ae36cb686
* objdump.c (syms2): Removed unused variable.
...
* objdump.c (remove_useless_symbols): New function.
* objdump.c (comp): Simplify.
* objdump.c (dis-assemble_data): Make simpler and more
efficient how we filter out useless symbols: Just filter
BEFORE the sort (using remove_useless_symbols).
* objdump.c (objdump_print_address): Simplify.
Change output syntax to match gdb.
1993-06-18 21:37:21 +00:00
Ken Raeburn
875607cb0d
elf32 updates
1993-05-25 20:39:21 +00:00
Ken Raeburn
f50af42bbf
Makefile.in (DISTSTUFF): Don't build binutils.mm.
...
objdump.c (slurp_symtab): Print warning for bad symbol table.
1993-05-25 04:28:56 +00:00
David MacKenzie
d244269886
Clean up usage messages and option parsers.
...
Add program name to some error messages.
1993-04-29 06:45:39 +00:00
Steve Chamberlain
6f57570423
Support for the SH.
1993-04-27 01:39:38 +00:00
Ian Lance Taylor
545a27683e
Please don't add declarations of random system functions to general
...
source files if you can possibly avoid it. They inevitably fail on
some system somewhere.
* objdump.c: Removed useless fprintf declaration.
1993-04-09 18:22:57 +00:00
Jim Kingdon
f7ed13c7d5
merge binutils and gdb sparc disassemblers
1993-04-01 16:56:06 +00:00
Jim Kingdon
5d0734a7d7
provide a new interface (using read_memory_func) to call the disassemblers
...
which copes with errors in a plausible way
1993-03-31 21:43:25 +00:00
Ken Raeburn
12da177528
objdump.c: Use correct prototype of fprintf, else it won't compile on ANSI
...
C systems.
1993-03-29 13:22:16 +00:00
Jim Kingdon
452b40b631
mention long options in usage message
1993-03-19 18:58:10 +00:00
Per Bothner
2e8adbd7f4
* m68k-pinsn.c: Removed. Subsumed by ../opcodes/m68k-dis.c.
...
* i386-pinsn.c: Removed. Subsumed by ../opcodes/i386-dis.c.
* Makefile.in: Adjust accordingly.
* objdump.c: Support new-style disassemblers (ones that use
the interface of ../include/dis-asm.h).
1993-03-19 00:12:50 +00:00
Ken Raeburn
d9971b8304
from minyard@bnr.ca: free up copy of section contents each time through loop
1993-02-22 15:31:30 +00:00
Rob Savoye
249c6fc0d6
Added +version (-V) option to print version number.
1992-08-19 03:25:51 +00:00
John Gilmore
770cde303d
Lint
1992-06-13 05:24:22 +00:00
John Gilmore
73b8f10233
New feature: --stabs prints out a .stab section from an ELF file.
...
Installed under #ifdef ELF_STAB_DISPLAY so it can be easily disabled,
since it requires bfd-internals header files and such.
1992-06-11 08:23:11 +00:00
Steve Chamberlain
aa0a709adc
Wed Jun 10 07:53:24 1992 Steve Chamberlain (sac@thepub.cygnus.com)
...
* objdump.c(display_info), patches from
mohring@informatik.tu-muenchen.de to print the table much more
nicely.
1992-06-10 14:57:25 +00:00
Steve Chamberlain
60c8001642
Add support for 386 disassembly
1992-05-01 22:45:45 +00:00
Steve Chamberlain
65cceb7879
* objdump.c (disassemble_data): don't print a section's contents
...
if it's not loadable (eg bss)
1992-02-06 20:15:19 +00:00
Steve Chamberlain
d20f480f8a
* copy.c, nm.c, objdump.c, size.c : changed to use the
...
new reloc scheme.
1992-01-24 22:49:24 +00:00
John Gilmore
e779a58cf4
Cope with renames of a few BFD types & enums.
1991-10-05 04:50:54 +00:00
Per Bothner
3fdbfe8d12
* bucomm.c (fatal): Conditionally compile fatal() depending on
...
MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS.
* objdump.c (dump_headers): Trivial output format change.
* objdump.c (display_info): Loop over integers, not enums,
to appease old compilers.
1991-09-30 19:47:49 +00:00
K. Richard Pixley
7cffe88a92
Added -A switch.
1991-06-09 20:38:35 +00:00
Steve Chamberlain
96d7950b55
When disassembling, now prints ... instead of pages of whatever the
...
instruction for 0x0000 is.
1991-06-07 01:33:38 +00:00
Steve Chamberlain
fc5d607456
Mon May 20 16:14:07 1991 Steve Chamberlain (steve at cygint.cygnus.com)
...
* Changed some types to work with 64 bit object files
1991-05-20 23:15:15 +00:00
Steve Chamberlain
9872a49c27
*** empty log message ***
1991-04-23 16:02:09 +00:00
Steve Chamberlain
bf66105649
Fixed some prototypes
1991-04-18 21:14:53 +00:00
David Henkel-Wallace
2fa0b342a5
Initial revision
1991-03-21 21:29:06 +00:00