Commit Graph

483 Commits

Author SHA1 Message Date
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
Per Bothner
cf0cdb8751 Initial revision 1991-11-18 08:04:02 +00:00
Roland Pesch
c83497f545 .Sanitize: reflect someone's apocopation of binutils.texi[nfo] name
Makefile.in: improve texi2roff workarounds
1991-11-15 23:34:35 +00:00
Roland Pesch
6141fd50d6 Remove '-' prefix from makeinfo invocation. There are no info errors
in doc here; if any creep in I want a bug report.
1991-11-14 01:11:52 +00:00
K. Richard Pixley
de53632ceb build and install info; install other correctly 1991-11-14 00:14:57 +00:00
K. Richard Pixley
9abcc3b8c4 added info dir menu hooks 1991-11-14 00:11:15 +00:00
Roland Pesch
2226a09076 (1) repair Makefile targets involving "binutils.texinfo" to use
instead new short name "binutils.texi" (which presumably someone
changed for SysV short-name file systems).

(2) use [what I understand to be] current conventions for $srcdir,
makeinfo -o.

(3) more filtering of roff'able target forms of doc.
1991-11-14 00:06:25 +00:00
K. Richard Pixley
c72af73543 Initial revision 1991-11-13 19:01:53 +00:00
Per Bothner
68a2b608ed * ar.c (get_pos_bfd): Previous fix was missing a "break". 1991-11-13 00:19:34 +00:00
Steve Chamberlain
f79edb02ab Added the $(MINUS_G) flag so that debugging can be turned off 1991-11-11 17:51:21 +00:00
Steve Chamberlain
bb5ae298fc Now runs write_armap, even when listing contents. 1991-11-09 01:07:40 +00:00
Steve Chamberlain
66f3e59427 Fixed bug printing 29050 instructions. 1991-11-09 00:13:31 +00:00
Roland Pesch
ec34e28bb4 Fix missing brackets, parens, discovered during man-page conversion. 1991-11-08 00:31:44 +00:00
K. Richard Pixley
84396dcf34 install man pages too 1991-11-08 00:14:07 +00:00
Steve Chamberlain
86c18d92d2 *** empty log message *** 1991-11-07 16:57:21 +00:00
Steve Chamberlain
05b47bfbff Added nm.1, objdump.1, ranlib.1, size.1 and strip.1 1991-11-06 09:06:02 +00:00
Roland Pesch
df22f46905 Initial revision 1991-11-05 23:35:16 +00:00
Roland Pesch
2c8df22dde Initial revision 1991-11-05 23:19:25 +00:00
Roland Pesch
75470b8ee1 Fix for slight formatting error discovered while converting man pages. 1991-11-05 22:53:44 +00:00
Roland Pesch
5ad691d474 Initial revision 1991-11-05 22:52:54 +00:00
Roland Pesch
19450a0c52 Initial revision 1991-11-05 22:43:50 +00:00
Roland Pesch
503b93500b Initial revision 1991-11-05 22:29:15 +00:00
Roland Pesch
0f6863a5c7 Initial revision 1991-11-05 22:18:44 +00:00
Steve Chamberlain
c3a0b87a43 Added README to .Sanitize
Made Makefile.in install using ddestdir
1991-11-05 20:53:19 +00:00
K. Richard Pixley
40773f7f3f find include files 1991-11-05 00:06:29 +00:00
Per Bothner
b27d204648 * Makefile.in ($(DIST_NAME).tar.Z), TODO: Various fixes.
* ar.c (get_pos_bfd): Fix to handling of before/after
	positioning options.
	* bucomm.c (fatal):  MISSING_VFPRINTF is no longer an issue,
	since libiberty contains vfprintf etc if otherwise missing.
	* m68k-pinsn.c (print_insn_arg):  Support BB/BW/BL
	type operands, as used by branch instructions.
	* nm.c:  Delegate printing of symbols to BFD,
	by using bfd_print_symbol to do the formatting.
1991-11-03 22:58:48 +00:00
Roland Pesch
715eb31fa9 *** empty log message *** 1991-11-01 01:46:59 +00:00
Roland Pesch
9f06bb91f2 Minor corrections from proofreading pass for WRS. 1991-10-29 21:27:01 +00:00
Steve Chamberlain
0885eef129 Don't care about an unlink failure 1991-10-29 07:13:23 +00:00
Steve Chamberlain
5f0e876707 * ar.c (write_archive.c): added unlink before rename since some
systems can't rename onto an existant file.
1991-10-28 19:22:12 +00:00
Steve Chamberlain
7e3091046d * nm.c: now doesn't crash if a symbol with no section and no
SEC_ABS appears.
1991-10-21 16:48:10 +00:00
Per Bothner
d8474a9bc1 * Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c,
i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c,
	* strip.c: Add or update Copyright notice.
	* TODO:  Add note on 'nm -a'.
	* version.c: Update version number to 1.90.
	* Makefile.in: Fix making of documentation for dist.
1991-10-16 18:57:08 +00:00
Roland Pesch
0c10ff03a5 New targets binutils.mm, binutils.me 1991-10-15 00:35:13 +00:00
John Gilmore
d7cce023da Avoid Sun Make VPATH bugs by adding dependencies. 1991-10-12 05:44:58 +00:00
Roland Pesch
6b58372076 * Makefile.in: add target "binutils.ms" 1991-10-11 23:11:17 +00:00
Roland Pesch
abd4aaa9cb * binutils.texinfo: minor restructuring for texi2roff comfort.
(said "makeinfo" rather than "texi2roff" by mistake in CVS log for binutils.
This one's right.  Good thing, since this one's the distributed log...
1991-10-11 19:52:56 +00:00
Roland Pesch
15c1f44db6 More literal adherence to "standard" texinfo usage of @tex, @title, @author,
etc., for makeinfo's comfort.
1991-10-11 19:50:14 +00:00
John Gilmore
d7381d0cb0 Restructure configuration scheme for bfd, binutils, ld.
* include/sys/h-*.h:  Move to bfd/hosts/h-*.h.
* configure.in:  Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
Change some config names to match other dirs.
* *.c:  Include bfd.h before sysdep.h, so ansidecl and PROTO()
get defined first.
* Makefile.in:  Use -I. to get sysdep.h.
1991-10-11 11:24:04 +00:00
John Gilmore
7eff5bcf96 Use -I. to get sysdep.h. 1991-10-11 11:22:25 +00:00
John Gilmore
2a5f387b08 Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. 1991-10-11 11:22:05 +00:00
K. Richard Pixley
1a31570390 updating 1991-10-10 11:59:25 +00:00
Per Bothner
3f51b6cf18 * nm.c (print_symbols): Handle NULL name field of symbol.
* Makefile.in: Removed spurious comment.
1991-10-10 05:44:37 +00:00
Roland Pesch
843b88bafe Oops... forgot 1.9 -> 1.90 last time around... 1991-10-10 00:56:38 +00:00
Roland Pesch
8706a92ce1 Warn 'ar q' doesn't update archive ST index. 1991-10-10 00:48:05 +00:00
Roland Pesch
c9629e6eac * binutils.texinfo: minor typos, phrasing, formatting fixes. 1991-10-08 23:55:58 +00:00
Per Bothner
398eef0a8d * configure.in: Get host file from ../bfd/config, not config. 1991-10-08 22:15:27 +00:00
Roland Pesch
b7a11ec217 * Makefile.in: new targets binutils.dvi, binutils.info 1991-10-08 22:01:41 +00:00
Roland Pesch
050f05e73f Tue Oct 8 13:58:59 1991 Roland H. Pesch (pesch at cygnus.com)
* binutils.texinfo: remove most remaining FIXME's, delete
	references to __.SYMDEF by name
1991-10-08 20:59:54 +00:00
Steve Chamberlain
71e83453e5 Tue Oct 8 10:23:44 1991 Steve Chamberlain (steve at cygnus.com)
* objdump.c (print_address) Print addresses nicely.
1991-10-08 18:07:33 +00:00
Roland Pesch
f036c5d55f Two formatting bugfixes. 1991-10-08 02:28:43 +00:00
Roland Pesch
2f3c1742f7 Updated sketchy doc for devo versions. FIXMEs remain. 1991-10-08 02:22:16 +00:00
John Gilmore
598f2864d2 Remove configure and config.sub from the expected list. 1991-10-08 01:50:59 +00:00
John Gilmore
aa41241ff4 Add binutils.texinfo, and change *-ranlib.o to *-ranlib.c. 1991-10-08 01:48:04 +00:00
Per Bothner
8539db10f4 Fixed typo (for RANLIB_PROG).
Started writing rules for making a tar file.
1991-10-08 00:56:23 +00:00
Per Bothner
06a97fbd00 * ar.c, Makefile.in, new files {is,not,maybe}-ranlib.c:
Make two different binaries for ar and ranlib, instead of
	distinguishing them at run time using argv[0].
	(Old behavior is still available if you "make ar_with_ranlib",
	but it is not the default.)
	* ranlib.sh (new):  An alternative one-line
	shell implementation of ranlib.
1991-10-07 23:14:30 +00:00
Per Bothner
ef82baf8c5 Initial revision 1991-10-07 23:14:25 +00:00
John Gilmore
e779a58cf4 Cope with renames of a few BFD types & enums. 1991-10-05 04:50:54 +00:00
Roland Pesch
0a5403df39 *** empty log message *** 1991-10-05 02:08:34 +00:00
Roland Pesch
de5fd53b81 Initial revision 1991-10-05 02:07:51 +00:00
K. Richard Pixley
f1eb48b62e no more configure on which to depend 1991-10-02 07:24:45 +00:00
K. Richard Pixley
5a168a17ee resync 1991-10-02 04:15:56 +00:00
K. Richard Pixley
b9fe720d06 steves h8 patches 1991-10-02 04:01:08 +00:00
Steve Chamberlain
21214e8e88 Use the new architecture functions 1991-10-01 03:50:57 +00:00
K. Richard Pixley
a26878d1fa Exploit the new executable config.status 1991-10-01 03:46:00 +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
Steve Chamberlain
9b24fc7087 Added config.sub 1991-09-01 03:47:07 +00:00
K. Richard Pixley
4f18392953 Initial revision 1991-08-22 07:15:48 +00:00
K. Richard Pixley
db19f82883 Die on missing host fragments, let missing target fragments pass. 1991-08-14 22:23:44 +00:00
K. Richard Pixley
4101d86838 Host-level GNUmakefiles. 1991-08-06 19:12:55 +00:00
Steve Chamberlain
821f042dfe From David Wood 1991-07-19 15:21:35 +00:00
Steve Chamberlain
2013f9b4e1 Initial revision 1991-07-15 23:43:15 +00:00
Steve Chamberlain
a737c70bde *** empty log message *** 1991-07-15 23:41:06 +00:00
Steve Chamberlain
17e6f61f1f *** empty log message *** 1991-06-14 22:54:48 +00:00
K. Richard Pixley
7cffe88a92 Added -A switch. 1991-06-09 20:38:35 +00:00
K. Richard Pixley
052ec27f38 Don't sort the const array in place. 1991-06-09 20:38:03 +00:00
K. Richard Pixley
a01bf1fbc1 added support for binary comparisons. 1991-06-09 20:27:20 +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
K. Richard Pixley
6c18e39366 fixed a bug in multiple targets 1991-05-27 20:54:50 +00:00
K. Richard Pixley
86e4d6e4aa Initial revision 1991-05-23 21:49:14 +00:00
K. Richard Pixley
320484bfc8 new sparc-opcode, new pinsn. 1991-05-23 03:49:10 +00:00
K. Richard Pixley
c64cf848ed Oops. 1991-05-22 01:40:35 +00:00
K. Richard Pixley
839df5c343 v9 stuff. 1991-05-22 01:18:42 +00:00
Steve Chamberlain
7ed4093abc *** empty log message *** 1991-05-21 00:14:16 +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
K. Richard Pixley
bb50293f44 Updated to relect a gdb change in sparc-opcode.h. 1991-05-19 08:00:57 +00:00
K. Richard Pixley
c422030318 see devo/configure 1.11 1991-05-14 14:14:40 +00:00
Steve Chamberlain
23565c68dc C
VS: ----------------------------------------------------------------------
1991-05-12 07:34:24 +00:00
John Gilmore
1417a2cd1c Fix =&'s in copy.c 1991-05-04 05:22:47 +00:00
John Gilmore
7a5a3c7b86 Merge devo/bfd with GDB's bfd.
Use "libiberty" rather than "getopt" directory.
Add a few FIXME's to ar.c.
1991-05-02 03:06:46 +00:00
John Gilmore
d6e467b4c5 Use the new merged include directory. 1991-04-25 04:25:00 +00:00
K. Richard Pixley
6a3958b22d Three staging checkpoint. 1991-04-24 16:52:32 +00:00
Steve Chamberlain
9872a49c27 *** empty log message *** 1991-04-23 16:02:09 +00:00
David Henkel-Wallace
2ef2fb7e05 fix a smallie but nasttie. 1991-04-19 19:40:55 +00:00
David Henkel-Wallace
931004e457 allow the user to specify a file more than once on the command line --
the duplicate references are ignored.
::wq
1991-04-19 18:04:37 +00:00
David Henkel-Wallace
ab01cf22f0 *** empty log message *** 1991-04-19 18:03:10 +00:00
Steve Chamberlain
df33394f8f Fixed an include 1991-04-18 21:16:03 +00:00
Steve Chamberlain
bf66105649 Fixed some prototypes 1991-04-18 21:14:53 +00:00
Steve Chamberlain
75a082e25e Send the right # of args to an fprintf 1991-04-18 21:14:21 +00:00
David Henkel-Wallace
8ab76aa732 fix two small bugs: quick-append no longer used to create fresh archives;
ar t on a non-existant file does not claim to create it.
1991-04-17 20:13:42 +00:00
K. Richard Pixley
9bba778491 Now uses getopt from ../getopt. 1991-04-17 01:58:08 +00:00
K. Richard Pixley
04dc1a6246 Fixed a problem with host dependent parts. 1991-04-17 01:41:32 +00:00
K. Richard Pixley
b5132a6b85 Now handles multiple hosts and targets. 1991-04-16 00:04:50 +00:00
K. Richard Pixley
ec342d7d9a Config cut 3. We now almost install a29k. 1991-04-13 02:12:45 +00:00
K. Richard Pixley
f2e91404e7 Cut 2. Subdirs. 1991-04-10 22:56:51 +00:00
K. Richard Pixley
a10d26a1d4 First cut config hits binutils. 1991-04-09 23:44:28 +00:00
David Henkel-Wallace
ad19c0a2d1 Fixed some bd in which temp files and directory were left around.
Dir itself has a short enough name to function under sysv.
1991-04-08 20:40:37 +00:00
K. Richard Pixley
99a42820d9 Initial revision 1991-04-04 18:37:36 +00:00
Steve Chamberlain
b6fc45ca4c *** empty log message *** 1991-04-04 17:55:47 +00:00
Steve Chamberlain
b473cf198e If stripping, don't copy reloc info 1991-03-26 22:05:50 +00:00
Steve Chamberlain
617cd57142 Now returns correct status. 1991-03-26 20:52:21 +00:00
David Henkel-Wallace
c074abeebc Back from Intel with Steve 1991-03-21 21:29:07 +00:00
David Henkel-Wallace
2fa0b342a5 Initial revision 1991-03-21 21:29:06 +00:00