Ian Lance Taylor
72574626a9
* rclex.l: Add casts and change types to avoid warnings.
...
* rcparse.y: Likewise.
* resbin.c: Likewise.
* rescoff.c: Likewise.
* resrc.c: Likewise.
* Makefile.am: Rebuild dependencies.
(HFILES): Remove readelf.h.
* Makefile.in: Rebuild.
Based on patches from Andrew Kozin
<Andrew.Kozin@p14.f960.n5020.z2.fidonet.org>:
* winduni.h: New file, from windres.h.
* winduni.c: New file, from windres.c.
* windres.c: Move Unicode functions into winduni.c.
* windres.h: Move Unicode declarations into winduni.h. Include
winduni.h.
(RT_ACCELERATOR): Rename from RT_ACCELERATORS to match Windows
macro. Change all uses.
(RT_PLUGPLAY, RT_VXD): Correct values.
* Makefile.am (HFILES): Add windres.h.
(CFILES): Add winduni.c.
(windres_SOURCES): Add winduni.c.
1998-07-01 18:30:20 +00:00
Nick Clifton
cb436f39aa
Improved portability of readelf
1998-06-30 00:03:05 +00:00
Ian Lance Taylor
d8332b2c48
rebuild dependencies
1998-06-25 00:02:38 +00:00
Ian Lance Taylor
2d93867897
Tue Jun 23 14:55:05 1998 Mike Stump <mrs@wrs.com>
...
* Makefile.am (install-exec-local): Don't let EXEEXT interfere
with the program transform name.
* Makefile.in: Rebuild.
1998-06-23 19:01:50 +00:00
Nick Clifton
764668738f
Add 'readelf' to binutils.
1998-06-11 21:51:56 +00:00
Ian Lance Taylor
105ba43fc5
* Makefile.am (YACC): Correct bison -L option.
...
* Makefile.in: Rebuild.
1998-06-03 23:59:39 +00:00
Geoffrey Noer
fdcf7943a0
Wed Apr 29 22:22:55 1998 Geoffrey Noer <noer@cygnus.com>
...
* configure.in: Stop appending EXEEXT to the end of
SRCONV_PROG (wrong because that variable may contain multiple
programs)
* Makefile.am: instead, add EXEEXTs to each SRCONV_PROG
program
* Makefile.in: regenerate
* configure: regenerate
1998-04-30 05:23:50 +00:00
Geoffrey Noer
1bfa8616c3
Wed Apr 29 18:05:52 1998 Geoffrey Noer <noer@cygnus.com>
...
* configure.in: Stop appending EXEEXT to the end of
SRCONV_PROG (wrong because that variable may contain multiple
programs)
* Makefile.in: instead, add EXEEXTs to each SRCONV_PROG
program
* configure: regenerate
1998-04-30 01:15:38 +00:00
Tom Tromey
19ac4b08f0
* Makefile.am (INCLUDES): Search intl dirs for headers; define
...
LOCALEDIR.
* addr2line.c (main): Call setlocale, bindtextdomain, textdomain.
* ar.c (main): Likewise.
* coffdump.c (main): Likewise.
* dlltool.c (main): Likewise.
* nlmconv.c (main): Likewise.
* nm.c (main): Likewise.
* objcopy.c (main): Likewise.
* objdump.c (main): Likewise.
* size.c (main): Likewise.
* srconv.c (main): Likewise.
* strings.c (main): Likewise.
* sysdump.c (main): Likewise.
* windres.c (main): Likewise.
1998-04-22 07:58:44 +00:00
Tom Tromey
9d04d6183d
* Many files: Added gettext invocations around user-visible
...
strings.
* bucomm.h: Added gettext-related includes and defines.
* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
HAVE_LC_MESSAGES): Define.
* configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and
po/Makefile. Use AM_PROG_LEX.
* Makefile.am (SUBDIRS): New macro.
(POTFILES): Likewise.
(po/POTFILES.in): New target.
(LDADD): Added INTLLIBS.
(objdump_LDADD): Likewise.
(c__filt_LDADD): Likewise.
(ar_LDADD): Likewise.
(ranlib_LDADD): Likewise.
(dlltool_LDADD): Likewise.
(windres_LDADD): Likewise.
* po/Make-in, po/POTFILES.in, po/binutils.pot: New files.
1998-04-22 05:32:22 +00:00
Ian Lance Taylor
80ae9dea4b
* Makefile.am (PROGS): Move $(ADDR2LINE_PROG) to end, so that
...
Makefile.in doesn't have an empty continuation line.
(bin_PROGRAMS): Likewise.
* Makefile.in: Rebuild.
1998-04-06 20:25:20 +00:00
Ian Lance Taylor
5327f59f00
* Makefile.am (DISTCLEANFILES): Add site.exp and site.bak.
...
(MOSTLYCLEANFILES): Add binutils.log, binutils.sum, and abcdefgh*.
(mostlyclean-local): New target.
* Makefile.in: Rebuild.
1998-04-03 19:49:49 +00:00
Ian Lance Taylor
3e22b90090
* Makefile.am (DISTCLEANFILES): Remove defparse.h, arparse.h,
...
rcparse.h, and nlmheader.h.
* Makefile.in: Rebuild.
1998-03-30 22:30:28 +00:00
Ian Lance Taylor
ee09ab7f89
Based on patch from H.J. Lu <hjl@gnu.org>:
...
* Makefile.am (DISTSTUFF): New variable.
(diststuff): New target.
(DISTCLEANFILES): New variable.
* Makefile.in: Rebuild.
1998-03-25 18:06:21 +00:00
Doug Evans
2aff49dd48
* Makefile.am (CC_FOR_TARGET,nlmcomv.o): Change program_transform_name
...
to transform.
* Makefile.in: Regenerate.
1998-01-31 03:30:32 +00:00
Ian Lance Taylor
1d1a5a53ee
Wed Jan 28 17:45:46 1998 Ian Lance Taylor <ian@cygnus.com>
...
* configure.in: Remove vfork check.
* nlmconv.c: Never include vfork.h.
* aclocal.m4, configure, Makefile.in, config.in: Rebuild.
* configure.in: Check for mingw32 when deciding whether to build
dlltool.
1998-01-28 22:48:37 +00:00
Ian Lance Taylor
0e1a8af17a
* Makefile.am (check-DEJAGNU): Export r.
...
(.dep1): Use $(INCLUDES) rather than $(ALL_CFLAGS).
* Makefile.in: Rebuild.
* nlmheader.y: Use VERSIONK rather than VERSION.
1997-08-05 04:33:31 +00:00
Ian Lance Taylor
ac413020df
* Makefile.am (STRIP_PROG): Change from strip.new to strip-new.
...
(NM_PROG): Change from nm.new to nm-new.
(TOOL_PROGS, install-exec-local): Adjust accordingly.
* Makefile.in: Rebuild.
1997-08-05 04:04:31 +00:00
Ian Lance Taylor
7ab51306ae
* Makefile.am (install-exec-local): Create $(tooldir)/bin before
...
trying to install anything into it.
* Makefile.in: Rebuild.
1997-08-04 19:55:49 +00:00
Ian Lance Taylor
bf2a3cb1af
* Makefile.am (TOOL_PROGS): Use an explicit $(EXEEXT).
...
(install-exec-local): When handling $(noinst_PROGRAMS), only use
$(EXEEXT) on the installed file. When handling $(TOOL_PROGS),
handle $(EXEEXT) correctly.
* configure.in: Add an explicit $(EXEEXT) when substituting for
the name of a program to build.
* Makefile.in, configure: Rebuild.
1997-08-04 19:32:56 +00:00
Ian Lance Taylor
8496c2a9b9
* aclocal.m4, configure, Makefile.in: Rebuild with new automake
...
patches.
1997-08-04 16:05:31 +00:00
Ian Lance Taylor
e5b3abe4df
* deflex.l, defparse.y: Use VERSIONK rather than VERSION.
...
* rclex.l, rcparse.y: Likewise.
* Makefile.am (windres_SOURCES): Add $(BULIBS).
* Makefile.in: Rebuild.
1997-08-04 15:51:44 +00:00
Ian Lance Taylor
d467c30d18
* Makefile.am: New file, based on old Makefile.in.
...
* acinclude.m4: New file, from old aclocal.m4.
* configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove
shared library handling; now handled by libtool. Replace
AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC,
AC_PROG_LEX, AC_DECL_YYTEST, AM_MAINTAINER_MODE, AM_CYGWIN32, and
AM_EXEEXT. Replace AC_PROG_INSTALL with AM_PROG_INSTALL. Remove
stamp-h handling in AC_OUTPUT.
* acconfig.h: Mention PACKAGE and VERSION.
* stamp-h.in: New file.
* Makefile.in: Now built with automake.
* aclocal.m4: Now built with aclocal.
* config.in, configure: Rebuild.
1997-08-01 03:49:39 +00:00
Ian Lance Taylor
662cc41eaf
* resbin.c: New file.
...
* rclex.l, rcparse.y, rescoff.c, resrc.c, windres.c, windres.h:
Numerous fixes and improvements.
* Makefile.in: Rebuild dependencies.
(CFILES): Add resbin.c.
(WINDRES_OBJS): Add resbin.o.
1997-06-26 00:59:44 +00:00
Ian Lance Taylor
e4486bdf9f
Another windres snapshot. Can now read the COFF resources directory,
...
although it doesn't yet parse out the binary format.
1997-06-23 00:08:54 +00:00
Ian Lance Taylor
1d371d35ee
First stab at Windows resource compiler:
...
* windres.h: New file.
* windres.c: New file.
* resrc.c: New file.
* rcparse.y: New file.
* rclex.l: New file.
* configure.in: Define and substitute BUILD_WINDRES.
* configure: Rebuild.
* Makefile.in: Rebuild dependencies.
(WINDRES_PROG): New variable.
(PROGS): Add @BUILD_WINDRES@.
(HFILES): Add dlltool.h and windres.h.
(CFILES): Add windres.c and resrc.c.
(GENERATED_CFILES): Add rcparse.c and rclex.c.
(WINDRES_OBJS): New variable.
$(WINDRES_PROG): New target.
(rcparse.c, rcparse.h, rclex.c): New targets.
Snapshot. windres can parse and print rc files.
1997-06-22 21:35:35 +00:00
Ian Lance Taylor
4066f85fd5
* Makefile.in (INSTALL): Set to @INSTALL@.
...
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
(install): Depend upon installdirs. Use $(program_transform_name)
directly, rather than using $(INSTALL_XFORM) and
$(INSTALL_XFORM1).
(installdirs): New target.
(install-info): Run mkinstalldirs.
1997-04-15 17:45:20 +00:00
Ian Lance Taylor
4c62d7407d
revert last patch
1997-04-14 20:04:38 +00:00
Ian Lance Taylor
7f92ace993
* Makefile.in (INSTALL): Set to @INSTALL@.
1997-04-14 20:01:10 +00:00
Ian Lance Taylor
575653d37d
From Thomas Graichen <graichen@rzpd.de>:
...
* Makefile.in: Always use $(SHELL) when running move-if-change.
* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
* configure: Rebuild.
1997-04-14 15:57:21 +00:00
Ian Lance Taylor
a067162dd2
* Makefile.in (distclean): Remove site.exp and site.bak. Remove
...
everything that clean removes.
1997-04-04 18:35:06 +00:00
Ian Lance Taylor
fbe0d6c29f
* Makefile.in (distclean): Remove site.exp and site.bak.
1997-04-04 18:28:25 +00:00
Ian Lance Taylor
3884d17b45
* Makefile.in (VERSION): Set to 2.8.1.
1997-04-03 18:19:26 +00:00
Ian Lance Taylor
e0742b2400
* Makefile.in: Rebuild dependencies.
1997-03-18 16:37:42 +00:00
Ian Lance Taylor
6ded661565
* Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
1996-12-31 20:43:28 +00:00
Jason Molenda
42ad648437
* Makefile.in (clean): Remove config.log.
1996-10-03 06:38:49 +00:00
Ian Lance Taylor
7f924d5516
* version.c (print_version): New function.
...
* bucomm.h (print_version): Declare.
* ar.c (program_version): Don't declare.
(do_show_version): Remove.
(usage): Add help parameter. Print bug report address.
(main): Set is_ranlib at start. Check for --help and --version.
Call print_version, not do_show_version.
* nlmconv.c (program_version): Don't declare.
(main): Call print_version.
(show_usage): Print bug report address.
* nm.c (program_version, print_version): Don't declare.
(usage): Print bug report address.
(main): Call print_version.
* objcopy.c (program_version): Don't declare.
(copy_usage): Print bug report address.
(strip_usage): Likewise.
(strip_main): Call print_version.
(copy_main): Likewise.
* objdump.c (program_version): Don't declare.
(usage): Print bug report address.
(main): Call print_version.
* size.c (program_version): Don't declare.
(usage): Print bug report address.
(main): Call print_version.
* strings.c (program_version): Don't declare.
(main): Call print_version.
(usage): Print bug report address.
* Makefile.in: Update dependencies.
1996-10-01 19:10:40 +00:00
Ian Lance Taylor
f32fb3fd1f
* rdcoff.c: New file.
...
* rddbg.c (read_debugging_info): Read COFF symbols if COFF flavour
and no stabs were found.
* budbg.h (parse_coff): Declare.
* Makefile.in: Rebuild dependencies.
(CFILES): Add rdcoff.c.
(DEBUG_OBJS): Add rdcoff.o.
1996-04-16 17:53:58 +00:00
Ian Lance Taylor
efa864530f
* configure.in: Substitute RPATH_ENVVAR.
...
* configure: Rebuild.
* Makefile.in (RPATH_ENVVAR): New variable.
(check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
1996-02-15 18:57:34 +00:00
Ian Lance Taylor
36fb98bec6
* configure.in: Check for --enable-shared. Substitute new
...
variables BFDLIB and OPCODES.
* configure: Rebuild.
* Makefile.in (BFDLIB): Set to @BFDLIB@.
(OPCODES): Set to @OPCODES@.
1996-02-07 19:19:22 +00:00
Ian Lance Taylor
5207a907b6
* Makefile.in: (ALLOCA, MALLOC): Remove variables.
...
(ADDL_LIBS): Remove $(MALLOC) from definition.
* alloca.c, gmalloc.c: Remove.
1996-01-10 20:43:39 +00:00
Ian Lance Taylor
0374a10562
* Makefile.in: Updated dependencies.
1996-01-10 20:33:36 +00:00
Ian Lance Taylor
f5818d79dd
* objcopy.c: Include budbg.h.
...
(convert_debugging): New static variable.
(OPTION_DEBUGGING): Define.
(copy_options): Add "debugging".
(copy_usage): Mention --debugging.
(is_strip_section): Skip debugging sections if convert_debugging.
(setup_section, copy_section): Likewise.
(filter_symbols): Skip debugging symbols if convert_debugging.
(copy_object): If convert_debugging, read and write debugging
information.
(write_debugging_info): New static function.
(copy_main): Handle --debugging.
* Makefile.in (DEBUG_OBJS): New variable.
($(OBJCOPY_PROG)): Depend upon and link against $(DEBUG_OBJS).
($(STRIP_PROG)): Likewise.
(OBJDUMP_OBJS): Remove variable.
($(OBJDUMP_PROG)): Use objdump.o $(DEBUG_OBJS) rather than
$(OBJDUMP_OBJS).
* binutils.texi, objcopy.1: Document --debugging.
1996-01-08 23:18:29 +00:00
Ian Lance Taylor
f516798679
* ieee.c: New file with code to read IEEE debugging information.
...
* budbg.h (parse_ieee): Declare.
* rddbg.c (read_debugging_info): Handle IEEE flavour files.
(read_ieee_debugging_info): New static function.
* Makefile.in: Rebuild dependencies.
(CFILES): Add ieee.c.
(OBJDUMP_OBJS): Add ieee.o.
1996-01-04 21:35:04 +00:00
Stan Shebs
f44f761453
* mac-binutils.r: Fix copyright and version strings.
...
* Makefile.in (version): Remove, no longer used.
1995-12-11 22:35:35 +00:00
Ian Lance Taylor
53e174d692
* Makefile.in (EXPECT): Use $$r, not $${rootme}.
...
(check): Set r, not rootme.
1995-11-22 18:18:21 +00:00
Ken Raeburn
b218076e59
version 2.6
1995-11-16 10:12:33 +00:00
Ian Lance Taylor
293129ca0e
Permit user to override DEMANGLER_PROG from command line. From
...
Manfred Hollstein <manfred@lts.sel.alcatel.de>.
* Makefile.in ($(DEMANGLER_PROG)): Depend upon
$(DEMANGLER_PROG).1.
(install): Don't depend upon $(DEMANGLER_PROG).1. Only install
$(DEMANGLER_PROG).1 if $(DEMANGLER_PROG) is not empty.
1995-11-03 17:44:16 +00:00
Ian Lance Taylor
97f264c0e6
Wed Nov 1 15:04:57 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
...
* Makefile.in (syslex.o): add -I$(srcdir) if compiling in a
separate directory.
1995-11-01 20:06:30 +00:00
Fred Fish
934641476c
* Makefile.in: Remove extraneous tab on otherwise empty line,
...
which confuses many non-GNU versions of "make".
1995-10-20 20:58:45 +00:00