Commit graph

589 commits

Author SHA1 Message Date
Nick Clifton
ce770ed5f4 Add missing \n\ from help description. 1998-06-04 16:13:47 +00:00
Ian Lance Taylor
105ba43fc5 * Makefile.am (YACC): Correct bison -L option.
* Makefile.in: Rebuild.
1998-06-03 23:59:39 +00:00
Ian Lance Taylor
144826805f * binutils.texi, objdump.1: Document -p/--private-headers. 1998-06-03 23:32:22 +00:00
Nick Clifton
537b2e5e86 Implemented new command line options: --change-section-vma and --change-section-lma.
Tidied up the code.
1998-06-03 22:54:50 +00:00
Nick Clifton
e48127735d Add new function: non_fatal(). 1998-06-03 19:13:40 +00:00
Ian Lance Taylor
83058b8c7b From Yuli Barcohen <yuli.barcohen@telrad.co.il>:
* debug.c (debug_type_samep): Avoid endless loops comparing
	function and method parameter types.
1998-06-01 22:28:07 +00:00
Nick Clifton
061ed861b0 Add support for interworking in DLLs.
Document dlltool.
1998-05-14 21:11:16 +00:00
Nick Clifton
cbf35aef3f Include 1998 in copyright strings. 1998-05-14 21:05:14 +00:00
Nick Clifton
6f005bdcb1 Support Win32 style directory separators. 1998-05-14 21:03:51 +00:00
Nick Clifton
b1e901371e Extended help information provided about command line options. 1998-05-08 17:36:22 +00:00
Ian Lance Taylor
ead3130290 Wed May 6 15:28:51 1998 Klaus Kaempf <kkaempf@progis.de>
* makefile.vms: Run dec c with /nodebug.  Pass CC value when
	calling make.
1998-05-06 19:29:52 +00:00
Ian Lance Taylor
803f093def * Makefile.am (EXTRA_PROGRAMS): Change $(SRCONV_PROG) to sysconf
sysdump coffdump to avoid extra $(EXEEXT).
	* Makefile.in: Rebuild.
Also rebuild configure with correct version of autoconf.
1998-05-04 02:07:04 +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
faaba487f8 * addr2line.c (main): Conditionally call setlocale.
* windres.c (main): Likewise.
	* sysdump.c (main): Likewise.
	* strings.c (main): Likewise.
	* srconv.c (main): Likewise.
	* size.c (main): Likewise.
	* objdump.c (main): Likewise.
	* objcopy.c (main): Likewise.
	* nm.c (main): Likewise.
	* nlmconv.c (main): Likewise.
	* dlltool.c (main): Likewise.
	* coffdump.c (main): Likewise.
	* ar.c (main): Likewise.
	* bucomm.h: Include <locale.h> if HAVE_LOCALE_H.
	(LC_MESSAGES): Now can be defined even when ENABLE_NLS.
1998-04-29 02:44:49 +00:00
Ian Lance Taylor
c027e8b019 clean up IMPORTS changes 1998-04-29 00:04:11 +00:00
Bill Moyer
ddfe59af91 Updated ChangeLog to reflect IMPORT support changes in dlltool. 1998-04-28 18:09:53 +00:00
Ian Lance Taylor
5b10df4a85 * configure.in: Change version number to 2.9.4
* configure: Rebuild.
1998-04-27 20:42:00 +00:00
Tom Tromey
55c7812d44 * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir). 1998-04-22 22:13:58 +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
22947e96cd Tue Apr 21 16:07:18 1998 Stanislav Brabec <utx@k332.feld.cvut.cz>
* objcopy.c (preserve_dates): New file static variable.
	(smart_rename): If preserve_dates, call set_times when copying.
	(strip_main): Remove preserve_dates local variable.
	(copy_main): Likewise.
1998-04-21 20:08:36 +00:00
Ian Lance Taylor
d69831f684 * Makefile.am (DISTSTUFF): Add defparse.h, defparse.c, rclex.c,
rcparse.h, and rcparse.c
	* Makefile.in: Rebuild.
1998-04-07 19:41:52 +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
ac0835f233 Wed Apr 1 13:11:23 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* binutils.texi: Use @itemx for a secondary item in a table.
1998-04-01 18:12:56 +00:00
Ian Lance Taylor
de869287dd * dep-in.sed: Add rule to remove @OBJDIR@.
* Makefile.am (dep.sed): Substitute for @OBJDIR@.
	* Makefile.in: Rebuild.
1998-03-31 23:45:24 +00:00
Ian Lance Taylor
f3aa01e2a4 * configure.in: Set version to 2.9.1.
* configure: Rebuild.
1998-03-30 22:35:51 +00:00
Ian Lance Taylor
d3c1453d09 Fix some gcc -Wall warnings:
* nlmconv.c (main): Add casts to avoid warnings.
	(alpha_mangle_relocs): Likewise.
	* objdump.c (dump_section_stabs): Likewise.
	* size.c (print_sysv_format): Likewise.
	* srcconv.c (wr_ob): Likewise.
	* wrstabs.c (stab_modify_type): Likewise.
	(stab_variable): Likewise.
	* nlmconv.c (main): Initialize variables to avoid warnings.
	* nm.c (sort_symbols_by_size): Likewise.
	* objdump.c (disassemble_bytes): Likewise.
	* wrstabs.c (stab_end_class_type): Likewise.
	* coffgrok.c (do_sections_p2): Change j to unsigned int.
	(do_lines): Change l to unsigned int.
	* nlmheader.y (yylex): Change i to unsigned int.
	* nm.c (print_symbol): Change j to long.
	* size.c (lprint_number): Comment out.
	* srconv.c (wr_ob): Change i to bfd_size_type.
	* sysdump.c (unit_info_list): Comment out.
	(object_body_list, program_structure, debug_list): Likewise.
	* sysinfo.y (yyerror): Return value.
1998-03-28 22:45:56 +00:00
Richard Henderson
77c9b27d97 * defparse.y (explist): Allow epsilon.
Suggestion from Jonathan-Harris@psion.com.
1998-03-27 01:08:40 +00:00
Richard Henderson
b4b91a539b * coffgrok.c (do_sections_p1): Use the section's lma instead of vma
for the benefit of prom loaders.

pr 14947
1998-03-27 01:05:06 +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
Ian Lance Taylor
48c9f0ebd5 * rclex.l: Accept { and } as synonyms for BEGIN and END. 1998-03-25 00:33:29 +00:00
Ian Lance Taylor
c9b3e42e6b * dlltool.c (make_one_lib_file): Don't add 1 to hint. 1998-02-18 01:34:41 +00:00
Ian Lance Taylor
d383cc5c5b * Makefile.am (AUTOMAKE_OPTIONS): Define.
* configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
1998-02-13 21:39:55 +00:00
Ian Lance Taylor
9a455e6bd6 * deflex.l: Accept '?' in symbol names, for VC++ mangled names.
From Mikey <jeffdb@netzone.com>.
1998-02-12 20:53:49 +00:00
Ian Lance Taylor
eaa147a640 * addr2line.c (usage): Update bug-gnu-utils address.
* ar.c (usage): Likewise.
	* nlmconv.c (show_usage): Likewise.
	* nm.c (usage): Likewise.
	* objcopy.c (copy_usage): Likewise.
	(strip_usage): Likewise.
	* objdump.c (usage): Likewise.
	* size.c (usage): Likewise.
	* strings.c (usage): Likewise.
	* windres.c (usage): Likewise.
	* binutils.texi (Bug Reporting): Likewise.
1998-02-12 19:19:33 +00:00
Ian Lance Taylor
12e0afe57b * configure, Makefile.in, aclocal.m4: Rebuild with new libtool. 1998-02-05 17:24:24 +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
ac9708a601 Thu Jan 29 16:24:04 1998 Mumit Khan <khan@xraylith.wisc.edu>
* dlltool.c: Define exit status macros for _WIN32 but not
	__CYGWIN32__.
	(gen_lib_file): Check for exit status of unlink.
	* resrc.c: Define popen and pclose if _WIN32 but not
	__CYGWIN32__.
1998-01-29 21:31:11 +00:00
Ian Lance Taylor
448258693f Wed Jan 28 17:43:02 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
* objcopy.c (copy_archive): Only pass one argument to mkdir if
	_WIN32 but not __CYGWIN32__.
	(smart_rename): Add code for _WIN32 (not __CYGWIN32__), to cope
	with different rename behaviour and lack of chown.
1998-01-28 22:58:15 +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
Fred Fish
ffeec95486 * objdump.c (disassemble_bytes): Add flag INSN_HAS_RELOC to tell
disassembly function there is a reloc on this line.
1998-01-23 02:37:34 +00:00
Richard Henderson
5f91fe02c0 * srconv.c (sh, h8300): Delete variables.
(addrsize, toolname, rnames): New variables.
        (writeINT): Use addrsize.
        (wr_un): Use toolname.
        (wr_hd): Set up addrsize et al properly for h8300[hs].
        (walk_tree_symbol): Zero dsy.  Use rnames.
        (wr_un, wr_hd, wr_ob, wr_du): Use proper bfd access macros.
        * sysdump.c (sh, h8300): Delete variables.
        (addrsize): New variable.
        (getINT): Use it.
        (getone): Initialize it.
        (getBITS): Range check on MAX.
1998-01-14 23:54:17 +00:00
Ian Lance Taylor
dca8a1e74b From Matthew Bellantoni <matthew@chrysalis.com>:
* ar.c (get_pos_bfd): Add default_posname parameter.  Change all
	callers.
	(replace_members): Default to replacing in the same position.
1997-12-29 14:00:59 +00:00
Ian Lance Taylor
999539b559 * rclex.l: Don't permit a comma in a STRING.
* rcparse.y (acc_entry): Warn if an inappropriate modifier is used
	with a non VIRTKEY.
	(acc_event): For a control character, set VIRTKEY, and force the
	character to uppercase.
	(acc_options): Don't require a comma separator.
1997-12-22 08:29:28 +00:00
Nick Clifton
0c4f6dc21a Removed disasm_symaddr() function and switched detection of Arm vs Thumb
mode over to state of info->symbol, ala the MIPS port.
1997-12-08 19:26:40 +00:00
Nick Clifton
fd6d6c603d Add call to disasm_symaddr() 1997-12-02 18:26:14 +00:00
Ian Lance Taylor
0270c56097 * windres.h (ESCAPE_*): Define standard escape sequences.
* rclex.l (handle_quotes): Handle standard escape sequences.  Warn
	about an unrecognized escape character.
	* windres.c (unicode_print): Print standard escape sequences.
	* rcparse.y (acc_event): Initialize $$.next.
	* resbin.c (bin_to_res_menuitems): Don't set MENUITEM_POPUP or
	MENUITEM_ENDMENU in the menu item flags.
	(bin_to_res_accelerators): Allocate a structure (the old code
	never worked).
	(res_to_bin_accelerator): Correct the test for setting ACC_LAST.
	(res_to_bin_dialog): Save the extended style rather than saving
	the style twice.  Remove useless shadowing length variable.  Set
	the length of control data correctly.
	* resrc.c (write_rc_dialog): Don't print the class or menu if the
	string length is zero.
1997-12-02 18:11:02 +00:00
Jeff Law
004d8ce36d * Makefile.am (bin_PROGRAMS): Don't use line continuations here.
Avoid blank line after a line continuation.  Fixes problems with many
non-gnu makes.
1997-11-09 18:00:55 +00:00