Commit Graph

69 Commits

Author SHA1 Message Date
Ian Lance Taylor
a6762b1069 Only build nlmconv if configured for a NetWare target.
* configure.in: If we have some *-*-netware* target, or are using
	all targets, set BUILD_NLMCONV to $(NLMCONV_PROG) in Makefile.
	* Makefile.in (PROGS): Use $(BUILD_NLMCONV) rather than
	$(NLMCONV_PROG).
1993-09-02 16:36:36 +00:00
Ian Lance Taylor
f993f087da * Makefile.in (objdump.o): Depend upon config.status to notice
--with-targets changes.
	(nlmconv.o): Depend upon bucomm.h.
1993-08-31 17:46:56 +00:00
David MacKenzie
d6a4c37569 * Makefile.in ($(NM_PROG)): Depend on demangle.o.
(demangle.o): New target.
	(cplus-dem.o): Depend on it, to force compilation order when doing
	parallel compiles.

	* nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg.
	(struct output_fns print_symbol_info): Ditto.
	(long_options, usage, main): Add -C --demangle option.
	(print_symname): New function, demangling if requested.
	(print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it.
1993-08-13 00:02:25 +00:00
David MacKenzie
bba04d9321 Wed Aug 11 22:57:23 1993 David J. Mackenzie (djm@thepub.cygnus.com)
* Makefile.in: Put CFLAGS last in compilation rules and omit from
	linking rules.  Use ARCHDEFS to compile objdump.c.
	Update dependencies.
	* configure.in: Construct ARCHDEFS based on the BFD target makefile
	fragments.
	* objdump.c: Conditionalize calls to the print_insn_ARCH functions
	according to ARCHDEFS.
1993-08-12 18:00:36 +00:00
Ian Lance Taylor
29078b295d * size.c (berkeley_sum): New function.
(bsssize, datasize, textsize): New global variables.
	(bss_section_name, data_section_name, text_section_name): Removed.
	(print_berkeley_format): Map berkeley_sum over all the sections,
	rather than only reporting sizes of specifically named sections.
	* Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o.
1993-08-11 20:14:37 +00:00
David MacKenzie
4f15fb276d * Makefile.in: Add rules for strings. 1993-06-26 06:38:57 +00:00
Steve Chamberlain
a3a0a4d0a5 Look in the right place for bfd.h. 1993-06-18 21:08:36 +00:00
David D. Zuhn
5ebaf24b77 single-quote $program_transform_name 1993-06-18 19:25:38 +00:00
David D. Zuhn
c8fee4a53e canonicalize install.sh location 1993-06-18 00:35:08 +00:00
David D. Zuhn
238aa238e2 * Makefile.in (install, install-info): remove parentdir support,
use INSTALL_XFORM; define INSTALL_XFORM
1993-06-16 00:45:43 +00:00
Ken Raeburn
d34c55c6e1 hack backquoted command in Makefile.in to always have zero exit status 1993-06-03 18:16:02 +00:00
Jeffrey Osier
3ac620d408 * Makefile.in: added c++filt and objcopy to MANPAGES variable
* .Sanitize:  keep c++filt.1 and objcopy.1
1993-06-03 17:44:34 +00:00
David D. Zuhn
5a07035505 rename LOADLIBES to EXTRALIBS 1993-06-03 07:34:15 +00:00
Ian Lance Taylor
4447efa217 * Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS. 1993-05-27 00:28:16 +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
Ian Lance Taylor
df14d9573c * objcopy.c: Renamed from copy.c, updated comments accordingly.
* Makefile.in, binutils.texi: Renamed copy to objcopy.
	* is-strip.c, maybe-strip.c, not-strip.c: Updated comments for
	rename of copy to objcopy.
1993-05-12 19:08:53 +00:00
Per Bothner
f6dddd4e1d * Makefile.in: Change definition of $(tooldir) to match FSF. 1993-05-04 02:12:50 +00:00
Jim Kingdon
f7ed13c7d5 merge binutils and gdb sparc disassemblers 1993-04-01 16:56:06 +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
Per Bothner
7f7b0a77db * Makefile.in: When making tar file, remove texinfo/*,
except for texinfo/texinfo.tex.
1993-02-26 00:14:49 +00:00
Per Bothner
3048fb38f0 * ardup.c: Add extern declaration of strdup.
* Makefile.in (testsuite):  Add 'else true' since otherwise
	Ultrix /bin/sh complains.
1993-02-25 23:59:10 +00:00
Per Bothner
ee948e4e23 In comment on how to make tar file, fix cvs tag name binutils->ld_utils. 1993-02-25 04:04:00 +00:00
Per Bothner
eba174cea6 * Makefile.in: Set VERSION to 2.1.
* README, NEWS: Updates.
	* nm.c:  Add -v as a synonym for -V.
1993-02-25 03:48:13 +00:00
Mike Werner
4f8b1219bf * configure.in: added testsuite to configdirs.
* Makefile.in: added support for building testsuite.
1993-02-24 03:02:37 +00:00
Fred Fish
c921e2aa7b * Makefile.in (LIBIBERTY_SRC_DIR, LIBIBERTY_BIN_DIR): New macros.
* Makefile.in (LIBIBERTY):  Use LIBIBERTY_BIN_DIR.
	* Makefile.in (DEMANGLER_PROG):  New program to build.  Add macro
	and rule.
	* Makefile.in (PROGS):  Add DEMANGLER_PROG.
1993-02-12 18:08:35 +00:00
Per Bothner
eeece52d14 * Makefile.in: Make check depend on all.
* Makefile.in (distclean): Remove sysdep.h.
	* size.c:  Use %u format where appropriate.
	* objdump.c:  Standardize:  L_SET -> SEEK_SET.
	* objdump.c:  Use new macro bfd_asymbol_bfd.
	* configure.in:  Allow std-host as the default ${mys_host}.
1992-12-22 23:52:26 +00:00
Per Bothner
e2fe2df4d3 * Makefile.in (dist): Fix permissions before release.
* size.c:  Use bfd_size_type (and long) where appropriate.
	* ar.c:  Make writing a map the default, to be compatible
	with SYSV and Posix.2.  Remove some bogus kludges that
	handled __.SYMDEF directly.
	* NEWS:  New file.
1992-12-16 02:13:17 +00:00
David D. Zuhn
3f97524f59 more include changes 1992-11-08 00:00:58 +00:00
Per Bothner
8d5d0e117f * Makefile.in: Added mostlyclean, distclean rules,
and cleaned up clean, realclean.
1992-09-02 07:26:15 +00:00
Ian Lance Taylor
3790af1d33 Brought forward from p3:
Sun Aug 30 21:18:59 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in: map program names through program_transform_name
	when installing.
1992-09-01 01:13:11 +00:00
Mike Werner
fd9d7e4a76 Link libopcodes with objdump 1992-08-31 23:23:34 +00:00
Steve Chamberlain
a4ef860176 Disassemble for z8k and build using opcode library 1992-08-31 22:28:08 +00:00
Per Bothner
455a0d2890 * Makefile.in: Bump to versions 1.97.90.
* cplus-dem.c:  Removed.  Was nowhere used - and if some
	programs are changed to to demangling should now use the
	versions in libiberty.
1992-08-31 01:11:18 +00:00
Ian Lance Taylor
f478fcf663 Moved in from p3:
Tue Aug 18 13:28:44 1992  Ian Lance Taylor  (ian@cygnus.com)

	* config/mh-apollo68v: removed -g from CC definition.

	* Makefile.in: always create installation directories.
1992-08-18 20:34:26 +00:00
Mark Eichin
9752f9fdcd use byacc instead of bison. 1992-06-04 19:10:06 +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
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
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
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
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
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
Steve Chamberlain
f79edb02ab Added the $(MINUS_G) flag so that debugging can be turned off 1991-11-11 17:51:21 +00:00
K. Richard Pixley
84396dcf34 install man pages too 1991-11-08 00:14:07 +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