John Gilmore
c3c93fda32
* objdump.c (dump_elf_stabs): Also dump .stab.index and .stab.excl sections.
...
(dump_elf_stabs_1): Split out main body of old dump_elf_stabs.
* objdump.1, binutils.texi: Document new sections dumped.
1992-06-14 17:52:53 +00:00
John Gilmore
b886a6e31f
Lint
1992-06-13 17:15:12 +00:00
John Gilmore
770cde303d
Lint
1992-06-13 05:24:22 +00:00
John Gilmore
c5f0c9388a
* objdump.1, binutils.texi: Update for --stabs. Also fix
...
objdump's doc to use -- rather than + for long options.
(FIXME: Not yet fixed everywhere in binutils.texinfo.)
1992-06-11 09:18:44 +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
David D. Zuhn
6ba70f641e
new file from bothner, fixes sparc cross-disassembly core dumps
1992-06-08 07:46:10 +00:00
Mark Eichin
9752f9fdcd
use byacc instead of bison.
1992-06-04 19:10:06 +00:00
Per Bothner
7aea847a9e
* arlex.l: Don't include <sysdep.h> (unneeded conflicts).
...
Add declaration of strdup().
1992-05-27 20:06:01 +00:00
Per Bothner
82108c11a9
* Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex
...
rules, since these are used when building a distribution.
* Makefile.in (arlex.c): Don't re-direct output, since that
leaves a bogus output files if it fails.
1992-05-22 22:38:13 +00:00
Per Bothner
45212e5e5c
* Makefile.in: Better lex support.
...
* Makefile.in (dist): Generate flex and bison outputs
for distribution.
1992-05-22 20:44:24 +00:00
Per Bothner
31f62b8976
* arlex.l: Make work with lex, for what it's worth.
1992-05-22 20:41:25 +00:00
Roland Pesch
da52f26bc3
Refer to current version of Binutils (1.97). This will be
...
automatically synched one day, when Texinfo has at least trivial
macros.
1992-05-21 22:36:24 +00:00
Roland Pesch
27e94bd53c
Correct reference to linker manual title (title was "GLD, the GNU linker";
...
now is "Using LD, the GNU linker").
1992-05-08 00:10:29 +00:00
Roland Pesch
ea55afdefe
*** empty log message ***
1992-05-07 19:35:26 +00:00
Roland Pesch
765a273ff9
Doc for (MRI-compatible) ar command language.
1992-05-07 19:33:40 +00:00
Steve Chamberlain
d24fbb206e
* arparse.y: make END call ar_end
...
* arsup.c (ar_end): added, deletes temp file if archive session
aborted.
1992-05-07 01:06:34 +00:00
K. Richard Pixley
58137c4d79
FLEX -> LEX. use bison & flex from ../ if they exist
1992-05-06 18:11:09 +00:00
K. Richard Pixley
146a41ab3d
remove temporary directory when finished
1992-05-06 18:10:11 +00:00
Per Bothner
5b07d69372
* Makefile.in: Bump to version 1.97.
...
* ar.c: Declare errno for machines that need it.
1992-05-05 19:02:24 +00:00
John Gilmore
22923083bf
* objdump.c (display_info): Handle error cases without coredump.
...
Close the dummy temporary file we open in the loop.
* Makefile.in (arsup.o): Add kludge to build with Sun Make.
1992-05-05 06:31:59 +00:00
K. Richard Pixley
7d6cc102a2
added test-install target
1992-05-02 01:07:09 +00:00
K. Richard Pixley
aef3999f1e
keep sanity.sh
1992-05-01 23:30:01 +00:00
K. Richard Pixley
dc76082997
sanity test
1992-05-01 23:22:07 +00:00
Steve Chamberlain
60c8001642
Add support for 386 disassembly
1992-05-01 22:45:45 +00:00
Steve Chamberlain
289f702dcd
i386 disassembler stolen from GDB. Is it time to build a different
...
directory for these things ?
1992-05-01 22:41:28 +00:00
K. Richard Pixley
d8e89b6b95
rework CFLAGS so that they can be passed on the make command line
1992-04-21 20:43:28 +00:00
Steve Chamberlain
b7311408af
Added EXTRACT command
1992-04-15 22:12:06 +00:00
Steve Chamberlain
c0cc691258
Wed Apr 15 14:33:07 1992 Steve Chamberlain (sac@thepub.cygnus.com)
...
* arsup.c, arsup.h, arparse.y, arlex.l: support for archive
scripting language.
1992-04-15 21:36:37 +00:00
Steve Chamberlain
0ce51ae990
Dj renaming
1992-02-21 23:06:42 +00:00
Steve Chamberlain
154bf0e891
DJ renaming
1992-02-21 23:06:30 +00:00
Per Bothner
d17c317cfe
Hack so it Sanitizes cleanly.
1992-02-16 22:42:44 +00:00
Per Bothner
6f34472d93
* Makefile.in: Bump version to 1.96, and remove -beta
...
suffix from distribution name.
* m68k-pinsn.c: New macro COERCE_SIGNED_CHAR to extract
the signed value of a character (even if chars are unsigned).
* sparc-pinsn.c: Add new operand types.
1992-02-16 20:58: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
3bdb6bf8c4
* m68k-pinsn.c (print_insn_arg): fixed so that -ve branch
...
displacements don't get printed as large +ve ones.
1992-01-28 19:12:16 +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
e6e4459c34
Make `make' output more readable.
1991-12-30 14:10:34 +00:00
John Gilmore
5d13867674
Make it sanitize v9 out of sparc-pinsn.c.
1991-12-17 14:43:59 +00:00
Michael Tiemann
5f4d1571fa
Add missing handlers for v9 operands.
1991-12-15 22:04:01 +00:00
Michael Tiemann
76d89cb115
Format inner print loop according to emacs. Code changes will follow
...
(but be easier to diff).
1991-12-15 20:46:21 +00:00
Steve Chamberlain
311894ea71
Added configdos.bat, makefile.dos
1991-12-12 03:18:12 +00:00
Steve Chamberlain
db40ba149d
Initial revision
1991-12-12 00:53:23 +00:00
Steve Chamberlain
4b5ea3622d
* ar.c: added "b" to fopens for dos
...
* configdj.bat, makefile.dos new files from DJ
1991-12-12 00:46:32 +00:00
Steve Chamberlain
5a77e9160f
* bucomm.h: created to hold prototypes of bucomm.c
...
* objdump.h: created to hold prototyes of objdump.c
* am29k-pinsn.c: include objdump.h
* ar.c: include bucomm.h, get ar.h from the right place and
include libbfd.h
* bucomm.c: defunize bfd_fatal
* copy.c: include bucomm.h, lint.
* i960-pinsn.h: include bucomm.h
* m68k-pinsn.h: lint
* nm.c: include bucomm.h, lint
* objdump.c: lint
* sparc-pinsn.c: include objdump.h
1991-12-08 01:14:09 +00:00
Steve Chamberlain
381ed933d3
Initial revision
1991-12-08 01:13:52 +00:00
K. Richard Pixley
5d845d3707
Fri Dec 6 23:02:14 1991 K. Richard Pixley (rich at rtl.cygnus.com)
...
* Makefile.in: added standards.text support. install using
INSTALL_PROGRAM and INSTALL_DATA.
* configure.in: configure now does all of it's work from objdir so
make file existence tests against ${srcdir}.
Thu Dec 5 22:46:22 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: idestdir and ddestdir go away. Added copyrights
and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
and mandir now keyed off datadir by default.
1991-12-07 07:04:11 +00:00
Steve Chamberlain
bdce0211a3
Sat Nov 30 18:58:40 1991 Steve Chamberlain (sac at cygnus.com)
...
* am29k-pinsn.c m68k-pinsn.c nm.c sparc-pinsn.c: now point to where
the header files have moved to.
1991-12-01 02:59:19 +00:00
Steve Chamberlain
4aa58a0a29
Updated to point to where the header files are now
1991-12-01 02:58:37 +00:00
Per Bothner
d08a5233d9
Various improvements.
1991-11-18 20:06:48 +00:00
Per Bothner
782d79636d
* Makefile.in: Bump to version 1.92.
...
* version.c, Makefile.in: Get version string from Makefile.
* copy.c, is-strip.c, not-strip.c, maybe-strip.c, Makefile.in:
Make the same change that we earlier did for ar/ranlib:
Generate two different binaries for strip and copy and use
a global variable with different values to distinguish
ostrip from copy. (-1 means to use argv[0] to decide,
so you can get the old behavior, but it is no longer the default).
* copy.c (copy_file): Set EXEC_P of output bfd if input is so.
* copy.c (main): If is_strip==-1, compare last 5 chars
of argv[0], not the whole path.
* copy.c (main): Return 0, not 1.
* copy.c (setup_sections): Fix due to change in bfd_make_section
now failing if asked for a duplicate section.
* strip.c, ostrip.c: Removed obsolete files.
* ar.c, not-ranlib.c, maybe-ranlib.c:
Change encoding of is_ranlib variable to be consistent
with is_strip for strip.copy (i.e -1 to means use argv[0]).
1991-11-18 08:04:14 +00:00