177298SobrienMon Dec 29 16:58:05 1997  Ian Lance Taylor  <ian@cygnus.com>
277298Sobrien
377298Sobrien	From Matthew Bellantoni <matthew@chrysalis.com>:
477298Sobrien	* ar.c (get_pos_bfd): Add default_posname parameter.  Change all
577298Sobrien	callers.
677298Sobrien	(replace_members): Default to replacing in the same position.
777298Sobrien
877298SobrienMon Dec 22 11:27:22 1997  Ian Lance Taylor  <ian@cygnus.com>
977298Sobrien
1077298Sobrien	* rclex.l: Don't permit a comma in a STRING.
1177298Sobrien	* rcparse.y (acc_entry): Warn if an inappropriate modifier is used
1277298Sobrien	with a non VIRTKEY.
1377298Sobrien	(acc_event): For a control character, set VIRTKEY, and force the
1477298Sobrien	character to uppercase.
1577298Sobrien	(acc_options): Don't require a comma separator.
1677298Sobrien
1777298SobrienTue Dec  9 13:25:42 1997  Michael Meissner  <meissner@cygnus.com>
1877298Sobrien
1977298Sobrien	* size.c (size_number): New function to provide size of field.
2077298Sobrien	({l,r}print_number): For octal and hex fields, print field using
2177298Sobrien	'0' and '0x' suffixes.  Do not include following tab.
2277298Sobrien	(sysv_internal_sizer): Size section name, section size, and vma
2377298Sobrien	address fields.
2477298Sobrien	(sysv_internal_printer): Use calculated sizes for the columns.
2577298Sobrien	(print_sysv_format): Size columns before printing.
2677298Sobrien	(print_berkeley_format): Print tabs between numbers now that
2777298Sobrien	{l,r}print_number doesn't.  Print fields right justified.
2877298Sobrien
2977298SobrienMon Dec  8 11:22:04 1997  Nick Clifton  <nickc@cygnus.com>
3077298Sobrien
3177298Sobrien	* objdump.c (objdump_print_addr_with_sym): Remove call to
3277298Sobrien	disasm_symaddr() as this function no longer exists.
3377298Sobrien
3477298SobrienTue Dec  2 10:23:50 1997  Nick Clifton  <nickc@cygnus.com>
3577298Sobrien
3677298Sobrien	* objdump.c (objdump_print_addr_with_sym): Call disasm_symaddr()
3777298Sobrien	to allow backend to know which symbol has just been displayed.
3877298Sobrien
3977298SobrienTue Dec  2 13:06:46 1997  Ian Lance Taylor  <ian@cygnus.com>
4077298Sobrien
4177298Sobrien	* windres.h (ESCAPE_*): Define standard escape sequences.
4277298Sobrien	* rclex.l (handle_quotes): Handle standard escape sequences.  Warn
4377298Sobrien	about an unrecognized escape character.
4477298Sobrien	* windres.c (unicode_print): Print standard escape sequences.
4577298Sobrien	* rcparse.y (acc_event): Initialize $$.next.
4677298Sobrien	* resbin.c (bin_to_res_menuitems): Don't set MENUITEM_POPUP or
4777298Sobrien	MENUITEM_ENDMENU in the menu item flags.
4877298Sobrien	(bin_to_res_accelerators): Allocate a structure (the old code
4977298Sobrien	never worked).
5077298Sobrien	(res_to_bin_accelerator): Correct the test for setting ACC_LAST.
5177298Sobrien	(res_to_bin_dialog): Save the extended style rather than saving
5277298Sobrien	the style twice.  Remove useless shadowing length variable.  Set
5377298Sobrien	the length of control data correctly.
5477298Sobrien	* resrc.c (write_rc_dialog): Don't print the class or menu if the
5577298Sobrien	string length is zero.
5677298Sobrien
5777298SobrienMon Nov 24 18:52:43 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5877298Sobrien
5977298Sobrien	* stabs.c (parse_stab_argtypes): Don't try to parse the name of a
6077298Sobrien	destructor as mangled argument types.
6177298Sobrien
6277298SobrienMon Nov 10 17:51:41 1997  Gavin Koch  <gavin@cygnus.com>
6377298Sobrien
6477298Sobrien	* addr2line.c (translate_addresses): Use bfd_scan_vma rather
6577298Sobrien	than strtol to scan addresses.
6677298Sobrien
6777298SobrienSun Nov  9 11:01:31 1997  Jeffrey A Law  (law@cygnus.com)
6877298Sobrien
6977298Sobrien	* Makefile.am (bin_PROGRAMS): Don't use line continuations here.
7077298Sobrien
7177298SobrienTue Nov  4 11:56:14 1997  Ian Lance Taylor  <ian@cygnus.com>
7277298Sobrien
7377298Sobrien	* objcopy.c (copy_section): Don't crash if there is no particular
7477298Sobrien	information for a section.
7577298Sobrien
7677298SobrienMon Nov  3 12:36:19 1997  Ian Lance Taylor  <ian@cygnus.com>
7777298Sobrien
7877298Sobrien	* objcopy.c (parse_flags): Make flag check case insensitive.
7977298Sobrien	Check for `contents' flag.  Give an error for unrecognized flags.
8077298Sobrien	(copy_section): If the contents flag was set for a section that
8177298Sobrien	had no contents, zero out the new contents.
8277298Sobrien	* binutils.texi (objcopy): Document contents section flag.
8377298Sobrien
8477298SobrienSun Nov  2 14:49:56 1997  Ian Lance Taylor  <ian@cygnus.com>
8577298Sobrien
8677298Sobrien	* objcopy.c: Move new struct and variable definitions to top of
8777298Sobrien	file.  Remove obsolete add_strip_symbol and is_strip_symbol
8877298Sobrien	declarations.  Add prototype declarations for add_specific_symbol
8977298Sobrien	and is_specified_symbol.
9077298Sobrien
9177298SobrienMon Oct 20 15:31:43 1997  Klaus K"ampf  <kkaempf@progis.de>
9277298Sobrien
9377298Sobrien	* configure.com (HAVE_SBRK): Undefine.
9477298Sobrien
9577298SobrienTue Oct 14 16:14:35 1997  Nick Clifton  <nickc@cygnus.com>
9677298Sobrien
9777298Sobrien	* objdump.c (objdump_symbol_at_address): New function.  Returns
9877298Sobrien	true if a symbol can be found at the address passed in.
9977298Sobrien	(disassemble_data): Set the symbol_at_address_func field to point
10077298Sobrien	to objdump_symbol_at_address.
10177298Sobrien
10277298SobrienFri Oct 10 14:13:09 1997  Richard Henderson  <rth@cygnus.com>
10377298Sobrien
10477298Sobrien	* objcopy.c, objcopy.1, binutils.texi: "localize" is a better name
10577298Sobrien	than "privatize".  Update all references.
10677298Sobrien
10777298SobrienThu Oct  9 15:57:29 1997  Ian Lance Taylor  <ian@cygnus.com>
10877298Sobrien
10977298Sobrien	* binutils.texi (strip): Remove duplicate --target.  From Marty
11077298Sobrien	Leisner <leisner@sdsp.mc.xerox.com>.
11177298Sobrien
11277298Sobrien	* nm.c (lineno_cache_bfd): New file static variable.
11377298Sobrien	(lineno_cache_rel_bfd): New file static variable.
11477298Sobrien	(display_archive): Clear lineno_cache_bfd and lineno_cache_rel_bfd
11577298Sobrien	when closing a BFD.
11677298Sobrien	(display_file): Likewise.
11777298Sobrien	(print_symbol): Use lineno_cache_bfd and lineno_cache_rel_bfd
11877298Sobrien	instead of cache_bfd and cache_rel_bfd.  Make seccount static, and
11977298Sobrien	only set it when setting relocs.
12077298Sobrien
12177298SobrienWed Oct  8 21:19:11 1997  Richard Henderson  <rth@cygnus.com>
12277298Sobrien
12377298Sobrien	* objcopy.c (keep_specific_list, privatize_specific_list,
12477298Sobrien	weaken_specific_list): New variables.
12577298Sobrien	(keep_symbols): Removed.
12677298Sobrien	(add_specific_symbol): New function from the carcas of
12777298Sobrien	add_strip_symbol.  Takes a list as an argument.
12877298Sobrien	(is_specified_symbol): Likewise from is_strip_symbol.
12977298Sobrien	(filter_symbols): Honor the new privatize and weaken lists.
13077298Sobrien	Optimize bfd_asymbol_name handling.
13177298Sobrien	(copy_object, copy_options, copy_usage): Add privatize-symbol &
13277298Sobrien	weaken-symbol options.
13377298Sobrien
13477298Sobrien	* objcopy.1, binutils.texi: Update docs.
13577298Sobrien
13677298SobrienSun Oct  5 09:05:44 1997  Frank Ch. Eigler  <fche@cygnus.com>
13777298Sobrien
13877298Sobrien	* objdump.c (disassemble_data): Make "--prefix-addresses"
13977298Sobrien 	disassembly adjust to mixed-length instructions.
14077298Sobrien	(objdump_print_addr_with_sym): Add "0x" prefix for hexadecimal
14177298Sobrien 	symbol-offsets in disassembly.
14277298Sobrien
14377298SobrienFri Oct  3 12:04:25 1997  Ian Lance Taylor  <ian@cygnus.com>
14477298Sobrien
14577298Sobrien	* objcopy.c (set_times): New static function, replacing
14677298Sobrien	make_same_dates.
14777298Sobrien	(strip_main): If preserve_dates, stat the input file before
14877298Sobrien	copying it, and call set_times afterward.
14977298Sobrien	(copy_main): Likewise.
15077298Sobrien
15177298Sobrien	* wrstabs.c (write_stabs_in_sections_debugging_info): Cast p to
15277298Sobrien	char * when calling strcpy and strlen.
15377298Sobrien
15477298SobrienWed Sep 24 11:34:05 1997  Ian Lance Taylor  <ian@cygnus.com>
15577298Sobrien
15677298Sobrien	* binutils.texi	(ar cmdline): Document that q now works like r.
15777298Sobrien	From Marty Leisner <leisner@sdsp.mc.xerox.com>.
15877298Sobrien
15977298Sobrien	* binutils.texi (size): The object file argument is optional.
16077298Sobrien	From Marty Leisner <leisner@sdsp.mc.xerox.com>.
16177298Sobrien
16277298Sobrien	* aclocal.m4: Rebuild with new libtool.
16377298Sobrien	* configure: Rebuild.
16477298Sobrien
16577298SobrienTue Aug 26 17:48:34 1997  Ian Lance Taylor  <ian@cygnus.com>
16677298Sobrien
16777298Sobrien	* Makefile.am (EXEEXT_FOR_BUILD): New variable.  Use it in all
16877298Sobrien	references to the sysinfo program.
16977298Sobrien	* configure.in: Rebuild with new bfd/acinclude.m4.
17077298Sobrien	* Makefile.in: Rebuild.
17177298Sobrien
17277298SobrienFri Aug  8 15:32:49 1997  Ian Lance Taylor  <ian@cygnus.com>
17377298Sobrien
17477298Sobrien	* windres.c: Include <time.h>.
17577298Sobrien	(define_resource): Set a timestamp for the resource.
17677298Sobrien
17777298SobrienWed Aug  6 13:37:58 1997  Ian Lance Taylor  <ian@cygnus.com>
17877298Sobrien
17977298Sobrien	* configure.in: Define TARGET in header file.
18077298Sobrien	* acconfig.h (TARGET): Add #undef.
18177298Sobrien	* Makefile.am (version.o, bucomm.o): Remove special targets.
18277298Sobrien	* bucomm.c (target): Remove.
18377298Sobrien	* nm.c (program_name): Don't declare.
18477298Sobrien	(target): Make static.
18577298Sobrien	* size.c (target): Make static.
18677298Sobrien	* configure, config.in, Makefile.in: Rebuild.
18777298Sobrien
18877298SobrienTue Aug  5 00:01:41 1997  Ian Lance Taylor  <ian@cygnus.com>
18977298Sobrien
19077298Sobrien	* Makefile.am (check-DEJAGNU): Export r.
19177298Sobrien	(.dep1): Use $(INCLUDES) rather than $(ALL_CFLAGS).
19277298Sobrien	* Makefile.in: Rebuild.
19377298Sobrien
19477298Sobrien	* nlmheader.y: Use VERSIONK rather than VERSION.
19577298Sobrien
19677298Sobrien	* Makefile.am (STRIP_PROG): Change from strip.new to strip-new.
19777298Sobrien	(NM_PROG): Change from nm.new to nm-new.
19877298Sobrien	(TOOL_PROGS, install-exec-local): Adjust accordingly.
19977298Sobrien	* Makefile.in: Rebuild.
20077298Sobrien
20177298SobrienMon Aug  4 11:47:31 1997  Ian Lance Taylor  <ian@cygnus.com>
20277298Sobrien
20377298Sobrien	* configure.in: Remove AC_ARG_PROGRAM; it's invoked by
20477298Sobrien	AM_INIT_AUTOMAKE.
20577298Sobrien	* configure: Rebuild.
20677298Sobrien
20777298Sobrien	* Makefile.am (install-exec-local): Create $(tooldir)/bin before
20877298Sobrien	trying to install anything into it.
20977298Sobrien	* Makefile.in: Rebuild.
21077298Sobrien
21177298Sobrien	* Makefile.am (TOOL_PROGS): Use an explicit $(EXEEXT).
21277298Sobrien	(install-exec-local): When handling $(noinst_PROGRAMS), only use
21377298Sobrien	$(EXEEXT) on the installed file.  When handling $(TOOL_PROGS),
21477298Sobrien	handle $(EXEEXT) correctly.
21577298Sobrien	* configure.in: Add an explicit $(EXEEXT) when substituting for
21677298Sobrien	the name of a program to build.
21777298Sobrien	* Makefile.in, configure: Rebuild.
21877298Sobrien
21977298Sobrien	* aclocal.m4, configure, Makefile.in: Rebuild with new automake
22077298Sobrien	patches.
22177298Sobrien
22277298Sobrien	* deflex.l, defparse.y: Use VERSIONK rather than VERSION.
22377298Sobrien	* rclex.l, rcparse.y: Likewise.
22477298Sobrien	* Makefile.am (windres_SOURCES): Add $(BULIBS).
22577298Sobrien	* Makefile.in: Rebuild.
22677298Sobrien
22777298SobrienFri Aug  1 13:08:39 1997  Ian Lance Taylor  <ian@cygnus.com>
22877298Sobrien
22977298Sobrien	* acinclude.m4: Include bfd/acinclude.m4, not bfd/acmacros.m4.
23077298Sobrien	* aclocal.m4, configure: Rebuild with new libtool.
23177298Sobrien
23277298SobrienThu Jul 31 11:51:35 1997  Ian Lance Taylor  <ian@cygnus.com>
23377298Sobrien
23477298Sobrien	* Makefile.am: New file, based on old Makefile.in.
23577298Sobrien	* acinclude.m4: New file, from old aclocal.m4.
23677298Sobrien	* configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL.  Remove
23777298Sobrien	shared library handling; now handled by libtool.  Replace
23877298Sobrien	AC_CONFIG_HEADER with AM_CONFIG_HEADER.  Call AC_PROG_YACC,
23977298Sobrien	AC_PROG_LEX, AC_DECL_YYTEST, AM_MAINTAINER_MODE, AM_CYGWIN32, and
24077298Sobrien	AM_EXEEXT.  Replace AC_PROG_INSTALL with AM_PROG_INSTALL.  Remove
24177298Sobrien	stamp-h handling in AC_OUTPUT.
24277298Sobrien	* acconfig.h: Mention PACKAGE and VERSION.
24377298Sobrien	* stamp-h.in: New file.
24477298Sobrien	* Makefile.in: Now built with automake.
24577298Sobrien	* aclocal.m4: Now built with aclocal.
24677298Sobrien	* config.in, configure: Rebuild.
24777298Sobrien
24877298Sobrien	From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>:
24977298Sobrien	* rcparse.y (dialog): Default menu and class to be named.
25077298Sobrien	(styles): If FONT is seen, set DS_SETFONT in dialog style.
25177298Sobrien	* resbin.c (res_to_bin_dialog): Correct computation of font
25277298Sobrien	information length.
25377298Sobrien
25477298SobrienWed Jul 30 11:21:06 1997  Ian Lance Taylor  <ian@cygnus.com>
25577298Sobrien
25677298Sobrien	From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>:
25777298Sobrien	* resbin.c (res_to_bin_menu): Correct computation of menu
25877298Sobrien	vs. menuex length.
25977298Sobrien	* resrc.c (define_stringtable): Add 1 to resource ID.
26077298Sobrien
26177298SobrienTue Jul 29 11:06:03 1997  Ian Lance Taylor  <ian@cygnus.com>
26277298Sobrien
26377298Sobrien	* resbin.c (bin_to_res_string): Correct adjustment of data and
26477298Sobrien	length.  From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>.
26577298Sobrien
26677298SobrienTue Jul 22 18:01:23 1997  Ian Lance Taylor  <ian@cygnus.com>
26777298Sobrien
26877298Sobrien	* nlmconv.c (link_inputs): Call libiberty pexecute function.
26977298Sobrien	(pexecute) [multiple versions]: Remove.
27077298Sobrien
27177298SobrienTue Jul 22 16:19:34 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
27277298Sobrien
27377298Sobrien	* bucomm.c (make_tempname): If we might be using a DOS filesystem,
27477298Sobrien	check for a backslash as well as a slash.
27577298Sobrien
27677298SobrienThu Jun 26 13:53:17 1997  Ian Lance Taylor  <ian@cygnus.com>
27777298Sobrien
27877298Sobrien	* windres.c (main): Quit if we didn't get any resources.
27977298Sobrien	(usage): Fix --yydebug usage message.
28077298Sobrien	* rescoff.c (write_coff_file): Don't free the relocation array
28177298Sobrien	until after we've closed the BFD.
28277298Sobrien	(read_coff_rsrc): Quit rather than try to read standard input.
28377298Sobrien	(write_coff_file): Quit rather than try to write to standard
28477298Sobrien	output.
28577298Sobrien	* rcparse.y: Add a couple of missing semicolons (accepted by bison
28677298Sobrien	but not byacc).
28777298Sobrien	* binutils.texi: Document windres.
28877298Sobrien
28977298SobrienWed Jun 25 20:57:06 1997  Ian Lance Taylor  <ian@cygnus.com>
29077298Sobrien
29177298Sobrien	* resbin.c: New file.
29277298Sobrien	* rclex.l, rcparse.y, rescoff.c, resrc.c, windres.c, windres.h:
29377298Sobrien	Numerous fixes and improvements.
29477298Sobrien	* Makefile.in: Rebuild dependencies.
29577298Sobrien 	(CFILES): Add resbin.c.
29677298Sobrien	(WINDRES_OBJS): Add resbin.o.
29777298Sobrien
29877298SobrienSun Jun 22 17:29:41 1997  Ian Lance Taylor  <ian@cygnus.com>
29977298Sobrien
30077298Sobrien	First stab at Windows resource compiler:
30177298Sobrien	* windres.h: New file.
30277298Sobrien	* windres.c: New file.
30377298Sobrien	* resrc.c: New file.
30477298Sobrien	* rcparse.y: New file.
30577298Sobrien	* rclex.l: New file.
30677298Sobrien	* rescoff.c: New file.
30777298Sobrien	* configure.in: Define and substitute BUILD_WINDRES.
30877298Sobrien	* configure: Rebuild.
30977298Sobrien	* Makefile.in: Rebuild dependencies.
31077298Sobrien 	(WINDRES_PROG): New variable.
31177298Sobrien	(PROGS): Add @BUILD_WINDRES@.
31277298Sobrien	(HFILES): Add dlltool.h and windres.h.
31377298Sobrien	(CFILES): Add windres.c and resrc.c.
31477298Sobrien	(GENERATED_CFILES): Add rcparse.c and rclex.c.
31577298Sobrien	(WINDRES_OBJS): New variable.
31677298Sobrien	$(WINDRES_PROG): New target.
31777298Sobrien	(rcparse.c, rcparse.h, rclex.c): New targets.
31877298Sobrien
31977298SobrienThu Jun 12 12:27:51 1997  Ian Lance Taylor  <ian@cygnus.com>
32077298Sobrien
32177298Sobrien	* dlltool.c (export_type): Add data field.
32277298Sobrien	(def_exports): Add data parameter.  Change all callers.
32377298Sobrien	(dump_def_info): Print data field.
32477298Sobrien	(gen_def_file): Likewise.
32577298Sobrien	(make_one_lib_file): Handle data field by not emitting simple
32677298Sobrien	label and not emitting anything in SEC_TEXT.
32777298Sobrien	(dtab): Print data field.
32877298Sobrien	(process_duplicates): Merge data field.
32977298Sobrien	* dlltool.h (def_exports): Update declaration.
33077298Sobrien	* defparse.y (expline): Accept opt_DATA.  Pass it to def_exports.
33177298Sobrien	(opt_DATA): New non-terminal.
33277298Sobrien
33377298SobrienWed Jun 11 17:15:47 1997  Ian Lance Taylor  <ian@cygnus.com>
33477298Sobrien
33577298Sobrien	* dlltool.h: New file.
33677298Sobrien	* deflex.l: Include dlltool.h and libiberty.h.  Don't declare
33777298Sobrien	strdup.  Use xstrdup rather than strdup.
33877298Sobrien	* defparse.y: Include bfd.h, bucomm.h, and dlltool.h.
33977298Sobrien	* dlltool.c: Include dlltool.h and time.h.  Make a lot of
34077298Sobrien	variables and functions static.  Make a lot of char * variables
34177298Sobrien	and parameters const.  Add declarations for static functions.  Do
34277298Sobrien	some reindenting.  Hide more PowerPC stuff inside DLLTOOL_PPC.
34377298Sobrien
34477298SobrienWed Jun 11 12:05:52 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
34577298Sobrien
34677298Sobrien	* ar.c (bfd_special_undocumented_glue): Add const.
34777298Sobrien
34877298SobrienMon May 12 22:09:35 1997  Bob Manson  <manson@charmed.cygnus.com>
34977298Sobrien
35077298Sobrien	* Makefile.in (check): Pass CC_FOR_TARGET and CFLAGS_FOR_TARGET
35177298Sobrien	to runtest.
35277298Sobrien
35377298SobrienMon May 12 13:14:22 1997  Ian Lance Taylor  <ian@cygnus.com>
35477298Sobrien
35577298Sobrien	* configure.in: Don't clear OPCODES when --enable-commonbfdlib is
35677298Sobrien	used on HP/UX.
35777298Sobrien	* configure: Rebuild.
35877298Sobrien
35977298SobrienFri Apr 25 14:22:08 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
36077298Sobrien
36177298Sobrien	* Makefile.in (maintainer-clean realclean): Change *.info*
36277298Sobrien	to binutils.info* to save sysroff.info.
36377298Sobrien
36477298SobrienTue Apr 15 13:42:22 1997  Ian Lance Taylor  <ian@cygnus.com>
36577298Sobrien
36677298Sobrien	* Makefile.in (INSTALL): Set to @INSTALL@.
36777298Sobrien	(INSTALL_XFORM, INSTALL_XFORM1): Remove.
36877298Sobrien	(install): Depend upon installdirs.  Use $(program_transform_name)
36977298Sobrien	directly, rather than using $(INSTALL_XFORM) and
37077298Sobrien	$(INSTALL_XFORM1).
37177298Sobrien	(installdirs): New target.
37277298Sobrien	(install-info): Run mkinstalldirs.
37377298Sobrien
37477298SobrienMon Apr 14 11:52:39 1997  Ian Lance Taylor  <ian@cygnus.com>
37577298Sobrien
37677298Sobrien	* Makefile.in (INSTALL): Change install.sh to install-sh.
37777298Sobrien
37877298Sobrien	From Thomas Graichen <graichen@rzpd.de>:
37977298Sobrien	* Makefile.in: Always use $(SHELL) when running move-if-change.
38077298Sobrien	* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
38177298Sobrien	* configure: Rebuild.
38277298Sobrien
38377298SobrienFri Apr  4 13:28:02 1997  Ian Lance Taylor  <ian@cygnus.com>
38477298Sobrien
38577298Sobrien	* configure.in: Add AC_FUNC_ALLOCA.
38677298Sobrien	* configure, config.in: Rebuild.
38777298Sobrien	* bucomm.h: Add alloca handling, copied from gas/as.h.
38877298Sobrien	* dlltool.c: Add #pragma alloca for AIX to start of file.
38977298Sobrien	* nlmconv.c: Likewise.
39077298Sobrien
39177298Sobrien	* Makefile.in (distclean): Remove site.exp and site.bak.  Remove
39277298Sobrien	everything that clean removes.
39377298Sobrien
39477298SobrienThu Apr  3 13:18:39 1997  Ian Lance Taylor  <ian@cygnus.com>
39577298Sobrien
39677298Sobrien	* Makefile.in (VERSION): Set to 2.8.1.
39777298Sobrien
39877298Sobrien	* Branched binutils 2.8.
39977298Sobrien
40077298SobrienTue Apr  1 16:21:44 1997  Klaus Kaempf  <kkaempf@progis.de>
40177298Sobrien
40277298Sobrien	* configure.com: New file.
40377298Sobrien	* config.h-vms: Remove file.
40477298Sobrien	* makefile.vms: Update for new configure scheme.
40577298Sobrien
40677298SobrienMon Mar 31 15:30:43 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
40777298Sobrien
40877298Sobrien	* objcopy.c (make_same_dates): Use statbuf, not buf, if not
40977298Sobrien	HAVE_GOOD_UTIME_H.
41077298Sobrien
41177298SobrienFri Mar 28 17:57:53 1997  Alan Modra  <alan@spri.levels.unisa.edu.au>
41277298Sobrien
41377298Sobrien	* Makefile.in ($(OBJDUMP_PROG)): Don't link against BFDLIB twice.
41477298Sobrien	* configure.in: Add AC_ARG_ENABLE for commonbfdlib.  If it is set,
41577298Sobrien	set OPCODES to empty.
41677298Sobrien	* configure: Rebuild.
41777298Sobrien
41877298SobrienThu Mar 27 16:03:02 1997  Ian Lance Taylor  <ian@cygnus.com>
41977298Sobrien
42077298Sobrien	Based on patch from Marty Leisner <leisner@sdsp.mc.xerox.com>:
42177298Sobrien	* objcopy.c: Include <utime.h> or <sys/time.h>.
42277298Sobrien	(strip_options): Add "preserve-dates".
42377298Sobrien	(copy_options): Likewise.
42477298Sobrien	(copy_usage): Mention -p and --preserve-dates.
42577298Sobrien	(strip_usage): Likewise.
42677298Sobrien	(make_same_dates): New static function.
42777298Sobrien	(strip_main): Handle -p.
42877298Sobrien	(copy_main): Likewise.
42977298Sobrien	* binutils.texi, strip.1, objcopy.1: Document new option.
43077298Sobrien
43177298Sobrien	addr2line.c contributed by Ulrich Lauther
43277298Sobrien	<Ulrich.Lauther@zfe.siemens.de>:
43377298Sobrien	* addr2line.c: New file.
43477298Sobrien	* Makefile.in: Rebuild dependencies.
43577298Sobrien 	(ADDR2LINE_PROG): New variable.
43677298Sobrien	(MANPAGES): Add addr2line.
43777298Sobrien	(PROGS): Add $(ADDR2LINE_PROG).
43877298Sobrien	(CFILES): Add addr2line.c.
43977298Sobrien	($(ADDR2LINE_PROG)): New target.
44077298Sobrien	* binutils.texi: Document addr2line.
44177298Sobrien	* addr2line.1: New file.
44277298Sobrien
44377298Sobrien	* version.c (print_version): Update copyright date.
44477298Sobrien
44577298SobrienMon Mar 24 10:52:45 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
44677298Sobrien
44777298Sobrien	* objdump.c (disassemble_data): Don't exit if a file cannot be
44877298Sobrien	disassembled, instead just return.
44977298Sobrien
45077298SobrienThu Mar 20 21:16:51 1997  Jeffrey A Law  (law@cygnus.com)
45177298Sobrien
45277298Sobrien	* size.c (usage): Make definition match its prototype.
45377298Sobrien	(display_bfd, lprint_number, rprint_number): Likewise.
45477298Sobrien	(print_berkeley_format, sysv_internal_printer): Likewise.
45577298Sobrien	(print_sysv_format): Likewise.
45677298Sobrien	* nm.c (set_print_radix, set_output_format): Likewise.
45777298Sobrien	* objcopy.c (filter_bytes): Likewise.
45877298Sobrien
45977298SobrienTue Mar 18 16:39:55 1997  H.J. Lu  <hjl@lucon.org>
46077298Sobrien
46177298Sobrien	* Many files: Add function prototypes.
46277298Sobrien	* ar.c (mri_emul, get_pos_bfd): Make static.
46377298Sobrien	* arlex.l: Include "libiberty.h".  Don't declare strdup.  Use
46477298Sobrien	xstrdup rather than strdup.
46577298Sobrien	* arparse.y (yyerror): Make argument const.  Correct typo.
46677298Sobrien	* arsup.c (strdup): Don't declare.
46777298Sobrien	(ar_save): Use xstrdup rather than strdup.
46877298Sobrien	* filemode.c: Include "bucomm.h".
46977298Sobrien	* nm.c (usage): Make static.
47077298Sobrien	(print_symname): Make format and name const.
47177298Sobrien	* objcopy.c (cat): Remove.
47277298Sobrien	(copy_archive): Make output_target const.  Use concat, not cat.
47377298Sobrien	(copy_file, simple_copy, smart_rename): Make arguments const.
47477298Sobrien	* objdump.c (read_section_stabs): Likewise.
47577298Sobrien	(print_section_stabs): Likewise.
47677298Sobrien	(display_target_tables): Don't declare getenv.
47777298Sobrien	* strings.c (strings_object_file): Change file to const.
47877298Sobrien	(print_strings): Change filename to const.
47977298Sobrien	* Makefile.in: Rebuild dependencies.
48077298Sobrien
48177298SobrienTue Mar 18 11:37:24 1997  Ian Lance Taylor  <ian@cygnus.com>
48277298Sobrien
48377298Sobrien	* configure.in: Add BFD_NEED_DECLARATION(getenv).
48477298Sobrien	* acconfig.h: Add NEED_DECLARATION_GETENV.
48577298Sobrien	* bucomm.h (getenv): Declare if NEED_DECLARATION_GETENV.
48677298Sobrien	* configure, config.in: Rebuild.
48777298Sobrien	* nlmconv.c (getenv): Don't declare.
48877298Sobrien
48977298Sobrien	* Makefile.in: Rebuild dependencies.
49077298Sobrien
49177298SobrienSat Mar 15 15:35:56 1997  Ian Lance Taylor  <ian@cygnus.com>
49277298Sobrien
49377298Sobrien	Based on patches from Jamie Lokier <jamie@rebellion.co.uk>:
49477298Sobrien	* objdump.c: Include "demangle.h".
49577298Sobrien	(do_demangle): New static variable.
49677298Sobrien	(usage): Mention -C/--demangle.
49777298Sobrien	(long_options): Add "demangle".
49877298Sobrien	(objdump_print_symname): New static function.
49977298Sobrien	(objdump_print_addr_with_sym): Use objdump_print_symname.
50077298Sobrien	(disassemble_bytes): Likewise.
50177298Sobrien	(dump_reloc_set): Likewise.
50277298Sobrien	(dump_symbols): Demangle symbol name.
50377298Sobrien	(main): Handle -C.
50477298Sobrien	* binutils.texi, objdump.1: Document -C/--demangle.
50577298Sobrien
50677298Sobrien	* objdump.c (usage): Mention --no-show-raw-insn.
50777298Sobrien	(long_options): Add "no-show-raw-insn".
50877298Sobrien	(disassemble_bytes): Handle --no-show-raw-insn.
50977298Sobrien	* binutils.texi, objdump.1: Document --no-show-raw-insn.
51077298Sobrien
51177298SobrienWed Mar 12 11:42:00 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
51277298Sobrien
51377298Sobrien	* rddbg.c (free_saved_stabs): Set the strings to NULL after being
51477298Sobrien	freed.
51577298Sobrien
51677298SobrienFri Feb 28 17:18:45 1997  Ian Lance Taylor  <ian@cygnus.com>
51777298Sobrien
51877298Sobrien	* bucomm.c (set_default_bfd_target): New function.
51977298Sobrien	* bucomm.h (set_default_bfd_target): Declare.
52077298Sobrien	* ar.c (main): Call set_default_bfd_target.
52177298Sobrien	* nlmconv.c (main): Likewise.
52277298Sobrien	* nm.c (main): Likewise.
52377298Sobrien	* objcopy.c (main): Likewise.
52477298Sobrien	* objdump.c (main): Likewise.
52577298Sobrien	* size.c (main): Likewise.
52677298Sobrien	* strings.c (main): Likewise.
52777298Sobrien	* Makefile.in (bucomm.o): New target, to define TARGET.
52877298Sobrien
52977298SobrienTue Feb 25 21:28:38 1997  Ian Lance Taylor  <ian@cygnus.com>
53077298Sobrien
53177298Sobrien	* objdump.c (adjust_section_vma): New static variable.
53277298Sobrien	(usage): Mention --adjust-section-vma.
53377298Sobrien	(OPTION_ADJUST_VMA): Define.
53477298Sobrien	(long_options): Add "addjust-vma".
53577298Sobrien	(display_bfd): If adjust_section_vma is not 0, add it to all the
53677298Sobrien	section addresses.
53777298Sobrien	(main): Handle OPTION_ADJUST_VMA.
53877298Sobrien	* binutils.texi, objdump.1: Document --adjust-vma.
53977298Sobrien
54077298SobrienFri Feb 14 18:46:47 1997  Ian Lance Taylor  <ian@cygnus.com>
54177298Sobrien
54277298Sobrien	* nm.c (print_symbol): Cache the BFD as well as the symbols and
54377298Sobrien 	relocs, and don't try to use the symbols or relocs with a
54477298Sobrien 	different BFD.
54577298Sobrien
54677298SobrienThu Feb 13 21:34:43 1997  Klaus Kaempf  (kkaempf@progis.de)
54777298Sobrien
54877298Sobrien	* config.h-vms: sbrk() is provided on openVMS/Alpha.
54977298Sobrien	* makefile.vms: allow compiling with current gcc snapshot.
55077298Sobrien
55177298SobrienThu Feb 13 20:14:40 1997  Ian Lance Taylor  <ian@cygnus.com>
55277298Sobrien
55377298Sobrien	* arsup.c, coffgrok.c, dlltool.c, nlmconv.c: Use xmalloc rather
55477298Sobrien	than malloc.
55577298Sobrien
55677298SobrienWed Feb 12 16:12:02 1997  Ian Lance Taylor  <ian@cygnus.com>
55777298Sobrien
55877298Sobrien	* objdump.c (disassemble_data): Correct VMA argument to
55977298Sobrien	find_symbol_for_address.  Improve handling of code with no symbol
56077298Sobrien	followed by code with a symbol.
56177298Sobrien
56277298SobrienWed Feb 12 12:16:47 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
56377298Sobrien
56477298Sobrien	* objdump.c (disassemble_bytes): Make output of raw instructions
56577298Sobrien	work better for non-standard values of bytes_per_chunk and
56677298Sobrien	bytes_per_line.
56777298Sobrien
56877298SobrienThu Feb  6 14:14:59 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
56977298Sobrien
57077298Sobrien	* objdump.c (disassemble_bytes): Added code to allow some control
57177298Sobrien 	over the way raw instructions are displayed.
57277298Sobrien
57377298SobrienThu Feb  6 12:36:03 1997  Ian Lance Taylor  <ian@cygnus.com>
57477298Sobrien
57577298Sobrien	* stabs.c (struct bincl_file): Add next_stack field.
57677298Sobrien	(push_bincl): Put the new file on both bincl_list and
57777298Sobrien	bincl_stack.  Clear the file_types field.
57877298Sobrien	(pop_bincl): Use the next_stack field when popping the stack.
57977298Sobrien	Don't put the file on bincl_list.
58077298Sobrien	(find_excl): Include the file name when warning about an unfound
58177298Sobrien	N_EXCL.
58277298Sobrien
58377298Sobrien	* debug.c (debug_type_samep): Don't crash if we are passed NULL.
58477298Sobrien
58577298SobrienThu Feb  6 11:54:24 1997  Alan Modra  <alan@spri.levels.unisa.edu.au>
58677298Sobrien
58777298Sobrien	* objcopy.1: Add missing space after .B.
58877298Sobrien
58977298SobrienFri Jan 31 10:33:07 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
59077298Sobrien
59177298Sobrien	* objdump.c (disassemble_data): Initialize `aux.require_sec'.
59277298Sobrien
59377298SobrienWed Jan 29 13:21:21 1997  Ian Lance Taylor  <ian@cygnus.com>
59477298Sobrien
59577298Sobrien	* objdump.c (objdump_print_value): Add skip_zeroes parameter.
59677298Sobrien	Change all callers.
59777298Sobrien	(objdump_print_addr_with_sym): Likewise.  Call objdump_print_value
59877298Sobrien	to print address.
59977298Sobrien	(objdump_print_addr): New static function.
60077298Sobrien	(objdump_print_address): Just call objdump_print_addr.
60177298Sobrien	(disassemble_bytes): Print real address, not function offset.
60277298Sobrien	Skip a certain number of leading zeroes.
60377298Sobrien
60477298Sobrien	* objdump.c (disassemble_zeroes): New static variable.
60577298Sobrien	(usage): Mention --disassemble-zeroes.
60677298Sobrien	(long_options): Add "disassemble-zeroes".
60777298Sobrien	(disassemble_bytes): Check disassemble_zeroes.
60877298Sobrien
60977298SobrienTue Jan 28 16:47:26 1997  Ian Lance Taylor  <ian@cygnus.com>
61077298Sobrien
61177298Sobrien	* objdump.c (disassemble_bytes): Don't skip zeroes if the
61277298Sobrien	disassembler has told us that we are in a branch delay slot.
61377298Sobrien
61477298SobrienMon Jan 20 14:24:04 1997  Ian Lance Taylor  <ian@cygnus.com>
61577298Sobrien
61677298Sobrien	* size.c (berkeley_sum): Rewrite.  Skip sections which are not
61777298Sobrien	SEC_ALLOC.  Count SEC_READONLY sections as text.
61877298Sobrien
61977298SobrienTue Jan 14 15:14:14 1997  Ian Lance Taylor  <ian@cygnus.com>
62077298Sobrien
62177298Sobrien	* Makefile.in (maintainer-clean realclean): Remove *.info*, not
62277298Sobrien	just *.info.  From H.J. Lu <hjl@lucon.org>.
62377298Sobrien
62477298SobrienTue Dec 31 15:42:54 1996  Ian Lance Taylor  <ian@cygnus.com>
62577298Sobrien
62677298Sobrien	* Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
62777298Sobrien
62877298SobrienFri Dec 27 11:19:26 1996  Ian Lance Taylor  <ian@cygnus.com>
62977298Sobrien
63077298Sobrien	* configure.in: Work around bug in AC_FUNC_VFORK in autoconf 2.12.
63177298Sobrien	* configure: Rebuild.
63277298Sobrien
63377298SobrienThu Dec 19 13:11:20 1996  Ian Lance Taylor  <ian@cygnus.com>
63477298Sobrien
63577298Sobrien	Based on patch from Andrew J Klossner <andrew@pogo.wv.tek.com>:
63677298Sobrien	* objcopy.c (OPTION_WEAKEN): Define.
63777298Sobrien	(copy_options): Add "weaken".
63877298Sobrien	(copy_usage): Mention --weaken.
63977298Sobrien	(weaken): New static variable.
64077298Sobrien	(filter_symbols): Handle weaken.
64177298Sobrien	(copy_object): Call filter_symbols if weaken.
64277298Sobrien	(copy_main): Handle OPTION_WEAKEN.
64377298Sobrien	* binutils.texi, objcopy.1: Document --weaken.
64477298Sobrien
64577298SobrienWed Dec 18 22:49:13 1996  Stan Shebs  <shebs@andros.cygnus.com>
64677298Sobrien
64777298Sobrien	* mpw-make.sed: Use NewFolderRecursive for installation.
64877298Sobrien
64977298SobrienSat Dec  7 10:17:25 1996  Jeffrey A Law  (law@cygnus.com)
65077298Sobrien
65177298Sobrien	* Makefile.in (install): Add "else true" clause to cater to
65277298Sobrien	broken "make" on some systems.
65377298Sobrien
65477298SobrienFri Dec  6 17:21:41 1996  Ian Lance Taylor  <ian@cygnus.com>
65577298Sobrien
65677298Sobrien	* ieee.c (parse_ieee_bb): Always initialize namcopy to avoid gcc
65777298Sobrien	warning about uninitialized variable.
65877298Sobrien	(ieee_read_cxx_class): Likewise, for pf.
65977298Sobrien	(ieee_enum_type): Likewise, for i.
66077298Sobrien
66177298SobrienTue Nov 26 17:01:25 1996  Ian Lance Taylor  <ian@cygnus.com>
66277298Sobrien
66377298Sobrien	* wrstabs.c (stab_array_type): Add casts when printing
66477298Sobrien	bfd_signed_vma values.
66577298Sobrien
66677298Sobrien	* configure: Rebuild with autoconf 2.12.
66777298Sobrien
66877298SobrienMon Nov 25 16:53:18 1996  Ian Lance Taylor  <ian@cygnus.com>
66977298Sobrien
67077298Sobrien	* objdump.c (disassemble_data): Don't crash if there is no
67177298Sobrien	symbol.
67277298Sobrien
67377298SobrienFri Nov 22 17:29:14 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
67477298Sobrien
67577298Sobrien	* ar.c (open_inarch): Don't call bfd_openr with a null name.
67677298Sobrien
67777298SobrienFri Nov  1 12:08:13 1996  Ian Lance Taylor  <ian@cygnus.com>
67877298Sobrien
67977298Sobrien	* binutils.texi: Add section on reporting bugs.
68077298Sobrien
68177298SobrienThu Oct 31 18:20:53 1996  Ian Lance Taylor  <ian@cygnus.com>
68277298Sobrien
68377298Sobrien	* stabs.c (struct stab_handle): Add bincl_list field.
68477298Sobrien	(parse_stab): Pass value to push_bincl.  Call find_excl for
68577298Sobrien	N_EXCL.
68677298Sobrien	(struct bincl_file): Add hash, file and file_types fields.
68777298Sobrien	(push_bincl): Add hash parameter.  Save it in the new hash field.
68877298Sobrien	Save the file number in the new file field.
68977298Sobrien	(pop_bincl): Put the bincl_file on bincl_list, rather than freeing
69077298Sobrien	it.  Save the file types in the new file_types field.
69177298Sobrien	(find_excl): New static function.
69277298Sobrien
69377298Sobrien	* ieee.c (ieee_lineno): Don't compare line number addresses to
69477298Sobrien	info->highaddr (undo part of October 28 patch).
69577298Sobrien
69677298SobrienTue Oct 29 16:40:22 1996  Ian Lance Taylor  <ian@cygnus.com>
69777298Sobrien
69877298Sobrien	* objdump.c (objdump_print_value): Don't print the empty string
69977298Sobrien	for zero.
70077298Sobrien
70177298SobrienMon Oct 28 16:58:14 1996  Ian Lance Taylor  <ian@cygnus.com>
70277298Sobrien
70377298Sobrien	* stabs.c (struct stab_handle): Add function_end field.
70477298Sobrien	(start_stab): Initialize function_end.
70577298Sobrien	(finish_stab): Pass info->function_end to debug_end_function.
70677298Sobrien	(parse_stab): If info->function_end is set, use it as the address
70777298Sobrien	which ends a function.
70877298Sobrien
70977298Sobrien	* ieee.c (ieee_array_type): Remember the correct size.
71077298Sobrien
71177298Sobrien	* ieee.c (ieee_finish_compilation_unit): Permit coalescing ranges
71277298Sobrien	that are up to 0x1000 bytes apart, not just 64.
71377298Sobrien	(ieee_add_bb11_blocks): Don't bother to emit a BB11 that is less
71477298Sobrien	than 0x100 bytes.
71577298Sobrien	(ieee_lineno): Only emit line numbers that are less than
71677298Sobrien	info->highaddr.
71777298Sobrien
71877298SobrienFri Oct 25 12:12:17 1996  Ian Lance Taylor  <ian@cygnus.com>
71977298Sobrien
72077298Sobrien	* ieee.c (struct ieee_defined_enum): Add defined field.
72177298Sobrien	(ieee_enum_type): If the enum tag has been seen before but not
72277298Sobrien	defined, reuse the same type index, and define it.
72377298Sobrien	(ieee_tag_type): If this enum has not been defined, add an
72477298Sobrien	undefined entry to the list of enums.
72577298Sobrien
72677298Sobrien	* objdump.c (disassemble_bytes): Let the disassembler override the
72777298Sobrien	number of bytes printed on a line.
72877298Sobrien
72977298SobrienThu Oct 24 16:42:10 1996  Ian Lance Taylor  <ian@cygnus.com>
73077298Sobrien
73177298Sobrien	* objdump.c (prefix_addresses): New static variable.
73277298Sobrien	(long_options): Add "prefix-addresses".
73377298Sobrien	(compare_symbols): Sort BSF_FUNCTION symbols before other
73477298Sobrien	symbols.
73577298Sobrien	(find_symbol_for_address): New static function, broken out of
73677298Sobrien	objdump_print_address.
73777298Sobrien	(objdump_print_addr_with_sym): New static function, broken out of
73877298Sobrien	objdump_print_address.
73977298Sobrien	(objdump_print_address): Call new functions.
74077298Sobrien	(disassemble_bytes): New static function, broken out of
74177298Sobrien	disassemble_data.  Change disassembly format, unless
74277298Sobrien	prefix_addresses is set.
74377298Sobrien	(disassemble_data): Call disassemble_bytes.  Unless
74477298Sobrien	prefix_addresses is set, disassemble in chunks headed by a
74577298Sobrien	symbol.
74677298Sobrien	* binutils.texi, objdump.1: Document --prefix-addresses.
74777298Sobrien
74877298Sobrien	* rddbg.c (read_section_stabs_debugging_info): Preserve the
74977298Sobrien	backslash when concatenating multiple stabs strings.
75077298Sobrien
75177298SobrienThu Oct 10 11:36:31 1996  Doug Evans  <dje@canuck.cygnus.com>
75277298Sobrien
75377298Sobrien	* dlltool.c (scan_open_obj_file): Fix loop exit test.
75477298Sobrien	Add missing parameter to def_exports.
75577298Sobrien
75677298SobrienTue Oct  8 12:06:17 1996  Ian Lance Taylor  <ian@cygnus.com>
75777298Sobrien
75877298Sobrien	* Makefile.in (LEX_OPTIONS): Set to empty string.  -I -Cem is the
75977298Sobrien	default for flex, and is not recognized by lex.
76077298Sobrien
76177298SobrienThu Oct  3 17:41:23 1996  Ian Lance Taylor  <ian@cygnus.com>
76277298Sobrien
76377298Sobrien	* binutils.texi (Target Selection): Document that you can now
76477298Sobrien	specify targets using configuration triplets.
76577298Sobrien
76677298Sobrien	* ar.c (usage): Declare.  Make sure all callers pass an argument.
76777298Sobrien
76877298SobrienThu Oct  3 15:39:42 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
76977298Sobrien
77077298Sobrien	* Makefile.in (clean): Remove config.log.
77177298Sobrien
77277298SobrienWed Oct  2 15:49:16 1996  Klaus Kaempf  <kkaempf@progis.de>
77377298Sobrien
77477298Sobrien	* makefile.vms: Bump version date.
77577298Sobrien
77677298SobrienTue Oct  1 15:00:59 1996  Ian Lance Taylor  <ian@cygnus.com>
77777298Sobrien
77877298Sobrien	* version.c (print_version): New function.
77977298Sobrien	* bucomm.h (print_version): Declare.
78077298Sobrien	* ar.c (program_version): Don't declare.
78177298Sobrien	(do_show_version): Remove.
78277298Sobrien	(usage): Add help parameter.  Print bug report address.
78377298Sobrien	(main): Set is_ranlib at start.  Check for --help and --version.
78477298Sobrien	Call print_version, not do_show_version.
78577298Sobrien	* nlmconv.c (program_version): Don't declare.
78677298Sobrien	(main): Call print_version.
78777298Sobrien	(show_usage): Print bug report address.
78877298Sobrien	* nm.c (program_version, print_version): Don't declare.
78977298Sobrien	(usage): Print bug report address.
79077298Sobrien	(main): Call print_version.
79177298Sobrien	* objcopy.c (program_version): Don't declare.
79277298Sobrien	(copy_usage): Print bug report address.
79377298Sobrien	(strip_usage): Likewise.
79477298Sobrien	(strip_main): Call print_version.
79577298Sobrien	(copy_main): Likewise.
79677298Sobrien	* objdump.c (program_version): Don't declare.
79777298Sobrien	(usage): Print bug report address.
79877298Sobrien	(main): Call print_version.
79977298Sobrien	* size.c (program_version): Don't declare.
80077298Sobrien	(usage): Print bug report address.
80177298Sobrien	(main): Call print_version.
80277298Sobrien	* strings.c (program_version): Don't declare.
80377298Sobrien	(main): Call print_version.
80477298Sobrien	(usage): Print bug report address.
80577298Sobrien	* Makefile.in: Update dependencies.
80677298Sobrien
80777298SobrienThu Sep 19 14:53:15 1996  Ian Lance Taylor  <ian@cygnus.com>
80877298Sobrien
80977298Sobrien	* ieee.c: Revert Monday's reflocalp patch, and apply this patch
81077298Sobrien	instead:
81177298Sobrien 	(write_ieee_debugging_info): Write a dummy type at the end of the
81277298Sobrien	global type block.
81377298Sobrien
81477298SobrienMon Sep 16 15:30:54 1996  Ian Lance Taylor  <ian@cygnus.com>
81577298Sobrien
81677298Sobrien	* ieee.c (struct ieee_write_type): Add reflocalp field.
81777298Sobrien	(ieee_pointer_type): Set reflocalp after pushing type.
81877298Sobrien	(ieee_function_type): If reflocalp is set, make this type local.
81977298Sobrien	(ieee_range_type, ieee_array_type, ieee_set_type): Likewise.
82077298Sobrien	(ieee_const_type, ieee_volatile_type): Likewise.
82177298Sobrien	(ieee_struct_field, ieee_class_baseclass): Likewise.
82277298Sobrien
82377298Sobrien	* ieee.c (struct ieee_info): Add global_types field.
82477298Sobrien	(parse_ieee_bb): When starting a BB1, initialize the types field
82577298Sobrien	to the global_types field.
82677298Sobrien	(parse_ieee_be): When ending a BB2, copy the types field to the
82777298Sobrien	global_types field.
82877298Sobrien
82977298SobrienFri Sep 13 17:32:21 1996  Ian Lance Taylor  <ian@cygnus.com>
83077298Sobrien
83177298Sobrien	* objcopy.c (change_leading_char): New static variable.
83277298Sobrien	(OPTION_CHANGE_LEADING_CHAR): Define.
83377298Sobrien	(copy_options): Add "change-leading-char".
83477298Sobrien	(copy_usage): Mention --change-leading-char.
83577298Sobrien	(filter_symbols): Add obfd parameter.  Change all callers.
83677298Sobrien	Implement change_leading_char.
83777298Sobrien	(copy_object): Call filter_symbols if change_leading_char.
83877298Sobrien	(copy_main): Handle OPTION_CHANGE_LEADING_CHAR.
83977298Sobrien	* binutils.texi, objcopy.1: Document --change-leading-char.
84077298Sobrien
84177298SobrienTue Sep  3 14:05:29 1996  Ian Lance Taylor  <ian@cygnus.com>
84277298Sobrien
84377298Sobrien	* ieee.c (ieee_enum_type): Don't check index into a NULL names
84477298Sobrien	array.
84577298Sobrien	* nm.c (sort_symbols_by_size): Always initialize next.
84677298Sobrien	* rdcoff.c (parse_coff_type): Warn about an incomprehensible
84777298Sobrien	type rather than crashing.
84877298Sobrien	* rddbg.c (read_symbol_stabs_debugging_info): Initialize f.
84977298Sobrien	* stabs.c (parse_stab_members): Set context in all cases.
85077298Sobrien
85177298SobrienThu Aug 29 16:56:52 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
85277298Sobrien
85377298Sobrien	* configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
85477298Sobrien	* configure: Regenerate.
85577298Sobrien
85677298SobrienThu Aug 29 11:29:20 1996  Ian Lance Taylor  <ian@cygnus.com>
85777298Sobrien
85877298Sobrien	* objdump.c (L_tmpnam): Never define.
85977298Sobrien	(display_target_list): Use choose_temp_base instead of tmpnam.
86077298Sobrien	(display_info_table): Likewise.
86177298Sobrien
86277298SobrienTue Aug 27 18:15:01 1996  Ian Lance Taylor  <ian@cygnus.com>
86377298Sobrien
86477298Sobrien	* stabs.c (parse_stab): An N_FUN symbol with an empty string
86577298Sobrien	indicates the end of a function.
86677298Sobrien
86777298SobrienThu Aug 22 17:08:00 1996  Ian Lance Taylor  <ian@cygnus.com>
86877298Sobrien
86977298Sobrien	* wrstabs.c (struct string_hash_entry): Add next field.
87077298Sobrien	(struct stab_write_handle): Change strings to a pointer to
87177298Sobrien	string_hash_entry.  Add last_strings field.  Remove strings_alloc
87277298Sobrien	field.
87377298Sobrien	(string_hash_newfunc): Initialize next field.
87477298Sobrien	(stab_write_symbol): Copy string into hash table rather than into
87577298Sobrien	buffer.  Keep a list of hash table entries.
87677298Sobrien	(write_stabs_in_sections_debugging_info): Initialize last_string.
87777298Sobrien	Copy strings from list of hash table entries in memory.
87877298Sobrien	(stab_modify_type): If the entry on the stack is a definition,
87977298Sobrien	make a new definition rather than failing an assert.
88077298Sobrien	(stab_array_type): The size is only zero if high is strictly less
88177298Sobrien	than low.
88277298Sobrien
88377298Sobrien	* ieee.c (struct ieee_info): Add saw_filename field.
88477298Sobrien	(parse_ieee): Initialize saw_filename.
88577298Sobrien	(parse_ieee_bb): Set saw_filename for a BB1 or BB2.  In a BB1,
88677298Sobrien	discard the current variables and types.  In a BB10, if no
88777298Sobrien	filename has been seen, call debug_set_filename.
88877298Sobrien	(parse_ieee_ty): In case 'g', the type is optional.
88977298Sobrien
89077298Sobrien	* prdbg.c (pr_fix_visibility): Don't abort on
89177298Sobrien	DEBUG_VISIBILITY_IGNORE.
89277298Sobrien
89377298Sobrien	* debug.c (debug_name_type): Correct error message.
89477298Sobrien
89577298Sobrien	* configure.in: Substitute HLDENV.
89677298Sobrien	* configure: Rebuild.
89777298Sobrien	* Makefile.in (HLDENV): New variable.  Use it whenever linking a
89877298Sobrien	program.
89977298Sobrien
90077298SobrienThu Aug 15 19:30:41 1996  Stan Shebs  <shebs@andros.cygnus.com>
90177298Sobrien
90277298Sobrien	* mpw-make.sed: Add symbolic doublequotes around the version
90377298Sobrien	number.
90477298Sobrien
90577298SobrienThu Aug  8 12:27:52 1996  Klaus Kaempf  <kkaempf@progis.de>
90677298Sobrien
90777298Sobrien	* makefile.vms: Add better support for DEC C compilation.
90877298Sobrien	Add new macros as in Makefile.in.
90977298Sobrien
91077298SobrienWed Aug  7 14:27:33 1996  Philippe De Muyter  <phdm@info.ucl.ac.be>
91177298Sobrien
91277298Sobrien	* configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk.
91377298Sobrien	* acconfig.h (NEED_DECLARATION_STRSTR): New macro.
91477298Sobrien	(NEED_DECLARATION_SBRK): New macro.
91577298Sobrien	* configure, config.in: Rebuild.
91677298Sobrien	* bucomm.h (strstr): Declare if NEED_DECLARATION_STRSTR.
91777298Sobrien	(sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK.
91877298Sobrien
91977298Sobrien	* prdbg.c (pr_end_struct_type): Avoid using a string constant in
92077298Sobrien	assert, for the benefit of broken assert macros.
92177298Sobrien
92277298SobrienFri Jul 26 14:06:50 1996  Ian Lance Taylor  <ian@cygnus.com>
92377298Sobrien
92477298Sobrien	* objdump.c (disassemble_data): Set disasm_info.flavour from
92577298Sobrien	abfd.
92677298Sobrien
92777298SobrienTue Jul 23 13:59:54 1996  Ian Lance Taylor  <ian@cygnus.com>
92877298Sobrien
92977298Sobrien	* dlltool.c (secdata): In non DLLTOOL_PPC case, change alignment
93077298Sobrien	of .text section to 2.
93177298Sobrien
93277298SobrienMon Jul 22 08:46:15 1996  Stu Grossman  (grossman@lisa.cygnus.com)
93377298Sobrien
93477298Sobrien	* objdump.c (dump_section_stabs):  Fix test for stabs sections
93577298Sobrien	ending with numbers.  This fixes a problem with .stab being
93677298Sobrien	confused with .stab.index.
93777298Sobrien
93877298SobrienWed Jul 10 13:32:28 1996  Ian Lance Taylor  <ian@cygnus.com>
93977298Sobrien
94077298Sobrien	* stabs.c (stab_demangle_fund_type): Return a void * for a
94177298Sobrien	template, rather than simply aborting.
94277298Sobrien
94377298SobrienMon Jul  8 15:28:05 1996  Ian Lance Taylor  <ian@cygnus.com>
94477298Sobrien
94577298Sobrien	* ar.c (open_inarch): Add file parameter.  Change all callers.  If
94677298Sobrien	this is a newly created archive, set the target based on the
94777298Sobrien	file.
94877298Sobrien	* arsup.h (open_inarch): Update declaration.
94977298Sobrien
95077298SobrienThu Jul  4 12:00:55 1996  Ian Lance Taylor  <ian@cygnus.com>
95177298Sobrien
95277298Sobrien	* Makefile.in (VERSION): Set to cygnus-2.7.1.
95377298Sobrien
95477298Sobrien	* Released binutils 2.7.
95577298Sobrien
95677298Sobrien	* rdcoff.c (parse_coff): Get address to pass to debug_end_function
95777298Sobrien	from function size, not value of .ef symbol.  From Ning
95877298Sobrien	Mosberger-Tang <ning@AZStarNet.com>.
95977298Sobrien
96077298SobrienSat Jun 29 21:18:09 1996  Ian Lance Taylor  <ian@cygnus.com>
96177298Sobrien
96277298Sobrien	* objcopy.c (strip_main): Add -o option, and handle it.
96377298Sobrien	(strip_usage): Mention -o.
96477298Sobrien	* binutils.texi, strip.1: Mention -o.
96577298Sobrien
96677298SobrienMon Jun 24 17:19:02 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
96777298Sobrien
96877298Sobrien	* Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
96977298Sobrien	INSTALL_PROGRAM, INSTALL_DATA): Use autoconf set values.
97077298Sobrien	(docdir): Removed.
97177298Sobrien	* configure.in (AC_PREREQ): Autoconf 2.5 or higher.
97277298Sobrien
97377298SobrienMon Jun 24 11:59:13 1996  Ian Lance Taylor  <ian@cygnus.com>
97477298Sobrien
97577298Sobrien	* objdump.c (endian): New static variable.
97677298Sobrien	(usage): Mention -EB/-EL/--endian.
97777298Sobrien	(long_options): Add "endian".
97877298Sobrien	(disassemble_data): If endianness was specified, replace
97977298Sobrien	abfd->xvec with a copy of itself with the given endianness.
98077298Sobrien	(main): Handle -EB/-EL/--endian.
98177298Sobrien	* binutils.texi, objdump.1: Mention -EB/-EL/--endian.
98277298Sobrien
98377298Sobrien	* objdump.c: Make most variables and functions static.
98477298Sobrien
98577298Sobrien	* configure.in: On alpha*-*-osf*, link against libbfd.a if not
98677298Sobrien	using shared libraries.
98777298Sobrien	* configure: Rebuild with autoconf 2.10.
98877298Sobrien
98977298SobrienSun Jun 23 14:47:36 1996  Kim Knuttila  <krk@cygnus.com>
99077298Sobrien
99177298Sobrien	* dlltool.c (secdata): Changed .rdata to .reldata so .reloc will work.
99277298Sobrien	(make_one_lib_file): Removed cruft. (#if 1)
99377298Sobrien
99477298SobrienWed Jun 19 14:46:38 1996  Ian Lance Taylor  <ian@cygnus.com>
99577298Sobrien
99677298Sobrien	* objdump.c (stabs): Change from struct internal_nlist * to
99777298Sobrien	bfd_byte *.
99877298Sobrien	(print_section_stabs): Fetch stabs information directly, rather
99977298Sobrien	than assuming that struct internal_nlist is the right size.
100077298Sobrien
100177298Sobrien	* binutils.texi: Document change to binary format: file position
100277298Sobrien	based on load address, not section VMA.
100377298Sobrien
100477298Sobrien	* bucomm.h: Define SEEK_SET, SEEK_CUR, and SEEK_END if they are
100577298Sobrien	not already defined.
100677298Sobrien
100777298SobrienTue Jun 18 18:25:00 1996  Ian Lance Taylor  <ian@cygnus.com>
100877298Sobrien
100977298Sobrien	* Makefile.in (DISTSTUFF): Add deflex.c.
101077298Sobrien
101177298SobrienTue Jun 18 15:03:44 1996  Klaus Kaempf  <kkaempf@progis.de>
101277298Sobrien
101377298Sobrien	* config.h-vms, makefile.vms: New files.
101477298Sobrien
101577298SobrienMon Jun 17 09:47:31 1996  Ian Lance Taylor  <ian@cygnus.com>
101677298Sobrien
101777298Sobrien	* dlltool.c (make_one_lib_file): Use BFD_RELOC_RVA rather than
101877298Sobrien	BFD_RELOC_32 in IDATA7.
101977298Sobrien
102077298SobrienWed Jun 12 11:52:06 1996  Ian Lance Taylor  <ian@cygnus.com>
102177298Sobrien
102277298Sobrien	* nm.c (struct get_relocs_info): Define.
102377298Sobrien	(line_numbers): New static variable.
102477298Sobrien	(long_options): Add "line-numbers".
102577298Sobrien	(usage): Mention -l and --line-numbers.
102677298Sobrien	(main): Handle -l.
102777298Sobrien	(print_symbol): Print line numbers if requested.
102877298Sobrien	(get_relocs): New static function.
102977298Sobrien	* binutils.texi, nm.1: Document -l/--line-numbers.
103077298Sobrien
103177298SobrienTue Jun 11 20:12:15 1996  Ian Lance Taylor  <ian@cygnus.com>
103277298Sobrien
103377298Sobrien	* objdump.c (dump_reloc_set): Add sec parameter.  Change all
103477298Sobrien	callers.  If with_line_numbers is set, display line numbers of
103577298Sobrien	relocation entries.
103677298Sobrien	* binutils.texi, objdump.1: Document -l with -r.
103777298Sobrien
103877298SobrienMon Jun 10 23:42:59 1996  Ian Lance Taylor  <ian@cygnus.com>
103977298Sobrien
104077298Sobrien	* ar.c (open_inarch): Report BFD error message if an archive can
104177298Sobrien	not be recognized.  List matching formats if the file is
104277298Sobrien	ambiguously recognized.
104377298Sobrien	(ranlib_touch): Likewise.
104477298Sobrien
104577298SobrienThu Jun  6 13:56:14 1996  Ian Lance Taylor  <ian@cygnus.com>
104677298Sobrien
104777298Sobrien	* README: Add notes on how to build if you don't have ar.
104877298Sobrien
104977298Sobrien	* Makefile.in: Remove old incorrect setting of CC.
105077298Sobrien
105177298SobrienTue Jun  4 10:52:49 1996  Tom Tromey  <tromey@csk3.cygnus.com>
105277298Sobrien
105377298Sobrien	* Makefile.in (install): Don't check to see if tooldir exists.
105477298Sobrien	Make $(tooldir) and $(tooldir)/bin.
105577298Sobrien
105677298SobrienMon Jun  3 17:40:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
105777298Sobrien
105877298Sobrien	* strings.c (main): Make main an int function, not void.
105977298Sobrien
106077298SobrienFri May 31 13:59:24 1996  Ian Lance Taylor  <ian@cygnus.com>
106177298Sobrien
106277298Sobrien	* nm.c (filter_symbols): Check for BSF_WEAK as well as
106377298Sobrien	BSF_GLOBAL.
106477298Sobrien	* objcopy.c (filter_symbols): Likewise.
106577298Sobrien
106677298SobrienWed May  8 16:57:20 1996  Ian Lance Taylor  <ian@cygnus.com>
106777298Sobrien
106877298Sobrien	* objcopy.c (copy_object): Make clear that it is only a warning
106977298Sobrien	when the output file can not represent the architecture.
107077298Sobrien
107177298SobrienFri May  3 11:30:17 1996  Ian Lance Taylor  <ian@cygnus.com>
107277298Sobrien
107377298Sobrien	* objdump.c (disassemble_data): Don't refer to bytes past the end
107477298Sobrien	of data.
107577298Sobrien
107677298SobrienWed Apr 24 14:10:21 1996  Ian Lance Taylor  <ian@cygnus.com>
107777298Sobrien
107877298Sobrien	* rddbg.c (read_symbol_stabs_debugging_info): Move call to
107977298Sobrien	free_saved_stabs outside the loop over the symbols.
108077298Sobrien
108177298SobrienTue Apr 23 12:56:11 1996  Ian Lance Taylor  <ian@cygnus.com>
108277298Sobrien
108377298Sobrien	* objdump.c (compare_symbols): Sort symbols whose names start with
108477298Sobrien 	`.' after other symbols.  If no other decision can be made, sort
108577298Sobrien	symbols by name.
108677298Sobrien
108777298SobrienThu Apr 18 16:02:11 1996  Ian Lance Taylor  <ian@cygnus.com>
108877298Sobrien
108977298Sobrien	* dep-in.sed: Substitute $(BFDDIR) for @BFDDIR@.
109077298Sobrien	* Makefile.in: Rebuild dependencies.
109177298Sobrien	(dep.sed): Substitute $(BFDDIR) for @BFDDIR@.
109277298Sobrien
109377298SobrienTue Apr 16 13:50:22 1996  Ian Lance Taylor  <ian@cygnus.com>
109477298Sobrien
109577298Sobrien	* rdcoff.c: New file.
109677298Sobrien	* rddbg.c (read_debugging_info): Read COFF symbols if COFF flavour
109777298Sobrien	and no stabs were found.
109877298Sobrien	* budbg.h (parse_coff): Declare.
109977298Sobrien	* Makefile.in: Rebuild dependencies.
110077298Sobrien	(CFILES): Add rdcoff.c.
110177298Sobrien	(DEBUG_OBJS): Add rdcoff.o.
110277298Sobrien
110377298SobrienMon Apr 15 15:55:01 1996  Doug Evans  <dje@canuck.cygnus.com>
110477298Sobrien
110577298Sobrien	* nlmconv.c (choose_temp_base{,_try}): Delete, in libiberty now.
110677298Sobrien	(link_inputs): Update call to choose_temp_base.
110777298Sobrien
110877298SobrienMon Apr  8 14:40:05 1996  Ian Lance Taylor  <ian@cygnus.com>
110977298Sobrien
111077298Sobrien	* configure.in: Permit --enable-shared to specify a list of
111177298Sobrien	directories.
111277298Sobrien	* configure: Rebuild.
111377298Sobrien
111477298SobrienFri Mar 29 16:11:33 1996  Ian Lance Taylor  <ian@cygnus.com>
111577298Sobrien
111677298Sobrien	* objdump.c (dump_section_header): Print the SEC_LINK_ONCE flag
111777298Sobrien	and the SEC_LINK_DUPLICATES field.
111877298Sobrien
111977298SobrienFri Mar 29 11:35:55 1996  J.T. Conklin  (jtc@lisa.cygnus.com)
112077298Sobrien
112177298Sobrien	* nlmconv.1: Changed to be recognized by catman -w on Solaris.
112277298Sobrien
112377298SobrienThu Mar 28 14:17:02 1996  Ian Lance Taylor  <ian@cygnus.com>
112477298Sobrien
112577298Sobrien	* wrstabs.c (stab_enum_type): Set buf before using it.
112677298Sobrien
112777298SobrienFri Mar 22 15:49:08 1996  Ian Lance Taylor  <ian@cygnus.com>
112877298Sobrien
112977298Sobrien	* stabs.c (struct stab_handle): Add field abfd.
113077298Sobrien	(start_stab): Add abfd parameter.
113177298Sobrien	(parse_stab_string): Skip the symbol leading char when searching
113277298Sobrien	for the value of a global symbol.
113377298Sobrien	* budbg.h (start_stab): Update declaration.
113477298Sobrien	* rddbg.c (read_section_stabs_debugging_info): Pass abfd to
113577298Sobrien	start_stab.
113677298Sobrien	(read_symbol_stabs_debugging_info): Likewise.
113777298Sobrien
113877298SobrienThu Mar 21 12:40:48 1996  Ian Lance Taylor  <ian@cygnus.com>
113977298Sobrien
114077298Sobrien	* wrstabs.c (stab_function_type): Output an empty typedef for an
114177298Sobrien	unused argument, rather than making up a meaningless name.
114277298Sobrien	(stab_variable): Use N_RSYM for a DEBUG_REGISTER variable.
114377298Sobrien
114477298Sobrien	* ieee.c (struct ieee_info): Add global_vars field.
114577298Sobrien	(parse_ieee_be): When ending the global typedef block, copy the
114677298Sobrien	variables into info->global_vars.
114777298Sobrien	(parse_ieee_atn): Don't require an NN record for a pmisc ATN.
114877298Sobrien	(ieee_read_reference): Search the global variables after the local
114977298Sobrien	variables.
115077298Sobrien
115177298SobrienWed Mar 20 18:08:19 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
115277298Sobrien
115377298Sobrien	* objdump.c (disassemble_data): Make sure sym_name is always set.
115477298Sobrien	(dump_section_header): Always put a space after the section name.
115577298Sobrien	(dump_bfd_header): Terminate output with newline.
115677298Sobrien
115777298SobrienWed Mar 20 16:35:20 1996  Ian Lance Taylor  <ian@cygnus.com>
115877298Sobrien
115977298Sobrien	* wrstabs.c: New file.
116077298Sobrien	* budbg.h (write_stabs_in_sections_debugging_info): Declare.
116177298Sobrien	* objcopy.c (write_debugging_info): For COFF or ELF, output stabs
116277298Sobrien	in sections.
116377298Sobrien	* Makefile.in: Rebuild dependencies.
116477298Sobrien	(CFILES): Add wrstabs.c.
116577298Sobrien	(WRITE_DEBUG_OBJS): New variable.
116677298Sobrien	($(OBJCOPY_PROG)): Use $(WRITE_DEBUG_OBJS), not $(DEBUG_OBJS).
116777298Sobrien	($(STRIP_PROG)): Likewise.
116877298Sobrien
116977298Sobrien	* stabs.c (parse_stab_members): Make type stub detection more like
117077298Sobrien	gdb.
117177298Sobrien
117277298Sobrien	* ieee.c (struct ieee_handle): Add fields complex_float_index and
117377298Sobrien	complex_double_index.
117477298Sobrien	(ieee_complex_type): Cache type index in complex_float_index and
117577298Sobrien	complex_double_index, depending upon size.  Set size on type stack
117677298Sobrien	to size * 2.
117777298Sobrien
117877298Sobrien	* ieee.c (ieee_empty_type): Use builtin_unknown, not 0.
117977298Sobrien	(ieee_void_type): Use builtin_void, not 1.
118077298Sobrien
118177298Sobrien	* ieee.c (parse_ieee_ty): Handle 'V' type code.
118277298Sobrien	(parse_ieee_atn): Don't require two numbers for type 10.
118377298Sobrien
118477298Sobrien	* ieee.c (parse_ieee_be): Add one to offset at end of function or
118577298Sobrien	block.
118677298Sobrien
118777298Sobrien	* ieee.c (struct ieee_block): Add field skip.
118877298Sobrien	(parse_ieee_bb): Don't call debug_record_function for __XRYCPP
118977298Sobrien	function, and set skip field.
119077298Sobrien	(parse_ieee_be): Don't call debug_end_function if skip is set.
119177298Sobrien
119277298Sobrien	* debug.c (struct debug_handle): Add fields current_write_lineno
119377298Sobrien	and current_write_lineno_index.
119477298Sobrien	(debug_write): Initialize current_write_lineno and
119577298Sobrien	current_write_lineno_index for each unit.  Call
119677298Sobrien	debug_write_linenos rather than writing out the line numbers
119777298Sobrien	directly.
119877298Sobrien	(debug_write_function): Call debug_write_linenos.
119977298Sobrien	(debug_write_block): Likewise.
120077298Sobrien	(debug_write_linenos): New static function.
120177298Sobrien
120277298Sobrien	* debug.c (debug_write_type): For DEBUG_KIND_FUNCTION, push return
120377298Sobrien	type before arguments.
120477298Sobrien
120577298SobrienMon Mar 18 18:05:33 1996  Ian Lance Taylor  <ian@cygnus.com>
120677298Sobrien
120777298Sobrien	* configure.in: Add AC_FUNC_VFORK.
120877298Sobrien	* configure, config.in: Rebuild.
120977298Sobrien	* dlltool.c, nlmconv.c: Include <vfork.h> if HAVE_VFORK_H is
121077298Sobrien	defined.
121177298Sobrien
121277298Sobrien	* stabs.c (parse_stab_range_type): A complex type is defined as a
121377298Sobrien	subrange of itself with the high bound zero.
121477298Sobrien	* ieee.c (ieee_complex_type): Don't crash on sizes of 12 or 16.
121577298Sobrien
121677298SobrienTue Mar 12 12:09:43 1996  Ian Lance Taylor  <ian@cygnus.com>
121777298Sobrien
121877298Sobrien	* ieee.c (ieee_write_undefined_tag): Switch to global_types even
121977298Sobrien	if it is not empty.
122077298Sobrien	(ieee_tag_type): For an enum, look through info->enums.
122177298Sobrien
122277298Sobrien	* configure: Rebuild with autoconf 2.8.
122377298Sobrien
122477298Sobrien	* debug.c (debug_type_samep): Don't loop endlessly in
122577298Sobrien	DEBUG_KIND_ENUM case.  From Eric Baur <ecb@nexen.com>.
122677298Sobrien
122777298SobrienMon Mar 11 12:35:03 1996  Ian Lance Taylor  <ian@cygnus.com>
122877298Sobrien
122977298Sobrien	* rddbg.c (read_section_stabs_debugging_info): Call save_stab for
123077298Sobrien	each stab entry, call stab_context on an error, and call
123177298Sobrien	free_saved_stabs before rturning.
123277298Sobrien	(read_symbol_stabs_debugging_info): Likewise.
123377298Sobrien	(SAVE_STABS_COUNT): Define.
123477298Sobrien	(struct saved_stab): Define.
123577298Sobrien	(saved_stabs, saved_stabs_index): New static variables.
123677298Sobrien	(save_stab, stab_context, free_saved_stabs): New static functios.
123777298Sobrien
123877298Sobrien	* objdump.c (stab_name): Remove.
123977298Sobrien	(struct stab_print): Remove.
124077298Sobrien	(stab_print): Remove.
124177298Sobrien	(dump_stabs): Don't initialize stab_name.
124277298Sobrien	(print_section_stabs): Call bfd_get_stab_name rather than using
124377298Sobrien	the stab_name array.
124477298Sobrien
124577298SobrienTue Feb 27 19:52:01 1996  Ian Lance Taylor  <ian@cygnus.com>
124677298Sobrien
124777298Sobrien	* prdbg.c (pr_int_constant): Initialize info correctly.
124877298Sobrien	(pr_float_constant): Likewise.
124977298Sobrien
125077298SobrienMon Feb 26 18:11:37 1996  Stan Shebs  <shebs@andros.cygnus.com>
125177298Sobrien
125277298Sobrien	* mpw-make.sed: Update to handle shared library support.
125377298Sobrien
125477298SobrienSat Feb 24 11:21:49 1996  Alan Modra  <alan@spri.levels.unisa.edu.au>:
125577298Sobrien
125677298Sobrien	* Makefile.in ($(OBJDUMP_PROG)): Search $(BFDLIB) before
125777298Sobrien	$(OPCODES).
125877298Sobrien
125977298SobrienThu Feb 15 12:44:45 1996  Ian Lance Taylor  <ian@cygnus.com>
126077298Sobrien
126177298Sobrien	* configure.in: Don't tamper with LDFLAGS.  Call AC_PROG_CC before
126277298Sobrien	configure.host.
126377298Sobrien	* configure: Rebuild.
126477298Sobrien
126577298Sobrien	* configure.in: Substitute RPATH_ENVVAR.
126677298Sobrien	* configure: Rebuild.
126777298Sobrien	* Makefile.in (RPATH_ENVVAR): New variable.
126877298Sobrien	(check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
126977298Sobrien
127077298Sobrien	* objcopy.c (smart_rename): Rather than doing chmod then chown, do
127177298Sobrien	chmod without setuid, then chown, then chmod with setuid.
127277298Sobrien
127377298SobrienWed Feb 14 16:46:42 1996  Martin Anantharaman  <martin@mail.imech.uni-duisburg.de>
127477298Sobrien
127577298Sobrien	* arsup.c (map_over_list): Reindent.  Don't assume that the
127677298Sobrien	function does not delete the BFD.
127777298Sobrien	(ar_addlib_doer): Don't set prev->next if prev is NULL.
127877298Sobrien
127977298SobrienWed Feb 14 15:12:17 1996  Ian Lance Taylor  <ian@cygnus.com>
128077298Sobrien
128177298Sobrien	* ieee.c (ieee_regno_to_genreg): Convert register numbers for m68k
128277298Sobrien	and i960.
128377298Sobrien	(ieee_genreg_to_regno): Likewise.
128477298Sobrien
128577298SobrienMon Feb 12 14:19:59 1996  Ian Lance Taylor  <ian@cygnus.com>
128677298Sobrien
128777298Sobrien	* ieee.c: Extensive changes to write code to put types in the
128877298Sobrien	global type block when possible, to output ranges for all memory
128977298Sobrien	occupied by the module, and to improve efficiency.
129077298Sobrien
129177298Sobrien	* debug.c (struct debug_handle): Remove class_mark field.  Add
129277298Sobrien	id_list and compare_list fields.
129377298Sobrien	(struct debug_class_id): Define.
129477298Sobrien	(struct debug_type_compare_list): Define.
129577298Sobrien	(debug_write): Initialize info->id_list
129677298Sobrien	(debug_write_name): Remove reference to info->class_mark.
129777298Sobrien	(debug_write_type): Get id for all structs and classes.  Simplify
129877298Sobrien	test for whether struct has already been written.
129977298Sobrien	(debug_write_class_type): Get id for all classes.  Simplify test
130077298Sobrien	for whether class has already been written.
130177298Sobrien	(debug_write_block): Don't write out blocks other than the top
130277298Sobrien	level block if they have no local variables.
130377298Sobrien	(debug_set_class_id): New static function.
130477298Sobrien	(debug_type_samep): New static function.
130577298Sobrien	(debug_class_type_samep): New static function.
130677298Sobrien	* prdbg.c (pr_start_struct_type): Always print id.
130777298Sobrien	(pr_start_class_type): Likewise.
130877298Sobrien	(pr_tag_type): Likewise.
130977298Sobrien
131077298Sobrien	* stabs.c (struct stab_handle): Add syms and symcount fields.
131177298Sobrien	(start_stab): Add syms and symcount parameters.  Change all
131277298Sobrien	callers.
131377298Sobrien	(parse_stab_string): Look up global variables in the symbol table
131477298Sobrien	to get the right value.
131577298Sobrien	* budbg.h (start_stab): Update declaration.
131677298Sobrien	* rddbg.c (read_section_stabs_debugging_info): Add syms and
131777298Sobrien	symcount parameters.  Change all callers.
131877298Sobrien
131977298Sobrien	* stabs.c (parse_stab_array_type): If the index type is 0, use
132077298Sobrien	int.
132177298Sobrien
132277298SobrienWed Feb  7 14:17:45 1996  Ian Lance Taylor  <ian@cygnus.com>
132377298Sobrien
132477298Sobrien	* ieee.c (ieee_start_compilation_unit): Clear modified and
132577298Sobrien	modified_alloc fields of info.
132677298Sobrien
132777298Sobrien	* configure.in: Check for --enable-shared.  Substitute new
132877298Sobrien	variables BFDLIB and OPCODES.
132977298Sobrien	* configure: Rebuild.
133077298Sobrien	* Makefile.in (BFDLIB): Set to @BFDLIB@.
133177298Sobrien	(OPCODES): Set to @OPCODES@.
133277298Sobrien
133377298SobrienMon Feb  5 16:18:42 1996  Ian Lance Taylor  <ian@cygnus.com>
133477298Sobrien
133577298Sobrien	Support for building bfd and opcodes as shared libraries, based on
133677298Sobrien	patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
133777298Sobrien	* configure.in (HLDFLAGS): New substitution.
133877298Sobrien	* configure: Rebuild.
133977298Sobrien	* Makefile.in (HLDFLAGS): New variable.  Make all links use
134077298Sobrien	$(HLDFLAGS) before $(CFLAGS) and $(LDFLAGS).
134177298Sobrien	(BFDLIB_DEP): New variable.  Replace all occurrences of $(BFD) as
134277298Sobrien	a dependency with $(BFDLIB_DEP).  Remove $(BFD) as a dependency if
134377298Sobrien	there is also a dependency on $(ADDL_DEPS).
134477298Sobrien	(BFDLIB): Rename from BFD; change all uses; set to -L../bfd -lbfd.
134577298Sobrien	(OPCODES_DEP): New variable.  Replace all occurrends of $(OPCODES)
134677298Sobrien	as a dependency with $(OPCODES_DEP).
134777298Sobrien	(OPCODES): Set to -L../opcodes -lopcodes.
134877298Sobrien	(ADDL_DEPS): New variable.  Replace all occurrences of
134977298Sobrien	$(ADDL_LIBS) as a dependency with $(ADDL_DEPS).
135077298Sobrien	(check): Set LD_LIBRARY_PATH in the environment.
135177298Sobrien	(config.status): Depend upon BFD configure.host and config.bfd.
135277298Sobrien
135377298SobrienFri Feb  2 17:02:59 1996  Doug Evans  <dje@charmed.cygnus.com>
135477298Sobrien
135577298Sobrien	* objdump.c: #include stdarg.h or varargs.h.
135677298Sobrien	(objdump_print_value): Change FILE* arg to struct disassemble_info*.
135777298Sobrien	All callers updated.  Use fprintf_func.
135877298Sobrien	(objdump_print_address): Consistently use fprintf_func.
135977298Sobrien	(objdump_sprintf): New function.
136077298Sobrien	(disassemble_data): Print insn into a buffer, print raw insn ourselves,
136177298Sobrien	then print insn mnemonic.
136277298Sobrien
136377298SobrienFri Feb  2 16:48:55 1996  Ian Lance Taylor  <ian@cygnus.com>
136477298Sobrien
136577298Sobrien	* configure: Regenerate.
136677298Sobrien
136777298SobrienThu Feb  1 09:38:18 1996  Steve Chamberlain  <sac@slash.cygnus.com>
136877298Sobrien
136977298Sobrien	* configure.in (i[3-6]86-*-win32): Becomes i[3-6]86-*-cygwin32.
137077298Sobrien	(powerpc*-*-cygwin32): New.
137177298Sobrien	* configure: Regenerated.
137277298Sobrien
137377298SobrienWed Jan 31 13:22:03 1996  Richard Henderson  <rth@tamu.edu>
137477298Sobrien
137577298Sobrien	* Makefile.in (distclean): Remove $(DEMANGLER_PROG).1.
137677298Sobrien
137777298SobrienMon Jan 29 17:36:29 1996  Ian Lance Taylor  <ian@cygnus.com>
137877298Sobrien
137977298Sobrien	Based on patches from H J Lu <hjl@zoom.com>:
138077298Sobrien	* objcopy.c (remove_leading_char): New static variable.
138177298Sobrien	(OPTION_REMOVE_LEADING_CHAR): Define.
138277298Sobrien	(copy_usage): Mention --remove-leading-char.
138377298Sobrien	(filter_symbols): If remove_leading_char, and the first character
138477298Sobrien	of a global symbol matches the symbol leading char of the BFD,
138577298Sobrien	remove the first character.
138677298Sobrien	(copy_object): Filter the symbols if remove_leading_char is set.
138777298Sobrien	(copy_main): Handle --remove-leading-char.
138877298Sobrien	* binutils.texi, objcopy.1: Document --remove-leading-char.
138977298Sobrien
139077298SobrienSat Jan 27 15:40:13 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
139177298Sobrien
139277298Sobrien	* objdump.c (fprintf): Add prototype to avoid compiler warning on
139377298Sobrien	SunOS.
139477298Sobrien
139577298SobrienFri Jan 26 11:53:42 1996  Ian Lance Taylor  <ian@cygnus.com>
139677298Sobrien
139777298Sobrien	* binutils.texi (nm): Improve documentation on symbol types.
139877298Sobrien	(objdump): Reference the stabs manual from the discussion of the
139977298Sobrien	--stabs option.
140077298Sobrien
140177298SobrienThu Jan 25 11:21:46 1996  Raymond Jou  <rjou@mexican.cygnus.com>
140277298Sobrien
140377298Sobrien	* mpw-make.sed: Add a "stamps" target.
140477298Sobrien
140577298SobrienThu Jan 25 13:51:44 1996  Ian Lance Taylor  <ian@cygnus.com>
140677298Sobrien
140777298Sobrien	* objdump.c (dump_headers, dump_section_header): Change objdump -h
140877298Sobrien	output to be simpler and to include section file offsets.
140977298Sobrien
141077298SobrienWed Jan 24 12:06:05 1996  Ian Lance Taylor  <ian@cygnus.com>
141177298Sobrien
141277298Sobrien	* stabs.c (parse_stab_members): Don't adjust voffset.
141377298Sobrien
141477298Sobrien	* ieee.c (ieee_read_cxx_class): Don't multiply voffset by 4.
141577298Sobrien	(struct ieee_write_type): Add name field.
141677298Sobrien	(struct ieee_type_class): Remove name field.  Change all uses to
141777298Sobrien	use new name field in type instead.
141877298Sobrien	(struct ieee_name_type): Likewise.
141977298Sobrien	(ieee_start_struct_type): Initialize name field of type.
142077298Sobrien	(ieee_start_class_type): Don't initialize classdef entry of tag.
142177298Sobrien	(ieee_class_method_var): Don't adjust voffset.
142277298Sobrien	(ieee_end_class_type): Likewise.
142377298Sobrien	(ieee_tag_type): Initialize new name field of type.
142477298Sobrien	(ieee_typdef): Set name after copying in type information.
142577298Sobrien
142677298Sobrien	* debug.c (VOFFSET_STATIC_METHOD): Define as -1, not 1.
142777298Sobrien
142877298Sobrien	* ieee.c (struct ieee_modified_type): Define.
142977298Sobrien	(struct ieee_handle): Add modified and modified_alloc fields.
143077298Sobrien	(ieee_get_modified_info): New static function.
143177298Sobrien	(ieee_pointer_type): Cache type index.
143277298Sobrien	(ieee_const_type): Likewise.
143377298Sobrien	(ieee_volatile_type): Likewise.
143477298Sobrien
143577298Sobrien	* ieee.c (ieee_define_named_type): When creating a tag for an
143677298Sobrien	anonymous struct, copy the name into memory.
143777298Sobrien	(ieee_tag_type): Likewise.
143877298Sobrien	* debug.c (debug_write_type): Only check and set id field for an
143977298Sobrien	unnamed object.
144077298Sobrien	(debug_write_class_type): Likewise.
144177298Sobrien
144277298Sobrien	* ieee.c: Various changes to write out types for functions and
144377298Sobrien	references, and to not write out unnecessary function types.
144477298Sobrien
144577298Sobrien	* ieee.c (struct ieee_var): Remove variable field.  Add kind
144677298Sobrien	field, and define some enum constants for it.
144777298Sobrien	(parse_ieee_ty): Set kind field of variable for 'x' and 'X' types.
144877298Sobrien	(parse_ieee_atn): Make an indirect slot for an external variable,
144977298Sobrien	although we otherwise don't record it.  Set kind field rather than
145077298Sobrien	variable field of pvar.
145177298Sobrien	(ieee_read_cxx_class): Try to get the type of a static member.
145277298Sobrien	(ieee_read_reference): Check kind field rather than variable
145377298Sobrien	field.
145477298Sobrien
145577298SobrienTue Jan 23 15:54:18 1996  Ian Lance Taylor  <ian@cygnus.com>
145677298Sobrien
145777298Sobrien	* ieee.c: Various changes to handle reading C++ reference type
145877298Sobrien	information.
145977298Sobrien
146077298Sobrien	* debug.h (enum debug_var_kind): Add DEBUG_VAR_ILLEGAL.
146177298Sobrien	(enum debug_parm_kind): Add DEBUG_PARM_ILLEGAL.
146277298Sobrien	* debug.c (debug_get_parameter_types): Handle DEBUG_KIND_FUNCTION.
146377298Sobrien
146477298Sobrien	* ieee.c: Various changes to write out definitions of C++ classes.
146577298Sobrien
146677298Sobrien	* debug.c (debug_append_filename): Remove.
146777298Sobrien	* debug.h (debug_append_filename): Don't declare.
146877298Sobrien
146977298Sobrien	* stabs.c (struct stab_handle): Remove last_type field.  Add
147077298Sobrien	so_string and so_value fields.
147177298Sobrien	(finish_stab): Call stab_emit_pending_vars before calling
147277298Sobrien	debug_end_function.  Don't warn about pending variables.
147377298Sobrien	(parse_stab): Accumulate N_SO strings until a non N_SO symbol is
147477298Sobrien	seen, rather than calling debug_append_filename.  Call
147577298Sobrien	stab_emit_pending_vars before calling debug_end_function.  Don't
147677298Sobrien	set info->last_type.
147777298Sobrien
147877298SobrienTue Jan 23 09:53:54 1996  Doug Evans  <dje@charmed.cygnus.com>
147977298Sobrien
148077298Sobrien	* objdump.c (disassemble_data): Handle unknown endianness.
148177298Sobrien	Pass fprintf to INIT_DISASSEMBLE_INFO.
148277298Sobrien
148377298SobrienMon Jan 22 16:46:43 1996  Doug Evans  <dje@charmed.cygnus.com>
148477298Sobrien
148577298Sobrien	Add new option --show-raw-insn.
148677298Sobrien	* objdump.c (show_raw_insn): New global.
148777298Sobrien	(usage): Update.
148877298Sobrien	(long_options): Update.
148977298Sobrien	(disassemble_data): Set disasm_info.flags if --show-raw-insn.
149077298Sobrien
149177298Sobrien	* objdump.c (disassemble_data): Set new arch,mach,endian fields in
149277298Sobrien	disasm_info.
149377298Sobrien
149477298SobrienMon Jan 22 19:29:36 1996  Ian Lance Taylor  <ian@cygnus.com>
149577298Sobrien
149677298Sobrien	* ieee.c: Extensive changes to pass a single info argument around
149777298Sobrien	in the reading routines, rather than several arguments.  Add code
149877298Sobrien	to read C++ debugging records.
149977298Sobrien
150077298Sobrien	* debug.h (debug_get_type_size): Declare.
150177298Sobrien	(debug_get_field_name): Declare.
150277298Sobrien	(debug_get_field_bitpos): Declare.
150377298Sobrien	(debug_get_field_bitsize): Declare.
150477298Sobrien	(debug_get_field_visibility): Declare.
150577298Sobrien	(debug_get_field_physname): Declare.
150677298Sobrien	* debug.c (debug_get_real_type): Handle DEBUG_KIND_TAGGED.
150777298Sobrien	(debug_get_type_size): New function.
150877298Sobrien	(debug_get_field_name): New function.
150977298Sobrien	(debug_get_field_bitpos): New function.
151077298Sobrien	(debug_get_field_bitsize): New function.
151177298Sobrien	(debug_get_field_visibility): New function.
151277298Sobrien	(debug_get_field_physname): New function.
151377298Sobrien	(debug_write_type): Make sure we pass the real kind, not INDIRECT,
151477298Sobrien	to tag_type.  Pass the name recursively for INDIRECT.
151577298Sobrien
151677298SobrienFri Jan 19 12:31:57 1996  Ian Lance Taylor  <ian@cygnus.com>
151777298Sobrien
151877298Sobrien	* debug.h (struct debug_write_fns): Remove ellipsis_type.  Add int
151977298Sobrien	and boolean parameters to function_type.  Add boolean parameter to
152077298Sobrien	method_type.
152177298Sobrien	(debug_make_ellipsis_type): Don't declare.
152277298Sobrien	(debug_make_function_type): Add debug_type * and boolean
152377298Sobrien	parameters.  Change all callers.
152477298Sobrien	(debug_make_method_type): Add boolean parameter.  Change all
152577298Sobrien	callers.
152677298Sobrien	(debug_get_parameter_types): Add boolean * parameter.  Change all
152777298Sobrien	callers.
152877298Sobrien	(debug_get_target_type): Declare.
152977298Sobrien	* debug.c (struct debug_function_type): Add fields arg_types and
153077298Sobrien	varargs.
153177298Sobrien	(struct debug_method_type): Add field varargs.
153277298Sobrien	(debug_ellipsis_type, ELLIPSIS_P): Remove.
153377298Sobrien	(debug_make_ellipsis_type): Remove.
153477298Sobrien	(debug_make_function_type): Add arg_types and varargs parameters.
153577298Sobrien	(debug_make_method_type): Add varargs parameter.
153677298Sobrien	(debug_get_parameter_types): Add pvarargs parameter.
153777298Sobrien	(debug_get_target_type): New function.
153877298Sobrien	(debug_write_type): In case DEBUG_KIND_FUNCTION, push argument
153977298Sobrien	types and pass count to function_type.  In DEBUG_KIND_METHOD, use
154077298Sobrien	a signed int for the count, don't call ellipsis_type, and pass
154177298Sobrien	varargs to method_type.
154277298Sobrien	* stabs.c (struct stab_demangle_info): Add varargs field.
154377298Sobrien	(stab_demangle_argtypes): Add pvarargs parameter.  Change all
154477298Sobrien	callers.
154577298Sobrien	(stab_demangle_args): Likewise.
154677298Sobrien	(stab_demangle_type): In case 'F', pick up argument types.
154777298Sobrien	* prdbg.c (pr_ellipsis_type): Remove.
154877298Sobrien	(pr_function_type): Add argcount and varargs parameters.
154977298Sobrien	(pr_method_type): Add varargs parameter.
155077298Sobrien	* ieee.c (ieee_ellipsis_type): Remove.
155177298Sobrien	(ieee_function_type): Add argcount and varargs parameters.
155277298Sobrien	(ieee_method_type): Add varargs parameter.  Remove most of
155377298Sobrien	function body, and just call ieee_function_type.
155477298Sobrien
155577298Sobrien	* stabs.c: Include "demangle.h".  Added several new static
155677298Sobrien	functions not listed below to demangle argument types; they are
155777298Sobrien	all called via stab_demangle_argtypes.
155877298Sobrien	(finish_stab): If the kind of an undefined tag is
155977298Sobrien	DEBUG_KIND_ILLEGAL, use DEBUG_KIND_STRUCT instead.  Warn if there
156077298Sobrien	are any pending variable.
156177298Sobrien	(parse_stab): Don't close the function when the block depth goes
156277298Sobrien	to zero.  Pass value to debug_end_function.
156377298Sobrien	(parse_stab_string): In case 'T', pass the name to
156477298Sobrien	parse_stab_type.
156577298Sobrien	(parse_stab_type): In case 'x', use stab_find_tagged_type.  In
156677298Sobrien	case '#', handle functions with variable numbers of arguments.
156777298Sobrien	(parse_stab_struct_type): Add tagname parameter.  Change all
156877298Sobrien	callers.
156977298Sobrien	(parse_stab_members): Add tagname and typenums parameters.  Change
157077298Sobrien	all callers.  If the type of a method is a stub, call
157177298Sobrien	parse_stab_argtypes to demangle the argument types and get the
157277298Sobrien	physical name of the function.
157377298Sobrien	(parse_stab_argtypes): New static function.
157477298Sobrien	(stab_record_variable): For a DEBUG_GLOBAL or DEBUG_STATIC
157577298Sobrien	variable, call debug_record_variable immediately.
157677298Sobrien	(stab_find_tagged_type): New static function.
157777298Sobrien
157877298Sobrien	* debug.h (enum debug_type_kind): Add DEBUG_KIND_ILLEGAL.
157977298Sobrien	(struct debug_write_fns): Add field ellipsis_type.  Add id
158077298Sobrien	parameter to start_struct_type, start_class_type, and tag_type.
158177298Sobrien	(debug_make_ellipsis_type): Declare.
158277298Sobrien	(debug_find_named_type): Declare.
158377298Sobrien	(debug_get_type_kind): Declare.
158477298Sobrien	(debug_get_return_type): Declare.
158577298Sobrien	(debug_get_parameter_types): Declare.
158677298Sobrien	(debug_get_fields): Declare.
158777298Sobrien	(debug_get_field_type): Declare.
158877298Sobrien	* debug.c (struct debug_handle): Add fields class_id and base_id.
158977298Sobrien	(struct debug_class_type): Add field id.
159077298Sobrien	(struct debug_method_variant): Rename argtypes to physname.
159177298Sobrien	Change all uses.
159277298Sobrien	(debug_ellipsis_type): New static variable.
159377298Sobrien	(ELLIPSIS_P): New macro.
159477298Sobrien	(debug_make_ellipsis_type): New function.
159577298Sobrien	(debug_make_method_variant): Rename argtypes to physname.
159677298Sobrien	(debug_make_static_method_variant): Likewise.
159777298Sobrien	(debug_name_type): Always put types in the global namespace.
159877298Sobrien	(debug_find_named_type): New function.
159977298Sobrien	(debug_find_tagged_type): Treat DEBUG_KIND_ILLEGAL specially,
160077298Sobrien	rather than DEBUG_KIND_VOID.
160177298Sobrien	(debug_get_real_type): New static function.
160277298Sobrien	(debug_get_type_kind): New function.
160377298Sobrien	(debug_get_return_type): New function.
160477298Sobrien	(debug_get_parameter_types): New function.
160577298Sobrien	(debug_get_fields): New function.
160677298Sobrien	(debug_get_field_type): New function.
160777298Sobrien	(debug_write): Initialize base_id.
160877298Sobrien	(debug_write_type): Pass new id argument to tag_type.  Handle
160977298Sobrien	DEBUG_KIND_ILLEGAL.  Use id for	DEBUG_KIND_STRUCT and
161077298Sobrien	DEBUG_KIND_UNION.  Handle ellipsis for method arguments.
161177298Sobrien	(debug_write_class_type): Don't dereference kclass if it is NULL.
161277298Sobrien	Use id.
161377298Sobrien	* prdbg.c (pr_fns): Add pr_ellipsis_type.
161477298Sobrien	(pr_ellipsis_type): New static function.
161577298Sobrien	(pr_pointer_type): If this is a pointer to an array, parenthesize
161677298Sobrien	it correctly.
161777298Sobrien	(pr_start_struct_type): Add id parameter.
161877298Sobrien	(pr_start_class_type): Likewise.
161977298Sobrien	(pr_tag_type): Likewise.
162077298Sobrien	(pr_fix_visibility): Add the visibility to the top of the stack,
162177298Sobrien	not the second element on the stack.
162277298Sobrien	(pr_struct_field): Pop the stack before calling pr_fix_visibility.
162377298Sobrien	(pr_class_static_member): Likewise.
162477298Sobrien	(pr_class_start_method): Don't push a type, just set the method
162577298Sobrien	name in the type on the top of the stack.
162677298Sobrien	(pr_class_end_method): Don't pop the stack.
162777298Sobrien	(pr_class_method_variant): Rename argtypes parameter to physname.
162877298Sobrien	Append const and volatile rather than prepending them.  Add a
162977298Sobrien	space after the physname.
163077298Sobrien	(pr_class_static_method_variant): Likewise.
163177298Sobrien	* ieee.c (ieee_fns): Add ieee_ellipsis_type.
163277298Sobrien	(ieee_define_named_type): Use DEBUG_KIND_ILLEGAL rather than
163377298Sobrien	DEBUG_KIND_VOID.
163477298Sobrien	(write_ieee_debugging_info): Likewise.
163577298Sobrien	(ieee_typdef): Likewise.
163677298Sobrien	(ieee_ellipsis_type): New static function.
163777298Sobrien	(ieee_start_struct_type): Add id parameter.
163877298Sobrien	(ieee_start_class_type): Likewise.
163977298Sobrien	(ieee_tag_type): Likewise.
164077298Sobrien	(ieee_class_method_variant): Rename name to physname.
164177298Sobrien	(ieee_class_static_method_variant): Likewise.
164277298Sobrien
164377298Sobrien	* Makefile.in (DEBUG_OBJS): Remove prdbg.o.
164477298Sobrien	($(OBJDUMP_PROG)): Depend upon, and link against, prdbg.o.
164577298Sobrien
164677298SobrienThu Jan 18 17:35:06 1996  Kim Knuttila  <krk@cygnus.com>
164777298Sobrien
164877298Sobrien	* dlltool.c (make_tail): Changed the order of the sections to avoid
164977298Sobrien	an alignment problem.
165077298Sobrien
165177298SobrienWed Jan 17 14:23:00 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
165277298Sobrien
165377298Sobrien	* srconv.c (wr_du): Set du.stackfrmt to 0.
165477298Sobrien	(wr_un, wr_sc): Emit all sections, even those with 0 size.
165577298Sobrien
165677298SobrienTue Jan 16 16:15:49 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
165777298Sobrien
165877298Sobrien	* srconv.c (wr_hd): Space size within segment was being
165977298Sobrien	stored in segment identifier field.
166077298Sobrien
166177298SobrienTue Jan 16 12:07:25 1996  Stan Shebs  <shebs@andros.cygnus.com>
166277298Sobrien
166377298Sobrien	* mpw-config.in (BUILD_NLMCONV, BUILD_SRCONV, SYSINFO_PROG,
166477298Sobrien	BUILD_DLLTOOL): Put definitions for these into makefile when
166577298Sobrien	configuring, instead of always clearing in mpw-make.sed.
166677298Sobrien	* mpw-make.sed: Edit out any host_alias or target_alias settings,
166777298Sobrien	fix pathname to BFD internal include files, remove dependency
166877298Sobrien	calculation rules.
166977298Sobrien
167077298SobrienThu Jan 11 17:31:38 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
167177298Sobrien
167277298Sobrien	* objdump.c (dump_section_header): Add new section flags
167377298Sobrien	SEC_{EXCLUDE,SORT_ENTRIES}.
167477298Sobrien
167577298SobrienThu Jan 11 11:45:34 1996  Ian Lance Taylor  <ian@cygnus.com>
167677298Sobrien
167777298Sobrien	* objcopy.c (filter_symbols): NULL terminate the output symbols.
167877298Sobrien	(copy_object): Allocate space for a possible extra NULL pointer.
167977298Sobrien
168077298Sobrien	* debug.c (debug_make_undefined_tagged_type): Make sure we are
168177298Sobrien	given a kind of type we can handle.
168277298Sobrien	(debug_write_type): Handle undefined enums and structs.
168377298Sobrien	(debug_write_class_type): Handle undefined classes.
168477298Sobrien	* prdbg.c (pr_enum_type): Handle an undefined enum.
168577298Sobrien	* ieee.c (ieee_enum_type): Likewise.
168677298Sobrien
168777298SobrienWed Jan 10 15:33:18 1996  Ian Lance Taylor  <ian@cygnus.com>
168877298Sobrien
168977298Sobrien	* Makefile.in: Updated dependencies.
169077298Sobrien	(ALLOCA, MALLOC): Remove variables.
169177298Sobrien	(ADDL_LIBS): Remove $(MALLOC) from definition.
169277298Sobrien	* alloca.c, gmalloc.c: Remove.
169377298Sobrien
169477298SobrienMon Jan  8 18:02:29 1996  Ian Lance Taylor  <ian@cygnus.com>
169577298Sobrien
169677298Sobrien	* ieee.c: Add global function write_ieee_debugging_info and a
169777298Sobrien	bunch of static functions and structs used to write out IEEE
169877298Sobrien	debugging information.
169977298Sobrien	* budbg.h (write_ieee_debugging_info): Declare.
170077298Sobrien
170177298Sobrien	* ieee.c (struct ieee_type): Add pslot field.
170277298Sobrien	(enum builtin_types): Define.
170377298Sobrien	(ieee_builtin_type): For a pointer, return a pointer to the named
170477298Sobrien	type.  Use enum values rather than numbers.
170577298Sobrien	(ieee_alloc_type): New static function.
170677298Sobrien	(ieee_read_type_index): Use ieee_alloc_type.
170777298Sobrien	(parse_ieee_bb): Likewise.
170877298Sobrien	(parse_ieee_ty): Likewise.  Use ieee_builtin_type for array range,
170977298Sobrien	rather than making a new integer type.  Store the new type in the
171077298Sobrien	slot, if there is one.
171177298Sobrien	(parse_ieee_atn): Treat ATN10 as defining a register variable.
171277298Sobrien	(ieee_regno_to_genreg): Rename from ieee_regno_to_gen.  Change all
171377298Sobrien	callers.
171477298Sobrien	(ieee_genreg_to_regno): New static function.
171577298Sobrien
171677298Sobrien	* stabs.c (parse_stab_type): Add new typename parameter.  Change
171777298Sobrien	all callers.
171877298Sobrien	(parse_stab_range_type): Add new typename parameter.  Change all
171977298Sobrien	callers.
172077298Sobrien
172177298Sobrien	* debug.h (struct debug_write_fns): Add tag parameter to
172277298Sobrien	enum_type, start_struct_type, and start_class_type.
172377298Sobrien	* debug.c (debug_write_type): Pass any tag name to
172477298Sobrien	start_struct_type, debug_write_class_type, and enum_type.  If
172577298Sobrien	DEBUG_KIND_TAGGED, pass the name in the recursive call.
172677298Sobrien	(debug_write_class_type): Accept a new tag parameter, and pass it
172777298Sobrien	to start_class_type.
172877298Sobrien	* prdbg.c (pop_type): Don't remove '+' character.
172977298Sobrien	(pr_enum_type): Accept and use tag parameter.
173077298Sobrien	(pr_start_struct_type): Likewise.
173177298Sobrien	(pr_start_class_type): Likewise.
173277298Sobrien	(pr_class_baseclass): Adjust algorithm used to find where to put
173377298Sobrien	the baseclass name.
173477298Sobrien	(pr_tag): Don't bother to insert the tag name.
173577298Sobrien
173677298Sobrien	* objcopy.c: Include budbg.h.
173777298Sobrien	(convert_debugging): New static variable.
173877298Sobrien	(OPTION_DEBUGGING): Define.
173977298Sobrien	(copy_options): Add "debugging".
174077298Sobrien	(copy_usage): Mention --debugging.
174177298Sobrien	(is_strip_section): Skip debugging sections if convert_debugging.
174277298Sobrien	(setup_section, copy_section): Likewise.
174377298Sobrien	(filter_symbols): Skip debugging symbols if convert_debugging.
174477298Sobrien	(copy_object): If convert_debugging, read and write debugging
174577298Sobrien	information.
174677298Sobrien	(write_debugging_info): New static function.
174777298Sobrien	(copy_main): Handle --debugging.
174877298Sobrien	* Makefile.in (DEBUG_OBJS): New variable.
174977298Sobrien	($(OBJCOPY_PROG)): Depend upon and link against $(DEBUG_OBJS).
175077298Sobrien	($(STRIP_PROG)): Likewise.
175177298Sobrien	(OBJDUMP_OBJS): Remove variable.
175277298Sobrien	($(OBJDUMP_PROG)): Use objdump.o $(DEBUG_OBJS) rather than
175377298Sobrien	$(OBJDUMP_OBJS).
175477298Sobrien	* binutils.texi, objcopy.1: Document --debugging.
175577298Sobrien
175677298SobrienThu Jan  4 16:31:21 1996  Ian Lance Taylor  <ian@cygnus.com>
175777298Sobrien
175877298Sobrien	* ieee.c: New file with code to read IEEE debugging information.
175977298Sobrien	* budbg.h (parse_ieee): Declare.
176077298Sobrien	* rddbg.c (read_debugging_info): Handle IEEE flavour files.
176177298Sobrien	(read_ieee_debugging_info): New static function.
176277298Sobrien	* Makefile.in: Rebuild dependencies.
176377298Sobrien	(CFILES): Add ieee.c.
176477298Sobrien	(OBJDUMP_OBJS): Add ieee.o.
176577298Sobrien
176677298Sobrien	* bucomm.h (xrealloc): Change type of first parameter from char *
176777298Sobrien	to PTR.
176877298Sobrien
176977298SobrienTue Jan  2 17:44:07 1996  Ian Lance Taylor  <ian@cygnus.com>
177077298Sobrien
177177298Sobrien	* Makefile.in: Add targets to automatically rebuild dependencies.
177277298Sobrien	Remove targets which just listed dependencies of .o files.
177377298Sobrien	(DEP): New variable.
177477298Sobrien	(HFILES, GENERATED_HFILES): New variables.
177577298Sobrien	(CFILES, GENERATED_CFILES): New variables.
177677298Sobrien	(underscore.c): Don't do anything, just depend upon stamp-under.
177777298Sobrien	(stamp-under): New target; do what underscore.c used to do.
177877298Sobrien	(nlmconv.o): Depend upon sym.h and ecoff.h.
177977298Sobrien	(.dep, .dep1, dep.sed, dep, dep-in): New targets.
178077298Sobrien	(stage1, stage2, stage3, against, comparison): Remove.
178177298Sobrien	(de-stage1, de-stage2, de-stage3): Remove.
178277298Sobrien	(clean, distclean): Remove stamp-under and dep.sed.
178377298Sobrien	* dep-in.sed: New file.
178477298Sobrien
178577298Sobrien	Implement generic debugging support.  Implement a stabs reader and
178677298Sobrien	a generic printer.
178777298Sobrien	* budbg.h, debug.c, debug.h, prdbg.c, rddbg.c, stabs.c: New files.
178877298Sobrien	* objdump.c: Include "debug.h" and "budbg.h".
178977298Sobrien	(dump_debugging): New global variable.
179077298Sobrien	(usage): Mention --debugging.
179177298Sobrien	(long_options): Add "debugging".
179277298Sobrien	(display_bfd): Handle --debugging.
179377298Sobrien	* Makefile.in (OBJDUMP_OBJS): New variable.
179477298Sobrien	($(OBJDUMP_PROG)): Use $(OBJDUMP_OBJS).
179577298Sobrien	* binutils.texi, objdump.1: Document --debugging.
179677298Sobrien
179777298SobrienSat Dec 30 09:59:51 1995  Jeffrey A Law  (law@cygnus.com)
179877298Sobrien
179977298Sobrien	* nm.c ( long_options): Add "--defined-only" option.
180077298Sobrien	(usage): Update for new "--defined-only" option.
180177298Sobrien	(filter_symbols): Handle "--defined-only".
180277298Sobrien
180377298SobrienFri Dec 29 16:04:56 1995  Ian Lance Taylor  <ian@cygnus.com>
180477298Sobrien
180577298Sobrien	* arparse.y: Include "bucomm.h", not <sysdep.h>.
180677298Sobrien	* nlmheader.y: Don't include "sysdep.h".
180777298Sobrien
180877298SobrienTue Dec 26 18:23:18 1995  Ian Lance Taylor  <ian@cygnus.com>
180977298Sobrien
181077298Sobrien	* nm.c (print_symdef_entry): Check return value of
181177298Sobrien	bfd_get_elt_at_index.
181277298Sobrien
181377298SobrienSat Dec 23 11:03:16 1995  Michael Meissner  <meissner@tiktok.cgynsu.com>
181477298Sobrien
181577298Sobrien	* configure.in (DLLTOOL_DEFS): Build dlltool for PowerPC if target
181677298Sobrien	is powerpc*-*-win* in addition to powerpc*-*-*pe*.
181777298Sobrien
181877298SobrienFri Dec 15 16:30:57 1995  Ian Lance Taylor  <ian@cygnus.com>
181977298Sobrien
182077298Sobrien	* objdump.c (endian_string): New static function.
182177298Sobrien	(display_target_list): Use it.
182277298Sobrien	* nlmconv.c (main): Use new bfd_big_endian macro.
182377298Sobrien
182477298SobrienFri Dec 15 07:51:34 1995  steve chamberlain  <sac@slash.cygnus.com>
182577298Sobrien
182677298Sobrien	* dlltool.c (fill_ordinals): Start from 1 if no other instructions
182777298Sobrien 	given.
182877298Sobrien
182977298SobrienTue Dec 12 12:05:21 1995  Ian Lance Taylor  <ian@cygnus.com>
183077298Sobrien
183177298Sobrien	* Makefile.in (clean): Remove $(DEMANGLER_PROG).1.  From Ronald
183277298Sobrien	F. Guilmette <rfg@monkeys.com>.
183377298Sobrien
183477298SobrienMon Dec 11 14:33:05 1995  Stan Shebs  <shebs@andros.cygnus.com>
183577298Sobrien
183677298Sobrien	* mac-binutils.r: Fix copyright and version strings.
183777298Sobrien
183877298Sobrien	* Makefile.in (version): Remove, no longer used.
183977298Sobrien
184077298SobrienFri Dec  1 14:41:56 1995  Stan Shebs  <shebs@andros.cygnus.com>
184177298Sobrien
184277298Sobrien	* mpw-make.sed (install, install-only): Edit in Mac-specific
184377298Sobrien	install procedure.
184477298Sobrien
184577298SobrienThu Nov 30 20:26:02 1995  Kim Knuttila  <krk@cygnus.com>
184677298Sobrien
184777298Sobrien	* dlltool.c (ppc_jtab): The binary glue for PowerPC dll linkage,
184877298Sobrien	including the return instruction.
184977298Sobrien	sinfo: added a preferred alignment field.
185077298Sobrien	(secdata): section data for the PowerPC version.
185177298Sobrien	(make_one_lib_file): More symbols, More sections (pdata, rdata)
185277298Sobrien	(make_tail): Use idata$6 instead of idata$7 for ppc. Also added a
185377298Sobrien	NULL idata$3 descriptor (temporary).
185477298Sobrien
185577298SobrienTue Nov 28 17:23:44 1995  Doug Evans  <dje@canuck.cygnus.com>
185677298Sobrien
185777298Sobrien	* dlltool.c (fill_ordinals): Don't reference d_export_vec if
185877298Sobrien	there are no exported functions.
185977298Sobrien
186077298SobrienMon Nov 27 13:05:59 1995  Ian Lance Taylor  <ian@cygnus.com>
186177298Sobrien
186277298Sobrien	* configure: Regenerate with autoconf 2.7.
186377298Sobrien
186477298SobrienWed Nov 22 13:17:15 1995  Ian Lance Taylor  <ian@cygnus.com>
186577298Sobrien
186677298Sobrien	* dlltool.c (fill_ordinals): Start assigning ordinals at 1.
186777298Sobrien
186877298Sobrien	* Makefile.in (EXPECT): Use $$r, not $${rootme}.
186977298Sobrien	(check): Set r, not rootme.
187077298Sobrien
187177298SobrienTue Nov 21 18:04:09 1995  Ian Lance Taylor  <ian@cygnus.com>
187277298Sobrien
187377298Sobrien	* configure.in: Use BFD_NEED_DECLARATION.
187477298Sobrien	* acconfig.h: Put NEED_DECLARATION_FPRINTF in @TOP@ section.
187577298Sobrien	* configure, config.in: Rebuild with autoconf 2.6.
187677298Sobrien
187777298SobrienFri Nov 17 10:34:37 1995  Ian Lance Taylor  <ian@cygnus.com>
187877298Sobrien
187977298Sobrien	* Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not
188077298Sobrien	$(host_canonical) and $(target_canonical).
188177298Sobrien
188277298SobrienThu Nov 16 03:39:20 1995  Ken Raeburn  <raeburn@cygnus.com>
188377298Sobrien
188477298Sobrien	Version 2.6 released.
188577298Sobrien	* Makefile.in (VERSION): Update to 2.6.
188677298Sobrien
188777298SobrienWed Nov 15 12:14:17 1995  Ian Lance Taylor  <ian@cygnus.com>
188877298Sobrien
188977298Sobrien	* Makefile.in (CC_FOR_TARGET): Define.
189077298Sobrien	(check): Pass CC and CFLAGS to runtest.
189177298Sobrien
189277298Sobrien	* nm.c (display_rel_file): Don't require a DYNAMIC object when
189377298Sobrien	dumping the dynamic symbol table.
189477298Sobrien
189577298Sobrien	* objdump.c (compare_symbols): Sort global symbols before local
189677298Sobrien	symbols before debugging symbols.
189777298Sobrien	(objdump_print_address): Don't futz around looking for a global
189877298Sobrien	symbol with the same value.
189977298Sobrien
190077298SobrienTue Nov 14 17:19:11 1995  Ian Lance Taylor  <ian@cygnus.com>
190177298Sobrien
190277298Sobrien	* dlltool.c: Use FOPEN_* macros rather than "r" or "w".
190377298Sobrien
190477298Sobrien	* dlltool.c (fill_ordinals): Correct memset call.
190577298Sobrien
190677298SobrienSun Nov 12 12:56:05 1995  Stan Shebs  <shebs@andros.cygnus.com>
190777298Sobrien
190877298Sobrien	* mpw-make.sed (DEMANGLER_PROG): Edit out attempts to do anything
190977298Sobrien 	with the man page.
191077298Sobrien
191177298SobrienFri Nov 10 11:41:22 1995  Ian Lance Taylor  <ian@cygnus.com>
191277298Sobrien
191377298Sobrien	* objcopy.c (setup_section): Copy the section lma independently of
191477298Sobrien	the vma.
191577298Sobrien
191677298SobrienWed Nov  8 11:33:00 1995  Ian Lance Taylor  <ian@cygnus.com>
191777298Sobrien
191877298Sobrien	* arsup.c (ar_open): Cast malloc return value.
191977298Sobrien
192077298SobrienTue Nov  7 09:01:26 1995  Kim Knuttila  <krk@cygnus.com>
192177298Sobrien
192277298Sobrien	* configure.in, configure (DLLTOOL_DEFS): Added ppc target.
192377298Sobrien	* dlltool.c (MPPC): Added basic PPC definitions.
192477298Sobrien
192577298SobrienTue Nov  7 14:02:57 1995  Ian Lance Taylor  <ian@cygnus.com>
192677298Sobrien
192777298Sobrien	* configure.in: Don't treat rs6000-*-lynx* specially.
192877298Sobrien	* configure: Rebuild.
192977298Sobrien	* config/rslynx: Remove.
193077298Sobrien	* Makefile.in: Remove @target_makefile_fragment@.
193177298Sobrien
193277298SobrienMon Nov  6 15:00:50 1995  Ian Lance Taylor  <ian@cygnus.com>
193377298Sobrien
193477298Sobrien	* bucomm.h: Include <sys/types.h>.
193577298Sobrien	* ar.c: Don't include <sys/types.h> or <stdio.h>.
193677298Sobrien	* bucomm.c, dlltool.c, nlmconv.c, objcopy.c, objdump.c: Likewise.
193777298Sobrien
193877298SobrienFri Nov  3 12:38:09 1995  Ian Lance Taylor  <ian@cygnus.com>
193977298Sobrien
194077298Sobrien	* objdump.c: Include <sys/types.h>.
194177298Sobrien
194277298Sobrien	Permit user to override DEMANGLER_PROG from command line.  From
194377298Sobrien	Manfred Hollstein <manfred@lts.sel.alcatel.de>.
194477298Sobrien	* Makefile.in ($(DEMANGLER_PROG)): Depend upon
194577298Sobrien	$(DEMANGLER_PROG).1.
194677298Sobrien	(install): Don't depend upon $(DEMANGLER_PROG).1.  Only install
194777298Sobrien	$(DEMANGLER_PROG).1 if $(DEMANGLER_PROG) is not empty.
194877298Sobrien
194977298SobrienWed Nov  1 15:04:57 1995  Manfred Hollstein KS/EF4A 60/1F/110 #40283  <manfred@lts.sel.alcatel.de>
195077298Sobrien
195177298Sobrien	* Makefile.in (syslex.o): add -I$(srcdir) if compiling in a
195277298Sobrien	separate directory.
195377298Sobrien
195477298SobrienMon Oct 30 14:24:18 1995  Ian Lance Taylor  <ian@cygnus.com>
195577298Sobrien
195677298Sobrien	* objdump.c (objdump_print_value): New static function.
195777298Sobrien	(objdump_print_address): Use it.  If we need the right section for
195877298Sobrien	the symbol, and we can't find it, print an offset from the section
195977298Sobrien	rather than using a symbol from some other section.
196077298Sobrien
196177298SobrienThu Oct 26 10:23:14 1995  steve chamberlain  <sac@slash.cygnus.com>
196277298Sobrien
196377298Sobrien	* dlltool.c (no_idata4, no_idata5): New.
196477298Sobrien	(arm_jtab): Use correct encoding of jump instruction.
196577298Sobrien	(usage, main, make_head, make_tail): Act on no_idata4, no_idata5.
196677298Sobrien
196777298SobrienWed Oct 25 12:10:07 1995  Stan Shebs  <shebs@andros.cygnus.com>
196877298Sobrien
196977298Sobrien	* mpw-make.sed: Edit paths to generated y.tab.[ch] files.
197077298Sobrien
197177298SobrienFri Oct 20 18:40:34 1995  Ian Lance Taylor  <ian@cygnus.com>
197277298Sobrien
197377298Sobrien	* binutils.texi: Change --with-targets to --enable-targets.
197477298Sobrien
197577298SobrienThu Oct 19 17:47:41 1995  Fred Fish  <fnf@cygnus.com>
197677298Sobrien
197777298Sobrien	* Makefile.in:  Remove extraneous tab on otherwise empty line,
197877298Sobrien	which confuses many non-GNU versions of "make".
197977298Sobrien
198077298SobrienWed Oct 18 16:31:58 1995  steve chamberlain  <sac@slash.cygnus.com>
198177298Sobrien
198277298Sobrien	* dlltool.c (i386_jtab, arm_jtab): New
198377298Sobrien	(gen_lib_file): Rewritten to use bfd.
198477298Sobrien
198577298SobrienFri Oct 13 16:10:07 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
198677298Sobrien
198777298Sobrien	* Makefile.in (install): Don't give error message if dlltool
198877298Sobrien	wasn't built.
198977298Sobrien
199077298SobrienFri Oct 13 11:04:37 1995  steve chamberlain  <sac@slash.cygnus.com>
199177298Sobrien
199277298Sobrien	* deflex.l: Allow quoting of IDs.
199377298Sobrien	* defparse.y (%union): string deleted.
199477298Sobrien	(command): DESCRIPTION takes ID.
199577298Sobrien	* dlltool.c (gen_def_file): Quote outgoing name if
199677298Sobrien	necessary.  Preserve NONAME.
199777298Sobrien	(gen_lib_file): Run ranlib.
199877298Sobrien	(workout_prefix): Deleted.
199977298Sobrien	(main, usage, long_options): Add --as, --ranlib, --ar options.
200077298Sobrien
200177298SobrienWed Oct 11 13:36:13 1995  steve chamberlain  <sac@slash.cygnus.com>
200277298Sobrien
200377298Sobrien	* dlltool.c (mtable): HOW_ALIGN_LONG, new.
200477298Sobrien	(d_ord): Deleted.
200577298Sobrien	(d_low_ord, d_high_ord, d_named_funcs): New.
200677298Sobrien	(gen_exp_file): Create noname entries correctly.
200777298Sobrien	(gen_lib_file): Dump exports alphabetically.
200877298Sobrien	(process_duplicates):  Count nonamed functions.
200977298Sobrien	(fill_ordinals): Keep track of highest ord too.
201077298Sobrien	(mangle_defs): Create alphabetically ordered list of names.
201177298Sobrien
201277298SobrienTue Oct 10 09:39:09 1995  steve chamberlain  <sac@slash.cygnus.com>
201377298Sobrien
201477298Sobrien	* Makefile.in (TOOL_PROGS): Include DLLTOOL_PROG.
201577298Sobrien
201677298SobrienMon Oct  9 13:06:31 1995  steve chamberlain  <sac@slash.cygnus.com>
201777298Sobrien
201877298Sobrien	* dlltool.c (add_underscore): New.
201977298Sobrien	(xlate): Use new name.
202077298Sobrien	(main, usage): Update.
202177298Sobrien
202277298SobrienFri Oct  6 14:08:51 1995  Ken Raeburn  <raeburn@cygnus.com>
202377298Sobrien
202477298Sobrien	* sysinfo.y: Eliminate unused terminals "[" and "]" and unused
202577298Sobrien	nonterminal "name".  One s/r conflict remains.
202677298Sobrien
202777298Sobrien	Mon Sep 25 22:49:32 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
202877298Sobrien
202977298Sobrien	* nm.c (print_symname): Don't try to demangle an empty
203077298Sobrien	name.
203177298Sobrien	* objdump.c (slurp_symtab): Reset symcount if there are
203277298Sobrien	no symbols.
203377298Sobrien	(slurp_dynamic_symtab): Likewise, for dynsymcount.
203477298Sobrien	(disassemble_data): Fix memory leak: free sorted_syms when done.
203577298Sobrien	(display_bfd): Likewise, for syms and dynsyms.
203677298Sobrien	(dump_relocs): Don't print header before possibly generating an
203777298Sobrien	error message.
203877298Sobrien	(dump_dynamic_relocs): Likewise.
203977298Sobrien
204077298Sobrien	* ar.1, nm.1, objdump.1, size.1, strings.1, strip.1: Fix typos and
204177298Sobrien	formatting bugs.
204277298Sobrien
204377298SobrienFri Oct  6 12:00:25 1995  Ian Lance Taylor  <ian@cygnus.com>
204477298Sobrien
204577298Sobrien	* ar.c (do_quick_append): Comment out.
204677298Sobrien	(replace_members): Add quick argument.
204777298Sobrien	(main): Don't call do_quick_append.
204877298Sobrien	(open_inarch): Don't call quick_append to create an empty archive.
204977298Sobrien	Instead call bfd_openw/bfd_set_format/bfd_close.
205077298Sobrien
205177298SobrienThu Oct  5 20:53:08 1995  Ken Raeburn  <raeburn@cygnus.com>
205277298Sobrien
205377298Sobrien	* bucomm.c: Always include time.h.
205477298Sobrien
205577298SobrienThu Oct  5 17:25:21 1995  Ian Lance Taylor  <ian@cygnus.com>
205677298Sobrien
205777298Sobrien	* objdump.c (compare_symbols): Sort gnu_compiled and gcc2_compiled
205877298Sobrien	symbols after other symbols with the same value.  Likewise for
205977298Sobrien	symbols which look like file names.
206077298Sobrien	(objdump_print_address): Always chose the first reasonable symbol
206177298Sobrien	with a given value.
206277298Sobrien
206377298SobrienTue Oct  3 22:38:55 1995  Ian Lance Taylor  <ian@cygnus.com>
206477298Sobrien
206577298Sobrien	* arsup.c (ar_save): Use rename, not unlink/link/unlink.
206677298Sobrien
206777298SobrienMon Oct  2 12:10:25 1995  Ian Lance Taylor  <ian@cygnus.com>
206877298Sobrien
206977298Sobrien	* strings.c (main): Exit with zero status if no files are given
207077298Sobrien	and standard input is read.
207177298Sobrien
207277298SobrienThu Sep 28 20:03:07 1995  Stan Shebs  <shebs@andros.cygnus.com>
207377298Sobrien
207477298Sobrien	* mpw-config.in: Calculate underscore and put into makefile
207577298Sobrien	fragment, generate config.h.
207677298Sobrien	* mpw-make.sed: New file, sed commands to edit Unix makefile
207777298Sobrien	into MPW syntax.
207877298Sobrien	* mpw-make.in: Remove.
207977298Sobrien	* mac-binutils.r: New file, Mac resources.
208077298Sobrien
208177298SobrienThu Sep 28 15:49:00 1995  steve chamberlain  <sac@slash.cygnus.com>
208277298Sobrien
208377298Sobrien	* dlltool.c: (gen_exp_file): Always emit a .reloc section if
208477298Sobrien	relocatable.
208577298Sobrien	(imp_name_lab): New.
208677298Sobrien	(gen_def_file): New.
208777298Sobrien	(gen_lib_file): Use imp_name_lab.
208877298Sobrien	(main): Initialize imp_name_lab.
208977298Sobrien
209077298SobrienMon Sep 25 12:05:34 1995  Ian Lance Taylor  <ian@cygnus.com>
209177298Sobrien
209277298Sobrien	* configure.in: Call AC_HEADER_SYS_WAIT.
209377298Sobrien	* configure: Rebuild.
209477298Sobrien	* config.in: Rebuild.
209577298Sobrien	* dlltool.c: Include "libiberty.h" and "bucomm.h".  Don't include
209677298Sobrien	<stdio.h>, <stdlib.h>, or <string.h>.  Don't include <wait.h>.
209777298Sobrien	Include <sys/types.h>.  Use HAVE_SYS_WAIT_H to control whether to
209877298Sobrien	include <sys/wait.h> or define the wait macros by hand.  Don't
209977298Sobrien	declare xmalloc.
210077298Sobrien	(gen_lib_file): Don't assume that sprintf returns the number of
210177298Sobrien	characters; use strlen instead.
210277298Sobrien
210377298SobrienFri Sep 22 17:16:41 1995  Ian Lance Taylor  <ian@cygnus.com>
210477298Sobrien
210577298Sobrien	* objdump.c (disassemble_data): Don't use the old BFD based
210677298Sobrien	disassembler interface.  Make info a const pointer.
210777298Sobrien
210877298SobrienWed Sep 13 18:33:44 1995  Ian Lance Taylor  <ian@cygnus.com>
210977298Sobrien
211077298Sobrien	* objdump.c (start_address): New variable.
211177298Sobrien	(stop_address): New variable.
211277298Sobrien	(usage): Mention --start-address and --stop-address.
211377298Sobrien	(OPTION_START_ADDRESS, OPTION_STOP_ADDRESS): Define.
211477298Sobrien	(long_options): Add "start-address" and "stop-address".
211577298Sobrien	(disassemble_data): Handle start_address and stop_address.
211677298Sobrien	(dump_data, dump_reloc_set): Likewise.
211777298Sobrien	(main): Don't set seenflag for -l.  Handle OPTION_START_ADDRESS
211877298Sobrien	and OPTION_STOP_ADDRESS.
211977298Sobrien	* objcopy.c (parse_vma): Move to bucomm.c.
212077298Sobrien	* bucomm.c (parse_vma): New function, moved in from objcopy.c.
212177298Sobrien	* bucomm.h (parse_vma): Declare.
212277298Sobrien	* binutils.texi, objdump.1: Document new objdump options.
212377298Sobrien
212477298SobrienTue Sep 12 12:37:39 1995  Ian Lance Taylor  <ian@cygnus.com>
212577298Sobrien
212677298Sobrien	* Makefile.in (maintainer-clean): New target.
212777298Sobrien
212877298Sobrien	* ar.c (replace_members): Don't call write_archive if nothing
212977298Sobrien	changed.
213077298Sobrien
213177298Sobrien	* objdump.c (disassemble_data): Add casts to avoid gcc warnings.
213277298Sobrien
213377298SobrienThu Sep  7 12:12:17 1995  Ian Lance Taylor  <ian@cygnus.com>
213477298Sobrien
213577298Sobrien	* config.in: Rename from config.h.in.
213677298Sobrien	* configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
213777298Sobrien	Check for config.h:config.in when creating stamp-h.
213877298Sobrien	* configure: Rebuild.
213977298Sobrien	* Makefile.in (stamp-h): Depend upon config.in rather than
214077298Sobrien	config.h.in.  Set CONFIG_HEADERS to config.h:config.in when
214177298Sobrien	calling config.status.
214277298Sobrien
214377298Sobrien	* Makefile.in (distclean): Remove config.h, stamp-h, and
214477298Sobrien        config.log.
214577298Sobrien
214677298Sobrien	* nm.c (value_format): Initialize based on BFD64 and
214777298Sobrien	BFD_HOST_64BIT_LONG.
214877298Sobrien	(print_radix): New static variable.
214977298Sobrien	(set_print_radix): Set print_radix.  Adjust changes to
215077298Sobrien	value_format.
215177298Sobrien	(print_value): New static function, to print 64 bit octal and
215277298Sobrien	decimal values correctly.
215377298Sobrien	(print_symbol_info_bsd): Check BFD64, not BFD_HOST_64_BIT.  Use
215477298Sobrien	print_value.
215577298Sobrien	(print_symbol_info_sysv): Use print_value.
215677298Sobrien	(print_symbol_info_posix): Likewise.
215777298Sobrien
215877298SobrienWed Sep  6 15:02:55 1995  Ian Lance Taylor  <ian@cygnus.com>
215977298Sobrien
216077298Sobrien	* Makefile.in (*.o): Remove incorrect dependencies on
216177298Sobrien	$(BFDDIR)/hosts/std-host.h.
216277298Sobrien
216377298Sobrien	* Makefile.in (INSTALL_DATA): Add -m 644.
216477298Sobrien	(INSTALL_XFORM1): Likewise.
216577298Sobrien	(CC_FOR_BUILD): Set to @CC_FOR_BUILD@ rather than $(CC).
216677298Sobrien	(mostlyclean): Remove config.log.
216777298Sobrien	(distclean): Remove config.cache.
216877298Sobrien
216977298Sobrien	* configure.in: Call BFD_CC_FOR_BUILD and BFD_BINARY_FOPEN.
217077298Sobrien	* configure: Rebuild.
217177298Sobrien
217277298SobrienTue Sep  5 20:22:42 1995  Ian Lance Taylor  <ian@cygnus.com>
217377298Sobrien
217477298Sobrien	* configure.in: Rewrite to use autoconf.
217577298Sobrien	* aclocal.m4: New file.
217677298Sobrien	* configure: New file, built by autoconf.
217777298Sobrien	* acconfig.h: New file.
217877298Sobrien	* config.h.in: New file, built by autoheader.
217977298Sobrien	* Makefile.in: Various changes for new configure script.  Also:
218077298Sobrien	(PROGS): Remove $(SYSINFO_PROG).
218177298Sobrien	(ALL_CFLAGS): Remove $(TDEFINES).
218277298Sobrien	(version.o): Use $(ALL_CFLAGS).
218377298Sobrien	(cplus-dem.o, dlltool.o, nlmconv.o): Likewise.
218477298Sobrien	(sysdump.o): Depend upon bucomm.h and config.h.
218577298Sobrien	(srconv.o, arsup.o, strings.o): Depend upon config.h.
218677298Sobrien	(filemode.o): Don't depend upon ../bfd/sysdep.h.
218777298Sobrien	(bucomm.o): Depend upon config.h, not ../bfd/sysdep.h.
218877298Sobrien	(size.o, objdump.o, nm.o, ar.o, objcopy.o): Likewise.
218977298Sobrien	(nlmheader.o, nlmconv.o): Likewise.
219077298Sobrien	(distclean): Don't remove sysdep.h.
219177298Sobrien	* bucomm.h: Include "ansidecl.h", <stdio.h>, and "config.h".
219277298Sobrien  	Include "fopen-same.h" or "fopen-bin.h", based on
219377298Sobrien 	USE_BINARY_FOPEN.  Include <errno.h>, and declare errno if it is
219477298Sobrien 	not a macro.  Include <unistd.h>, <string.h>, <strings.h>,
219577298Sobrien 	<stdlib.h>, and <fcntl.h> if they are present.  Declare strchr,
219677298Sobrien 	strrchr, and strstr if no string header file exists.  Include
219777298Sobrien	<sys/file.h> if it exists and <fcntl.h> does not.  Define
219877298Sobrien	O_RDONLY and O_RDWR if necessary.
219977298Sobrien	* ar.c:  Don't include "sysdep.h".  Do include <sys/types.h> and
220077298Sobrien	<sys/stat.h>.  Use HAVE_GOOD_UTIME_H rather than POSIX_UTIME.  Use
220177298Sobrien	HAVE_UTIMES rather than !USE_UTIME.  Don't include <errno.h>, and
220277298Sobrien	don't declare errno.
220377298Sobrien	* arsup.c: Don't include <sysdep.h>.
220477298Sobrien	* bucomm.c: Don't include "sysdep.h".  Include <stdio.h>,
220577298Sobrien	<sys/types.h>, and <sys/stat.h>.  Include <time.h> if it defines
220677298Sobrien	time_t.  Define time_t if necessary.
220777298Sobrien	* coffdump.c: Don't include "sysdep.h".
220877298Sobrien	* coffgrok.c, filemode.c, nlmconv.c, size.c: Likewise.
220977298Sobrien	* srconv.c, strings.c: Likewise.
221077298Sobrien	* nm.c: Don't include "sysdep.h".  Don't try to define HAVE_SBRK.
221177298Sobrien	* objcopy.c: Don't include "sysdep.h".  Include <sys/types.h> and
221277298Sobrien	<sys/stat.h>.
221377298Sobrien	(simple_copy): Use creat rather than assuming that O_CREAT is
221477298Sobrien	defined.
221577298Sobrien	* objdump.c: Don't include "sysdep.h".  Use
221677298Sobrien	NEED_DECLARATION_PRINTF rather than !FPRINTF_ALREADY_DECLARED.
221777298Sobrien	* sysdump.c: Include "bfd.h" and "bucomm.h".  Don't include
221877298Sobrien	"sysdep.h" or <stdlib.h>.
221977298Sobrien	(dump_symbol_info): Rename from symbol_info.  Change all callers.
222077298Sobrien
222177298SobrienMon Sep  4 14:30:00 1995  Ian Lance Taylor  <ian@cygnus.com>
222277298Sobrien
222377298Sobrien	* configure.in (host_makefile_frag): Don't set.  Substitute for
222477298Sobrien	@CC@, @CFLAGS@, @HDEFINES@ and @LDFLAGS@ in Makefile.
222577298Sobrien	* Makefile.in (AR_FLAGS): Set to rc rather than qv.
222677298Sobrien	(CC): Define as @CC@.
222777298Sobrien	(CFLAGS): Set to @CFLAGS@.
222877298Sobrien	(LDFLAGS): Define as @LDFLAGS@.
222977298Sobrien	(ALL_CFLAGS): Use @HDEFINES@ rather than $(HDEFINES).
223077298Sobrien
223177298Sobrien	* configure.in: Don't bother to call config.bfd for each target.
223277298Sobrien	Just call it for the default target, and use the shell variable to
223377298Sobrien	decide whether underscores are used.
223477298Sobrien
223577298SobrienThu Aug 31 19:21:48 1995  Jason Molenda    (crash@phydeaux.cygnus.com)
223677298Sobrien
223777298Sobrien	* configure.in: match i[3-6]86-*-win32, not just i386-*-win32.
223877298Sobrien
223977298SobrienThu Aug 31 16:30:22 1995  steve chamberlain  <sac@slash.cygnus.com>
224077298Sobrien
224177298Sobrien	* dlltool.c (add_indirect): New.
224277298Sobrien	(asm_prefix): New
224377298Sobrien	(gen_exp_file): Timestamp should be 0. Insert prefix when
224477298Sobrien	needed. New code for indirection.
224577298Sobrien	(gen_lib_file): Timestamp should be 0. Insert prefix
224677298Sobrien	when needed.
224777298Sobrien	(usage): Document --add-indirect.
224877298Sobrien	(main): Cope with new option.
224977298Sobrien
225077298Sobrien	* objdump.c (dump_private_headers): New.
225177298Sobrien	(usage): Document new option.
225277298Sobrien	(long_option): Add private-headers.
225377298Sobrien	(dump_bfd_private_header): New.
225477298Sobrien	(main): Cope with new option.
225577298Sobrien
225677298SobrienThu Aug 31 04:09:16 1995  Doug Evans  <dje@canuck.cygnus.com>
225777298Sobrien
225877298Sobrien	* dlltool.c (run): Add missing 3rd arg to waitpid.
225977298Sobrien
226077298SobrienWed Aug 30 11:02:11 1995  steve chamberlain  <sac@slash.cygnus.com>
226177298Sobrien
226277298Sobrien	* Makefile.in (TOOL_PROGS): Include dlltool if needed.
226377298Sobrien
226477298SobrienTue Aug 29 13:25:21 1995  steve chamberlain  <sac@slash.cygnus.com>
226577298Sobrien
226677298Sobrien	* dlltool.c (rva): Deleted.
226777298Sobrien	(rvaafter, rva_before): Use new assembler pseudo.
226877298Sobrien	(flush_page, gen_exp_file, gen_lib_file): Use new way of RVAing.
226977298Sobrien	(gen_exp_file): Don't generate .edata if no need.
227077298Sobrien	(gen_lib_file): Don't make timestamp.
227177298Sobrien	Put _iname in idata$7.
227277298Sobrien	(workout_prefix): Fix memory initialization bug.
227377298Sobrien	(usage): Tidy up, delete many single char options.
227477298Sobrien	(main): rva option is gone.
227577298Sobrien
227677298SobrienMon Aug 21 18:41:28 1995  steve chamberlain  <sac@slash.cygnus.com>
227777298Sobrien
227877298Sobrien	* dlltool.c (options): image-base is a synonym for rva.
227977298Sobrien	(gen_lib_file): Put dll name into ibase$7.
228077298Sobrien
228177298SobrienSun Aug 20 09:59:00 1995  steve chamberlain  <sac@slash.cygnus.com>
228277298Sobrien
228377298Sobrien	Modified to generate archives and objects rather than .s files.
228477298Sobrien	* dlltool.c (run) New function.
228577298Sobrien 	(gen_exp_file, gen_lib_file): Use run.
228677298Sobrien	(workout_prefix): New.
228777298Sobrien	(usage): Document new options.
228877298Sobrien	(main): Parse new options.
228977298Sobrien
229077298SobrienWed Aug 16 16:26:52 1995  steve chamberlain  <sac@slash.cygnus.com>
229177298Sobrien
229277298Sobrien	* dlltool.c (gen_exp_file): Fix RVA handling.
229377298Sobrien	(rva_s, rva_n): Delete.
229477298Sobrien
229577298SobrienFri Aug 11 18:27:18 1995  Ian Lance Taylor  <ian@cygnus.com>
229677298Sobrien
229777298Sobrien	* nm.c (main): Ignore -e.
229877298Sobrien
229977298SobrienThu Aug 10 17:35:00 1995  Ken Raeburn  <raeburn@cygnus.com>
230077298Sobrien
230177298Sobrien	* Makefile.in (config.texi): New target.  Write out a setting for
230277298Sobrien	texinfo variable VERSION.
230377298Sobrien	(binutils.dvi, binutils.info): Depend on it.
230477298Sobrien	* binutils.texi: Include it, and reference @value{VERSION} instead
230577298Sobrien	of explicitly specifying 2.2(!).
230677298Sobrien
230777298SobrienThu Aug 10 16:07:53 1995  Ian Lance Taylor  <ian@cygnus.com>
230877298Sobrien
230977298Sobrien	* coffgrok.c (do_type): Handle array dimensions the same way gdb
231077298Sobrien	does.
231177298Sobrien
231277298SobrienTue Aug  8 17:10:42 1995  steve chamberlain  <sac@slash.cygnus.com>
231377298Sobrien
231477298Sobrien	* dlltool.c (mtable): New fields.
231577298Sobrien	(ASM_RVA_BEFORE, ASM_RVA_AFTER): New.
231677298Sobrien	(flush_page): Use new macros.
231777298Sobrien
231877298SobrienSat Aug  5 00:16:37 1995  Jeff Law  (law@snake.cs.utah.edu)
231977298Sobrien
232077298Sobrien	* objcopy.c (mark_symbols_used_in_relocations): Handle sections
232177298Sobrien	with no relocations.
232277298Sobrien	* coffgrok.c (do_sections_p1): Likewise.
232377298Sobrien
232477298SobrienMon Jul 31 12:51:06 1995  Ian Lance Taylor  <ian@cygnus.com>
232577298Sobrien
232677298Sobrien	* strings.c (print_strings): For compatibility with existing
232777298Sobrien	strings programs, print strings which are not terminated with a
232877298Sobrien	null byte or a newline.
232977298Sobrien	* binutils.texi, strings.1: Update documentation accordingly.
233077298Sobrien
233177298Sobrien	* ar.c (replace_members): For compatibility with existing ar
233277298Sobrien	programs, permit users to add the same file multiple times.
233377298Sobrien
233477298SobrienTue Jul 25 11:21:53 1995  Ian Lance Taylor  <ian@cygnus.com>
233577298Sobrien
233677298Sobrien	* strings.c (DATA_FLAGS): Remove SEC_DATA.
233777298Sobrien	(main): If no file names are given, scan standard input.
233877298Sobrien	* binutils.texi, strings.1: strings now scans non-data sections by
233977298Sobrien	default.
234077298Sobrien
234177298SobrienMon Jul 24 13:52:28 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
234277298Sobrien
234377298Sobrien	* srconv.c (wr_hd): Set afl field to 4 for bfd_arch_sh.
234477298Sobrien	(writeINT): When size == -2, use 2 bytes for the h8300 and 4 bytes
234577298Sobrien	for the	sh.
234677298Sobrien
234777298Sobrien	* sysdump.c (fillup): Return size - 1, the last byte is a checksum
234877298Sobrien	and shouldn't be counted.
234977298Sobrien	* sysroff.info (hd): Changed segment identifier from a byte to a 1
235077298Sobrien	bit field.  The sysroff 2.0-01 specification seems to be in error
235177298Sobrien	here.  Reduce width of following "spare" field from 4 to 3 bits.
235277298Sobrien	(rl): Changed order and width of first 4 bitfields to correspond
235377298Sobrien	to sysroff specification.
235477298Sobrien	(dln_head, dln_inside, dln_tail): Removed.
235577298Sobrien
235677298SobrienTue Jul 18 23:00:03 1995  Fred Fish  <fnf@cygnus.com>
235777298Sobrien
235877298Sobrien	* nm.c (sort_symbols_by_size):  Enclose expression being casted
235977298Sobrien	in parens so result is casted, not just first operand.  Can't
236077298Sobrien	do pointer arithmetic on void* pointers.
236177298Sobrien
236277298SobrienFri Jul 14 13:42:42 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
236377298Sobrien
236477298Sobrien	* sysdump.c (dh): Changed format of output to be 16 hex digits
236577298Sobrien	followed by 16 ascii characters, similar to Emacs' hexl-mode,
236677298Sobrien	to make it easier to read.
236777298Sobrien	(xcalloc): fix typo.
236877298Sobrien
236977298SobrienThu Jul 13 15:27:44 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
237077298Sobrien
237177298Sobrien	* srconv.c (wr_tr): Write out handcrafted tr block.
237277298Sobrien	(walk_tree_symbol): Use evallen and evalue instead of
237377298Sobrien	vallen & value because of corresponding changes in
237477298Sobrien	sysroff.info.
237577298Sobrien
237677298Sobrien	* sysdump.c (sysroff_swap_tr_in, sysroff_print_tr_out): New
237777298Sobrien	functions.
237877298Sobrien
237977298Sobrien	* sysroff.info (tr): the tr block is a special case --- a block
238077298Sobrien	without contents --- which can't be handled by generated code.
238177298Sobrien	(den, dpp): only first byte is present for DENend, DPPend.
238277298Sobrien	(dsy): describe a conditional portion of block, rename some fields.
238377298Sobrien	(dps): describe a conditional portion of block.
238477298Sobrien	(dfl): removed.
238577298Sobrien
238677298Sobrien	* sysinfo.y (yyerror): write error message to standard error.
238777298Sobrien
238877298SobrienThu Jul 13 10:43:59 1995  Ian Lance Taylor  <ian@cygnus.com>
238977298Sobrien
239077298Sobrien	* Makefile.in (DISTSTUFF): Add arparse.h and sysinfo.h.
239177298Sobrien	(mostlyclean): Remove y.output.
239277298Sobrien	(clean): Remove sysroff, sysroff.c, sysroff.h, and sysinfo.
239377298Sobrien
239477298Sobrien	* nlmconv.c (powerpc_mangle_relocs): Cast memset arg to size_t.
239577298Sobrien	* objcopy.c (copy_object): Likewise.
239677298Sobrien
2397130561Sobrien	* nm.c (HAVE_SBRK): Define except on amigados and WINDOWS_NT.
239877298Sobrien	(struct size_sym): Define.
239977298Sobrien	(show_stats): New static variable.
240077298Sobrien	(long_options): Add undocumented option "stats".
240177298Sobrien	(main): Print memory stats if requested.
240277298Sobrien	(sort_bfd, sort_dynamic, sort_x, sort_y): New static variables.
240377298Sobrien	(numeric_forward): Use minisymbols rather than asymbols.
240477298Sobrien	(non_numeric_forward): Likewise.
240577298Sobrien	(size_forward1): Rename from size_forward.  Use minisymbols.
240677298Sobrien	(size_forward2): New static function.
240777298Sobrien	(sort_symbols_by_size): Take new arguments dynamic, size, and
240877298Sobrien	symsizep.  Use minisymbols.  Don't store the size back in the
240977298Sobrien	symbol; store in a newly allocate struct size_sym array.
241077298Sobrien	(display_rel_file): Read minisymbols rather than asymbols.  Set
241177298Sobrien	sort_* variables.  Call print_size_symbols if sorting by size.
241277298Sobrien	(filter_symbols): Take new arguments dynamic and size.  Use
241377298Sobrien	minisymbols.
241477298Sobrien	(print_symbols): Likewise.  Call print_symbol for actual printing.
241577298Sobrien	(print_size_symbols): New static function.
241677298Sobrien	(print_symbol): New static function.
241777298Sobrien
241877298SobrienWed Jul 12 10:43:05 1995  Ian Lance Taylor  <ian@cygnus.com>
241977298Sobrien
242077298Sobrien	* objdump.c (dump_section_stabs): Only print each stabs section
242177298Sobrien	once.
242277298Sobrien	(compare_relocs): Make it clear to gcc that this always returns a
242377298Sobrien	value.
242477298Sobrien
242577298SobrienWed Jul 12 10:40:23 1995  H.J. Lu  <hjl@nynexst.com>
242677298Sobrien
242777298Sobrien	* objcopy.c (simple_copy): Preserve errno on failure.
242877298Sobrien	(smart_rename): Print error mesage if simple_copy fails.
242977298Sobrien
243077298SobrienTue Jul 11 13:10:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
243177298Sobrien
243277298Sobrien	* sysdump.c: re-indented file.
243377298Sobrien	(module): read blocks sequentially instead of trying to parse
243477298Sobrien	them, as that would require changing the parser recognize the
243577298Sobrien	difference between a DPSstart and DPSend block.
243677298Sobrien	(getone): Add break's between switch blocks as appropriate.
243777298Sobrien	(object_body_list): parse blocks according to sysroff spec.
243877298Sobrien
243977298SobrienMon Jul 10 12:37:25 1995  J.T. Conklin  <jtc@poseidon.cygnus.com>
244077298Sobrien
244177298Sobrien	* sysroff.info: re-indented file, prior formatting was confusing
244277298Sobrien	because it was indentation did not reflect nesting of conditional
244377298Sobrien	records.  Change "space size within segment" record in hd record
244477298Sobrien	from bit to byte.
244577298Sobrien
244677298Sobrien	* sysinfo.y (cond_it_field): Use xcalloc instead of calloc.
244777298Sobrien
244877298Sobrien	* srconv.c (wr_cs): Reformatted cs header array, tag each byte
244977298Sobrien	with a comment describing the field.
245077298Sobrien	(wr_unit_info): Use SEEK_SET macro instead of constant 0.
245177298Sobrien	(main): Use FOPEN_WB macro instead of literal "wb".
245277298Sobrien	* sysroff.info: Remove fdl (dfl) field from cs block.  Compare
245377298Sobrien	ptr->type with ED_TYPE_CONST instead of constant 2 in ed block.
245477298Sobrien
245577298SobrienTue Jul  4 14:48:42 1995  Ian Lance Taylor  <ian@cygnus.com>
245677298Sobrien
245777298Sobrien	* nm.c (size_forward): Check yf against yn, not xn.
245877298Sobrien
245977298Sobrien	* objcopy.c (copy_archive): Record all output BFD's, and close
246077298Sobrien	them before unlinking them and removing the temporary directory,
246177298Sobrien	to avoid NFS problems.
246277298Sobrien
246377298Sobrien	* ar.c (replace_members): In verbose messages, use 'r' when
246477298Sobrien        replacing a member, and 'a' when adding one.
246577298Sobrien
246677298Sobrien	* ar.c (ar_truncate): New static variable.
246777298Sobrien	(normalize): Change return type to const char *.  Add abfd
246877298Sobrien	argument.  Change all callers.  If ar_truncate, chop the filename
246977298Sobrien	to abfd->ar_max_namelen.
247077298Sobrien	(main): For the 'f' modifier, set ar_truncate to true.  Don't
247177298Sobrien	change quick_append to replace if ar_truncate is true.
247277298Sobrien	(do_quick_append): If ar_truncate, set BFD_TRADITIONAL_FORMAT.
247377298Sobrien	(write_archive): Likewise.
247477298Sobrien	* binutils.texi, ar.1: Document 'f' modifier.
247577298Sobrien
247677298Sobrien	* objcopy.c (enum strip_action): Define strip_unneeded.
247777298Sobrien	(OPTION_STRIP_UNNEEDED): Define.
247877298Sobrien	(strip_options): Add "strip-unneeded".
247977298Sobrien	(copy_options): Likewise.
248077298Sobrien	(copy_usage): Mention --strip-unneeded.
248177298Sobrien	(strip_usage): Likewise.
248277298Sobrien	(is_strip_section): Strip debugging sections if strip_unneeded.
248377298Sobrien	(filter_symbols): If strip_unneeded, only keep BSF_KEEP symbols.
248477298Sobrien	(copy_object): If strip_all, discard symbols without checking
248577298Sobrien	discard_locals.
248677298Sobrien	(copy_object): Call filter_symbols if strip_unneeded.
248777298Sobrien	(setup_section): Strip debugging sections if strip_unneeded.
248877298Sobrien	(copy_section): Likewise.
248977298Sobrien	(strip_main): Handle OPTION_STRIP_UNNEEDED.
249077298Sobrien	(copy_main): Likewise.
249177298Sobrien	* binutils.texi, objcopy.1, strip.1: Document --strip-unneeded.
249277298Sobrien
249377298SobrienMon Jul  3 14:16:47 1995  Steve Chamberlain  <sac@slash.cygnus.com>
249477298Sobrien
249577298Sobrien	* configure.in (i386-*-win32): New configuration.
249677298Sobrien	* dlltool.c (killat, xlate, usage, long_options, main):
249777298Sobrien	Understand and cope with -k option.
249877298Sobrien
249977298SobrienSat Jul  1 12:25:15 1995  Fred Fish  <fnf@cygnus.com>
250077298Sobrien
250177298Sobrien	* ar.c: (extract_file):  Change "#if POSIX_UTIME" to
250277298Sobrien	"#ifdef POSIX_UTIME" to match other tests of POSIX_UTIME
250377298Sobrien	and avoid lossage when POSIX_UTIME is not defined at all.
250477298Sobrien
250577298SobrienWed Jun 28 17:51:24 1995  Steve Chamberlain  <sac@slash.cygnus.com>
250677298Sobrien
250777298Sobrien	* ar.c: (print_contents.c, extract_file, do_quick_append):
250877298Sobrien	Malloc buffers rather than allocate on stack (so it works
250977298Sobrien	on NT).
251077298Sobrien	* deflex.l: Names can have an @ in them.
251177298Sobrien	* dlltool.c: Loads of stuff. Can now generate .imp files which
251277298Sobrien	work with NT .dlls.
251377298Sobrien
251477298SobrienThu Jun 22 19:10:50 1995  Stan Shebs  <shebs@andros.cygnus.com>
251577298Sobrien
251677298Sobrien	* mpw-make.in (demangle.c.o): Remove.
251777298Sobrien	(arparse.h): Depend on arparse.c instead of arparse.y.
251877298Sobrien
251977298SobrienWed Jun 21 17:32:45 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
252077298Sobrien
252177298Sobrien	* Makefile.in (DISTSTUFF): Don't include info here.
252277298Sobrien	(diststuff): Include it here.
252377298Sobrien	(realclean): Remove *.info.
252477298Sobrien
252577298Sobrien	* objdump.c (compare_relocs): If relocation entries have the same
252677298Sobrien	address, keep them in file order.
252777298Sobrien
252877298SobrienMon Jun 19 09:06:49 1995  Steve Chamberlain  <sac@slash.cygnus.com>
252977298Sobrien
253077298Sobrien	* dlltool.c: Change names of generated files. .*.s-> -*.s
253177298Sobrien
253277298Sobrien	* objdump.c (dump_section_stabs):  Check for names
253377298Sobrien	which are supersets of selected names.
253477298Sobrien
253577298SobrienWed Jun 14 19:43:52 1995  Doug Evans  <dje@canuck.cygnus.com>
253677298Sobrien
253777298Sobrien	* dlltool.c (mtable, ARM jump): Must redirect via pc offsetable ptr.
253877298Sobrien
253977298SobrienWed Jun 14 13:27:22 1995  Steve Chamberlain  <sac@slash.cygnus.com>
254077298Sobrien
254177298Sobrien	* deflex.l, defparse.y, dlltool.c: New files.
254277298Sobrien	* Makefile.in, configure.in: Support for them.
254377298Sobrien
254477298SobrienMon Jun 12 11:27:54 1995  Steve Chamberlain  <sac@slash.cygnus.com>
254577298Sobrien
254677298Sobrien	* sysdump.c: Include sysdep.h
254777298Sobrien	(main): Open input with FOPEN_RB.
254877298Sobrien
254977298SobrienFri Jun  9 17:26:11 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
255077298Sobrien
255177298Sobrien	* objdump.c (wide_output): New flag variable.
255277298Sobrien	(usage): Print new -w, --wide options.
255377298Sobrien	(long_options): Add --wide support.
255477298Sobrien	(dump_section_header): If --wide, don't print a newline between
255577298Sobrien	the section's first line and the flags.
255677298Sobrien	(objdump_print_address): Use unsigned comparisons for the binary
255777298Sobrien	search, not signed.
255877298Sobrien	(disassemble_data): If --wide, don't put a \n between the
255977298Sobrien	disassembly output and relocation information.
256077298Sobrien	(main): Support -w option being the same as --wide.
256177298Sobrien
256277298SobrienThu Jun  1 17:09:27 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
256377298Sobrien
256477298Sobrien	Sat May  6 08:52:24 1995  H.J. Lu (hjl@nynexst.com)
256577298Sobrien
256677298Sobrien	* objcopy.c (smart_rename): make it smarter, clean up
256777298Sobrien	  if rename () fails.
256877298Sobrien
256977298SobrienTue May 30 14:24:15 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
257077298Sobrien
257177298Sobrien	* Makefile.in: Delete lines with lots of #### because four or more
257277298Sobrien	indicate a point for makefile fragment substitution.
257377298Sobrien
257477298SobrienTue May  9 17:17:05 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
257577298Sobrien
257677298Sobrien	* configure.in: Don't build nlmconv on PowerPC eabi any more, it
257777298Sobrien	is not needed.
257877298Sobrien
257977298SobrienThu Apr 27 20:21:24 1995  Doug Evans  <dje@canuck.cygnus.com>
258077298Sobrien
258177298Sobrien	* Makefile.in (EXPECT): Define.
258277298Sobrien	(RUNTEST): Use one in source tree if present.
258377298Sobrien	(check): Set `rootme' for $(EXPECT).
258477298Sobrien
258577298SobrienWed Apr 26 18:26:21 1995  Steve Chamberlain  <sac@slash.cygnus.com>
258677298Sobrien
258777298Sobrien	* srconv.c (main): Add support for -n option which disables
258877298Sobrien	prescan of common symbols.
258977298Sobrien	(wr_ob): If reading past the end of a section, fill with zeros.
259077298Sobrien
259177298SobrienTue Apr 25 19:14:37 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
259277298Sobrien
259377298Sobrien	* objdump.c (dump_section_header): Display load address after
259477298Sobrien	virtual memory (run-time) address.
259577298Sobrien
259677298SobrienWed Apr 19 09:44:06 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
259777298Sobrien
259877298Sobrien	* Makefile.in (cplus-dem.o): Pass -DVERSION='"$(VERSION)"' to the
259977298Sobrien        compile.
260077298Sobrien	(DEMANGLER_PROG): No longer uses version.o.
260177298Sobrien
260277298SobrienMon Apr 10 13:29:49 1995  Stan Shebs  <shebs@andros.cygnus.com>
260377298Sobrien
260477298Sobrien	Merge in support for Mac MPW as a host.
260577298Sobrien	(Old change descriptions retained for informational value.)
260677298Sobrien
260777298Sobrien	* mpw-config.in (TDEFINES): Define as empty in makefile frag.
260877298Sobrien
260977298Sobrien	* mpw-config.in: Create mk.tmp, define ARCHDEFS in it.
261077298Sobrien
261177298Sobrien	* mpw-config.in: New file, MPW configure fragment for binutils.
261277298Sobrien	* mpw-make.in (install-only): New target.
261377298Sobrien	(install): Also depend on install-only.
261477298Sobrien
261577298Sobrien	* mpw-make.in (cplusfilt): Renamed from c++filt.
261677298Sobrien	(INCLUDES): Add more paths.
261777298Sobrien
261877298Sobrien	* mpw-make.in: New file, MPW makefile fragment for binutils.
261977298Sobrien	(Normally automatically generated from Makefile.in.)
262077298Sobrien
262177298SobrienMon Mar 27 11:52:57 1995  Ian Lance Taylor  <ian@cygnus.com>
262277298Sobrien
262377298Sobrien	* ar.c (write_archive): Call make_tempname to get output file
262477298Sobrien	name, rather than using a fixed name based on the input file.
262577298Sobrien
262677298Sobrien	* objcopy.c (make_tempname): Copy from here...
262777298Sobrien	* bucomm.c (make_tempname): ...to here, and make global.
262877298Sobrien	* bucomm.h (make_tempname): Declare.
262977298Sobrien
263077298SobrienFri Mar 24 11:47:42 1995  Ian Lance Taylor  <ian@cygnus.com>
263177298Sobrien
263277298Sobrien	* strings.c: Include "bfd.h" before other headers.  Include
263377298Sobrien	"sysdep.h".
263477298Sobrien	* bucomm.c (print_arelt_descr): Cast st_uid and st_gid to long,
263577298Sobrien	and print them with %ld.
263677298Sobrien
263777298SobrienFri Mar 10 13:09:42 1995  Ian Lance Taylor  <ian@cygnus.com>
263877298Sobrien
263977298Sobrien	* objcopy.c (strip_options): Add --keep-symbol.
264077298Sobrien	(copy_options): Likewise.
264177298Sobrien	(copy_usage): Mention --keep-symbol and -K.
264277298Sobrien	(strip_usage): Likewise.
264377298Sobrien	(keep_symbols): New static variable.
264477298Sobrien	(is_strip_symbol): Adjust the return value according to
264577298Sobrien	keep_symbols.
264677298Sobrien	(strip_main): Handle -K.  For -N, check that -K was not given.
264777298Sobrien	(copy_main): Likewise.
264877298Sobrien	* binutils.texi, objcopy.1, strip.1: Document -K.
264977298Sobrien
265077298SobrienMon Mar  6 13:33:47 1995  Stan Shebs  <shebs@andros.cygnus.com>
265177298Sobrien
265277298Sobrien	* objcopy.c (copy_archive): Check result of mkdir.
265377298Sobrien	(copy_main): Cast an xmalloc result.
265477298Sobrien
265577298Sobrien	* objdump.c (usage): Break long format string into shorter ones.
265677298Sobrien
265777298SobrienMon Mar  6 13:46:12 1995  Ian Lance Taylor  <ian@cygnus.com>
265877298Sobrien
265977298Sobrien	* bucomm.c (list_supported_targets): New function.
266077298Sobrien	* bucomm.h (list_supported_targets): Declare.
266177298Sobrien	* ar.c (usage): Call list_supported_targets.
266277298Sobrien	* nm.c (usage): Likewise.
266377298Sobrien	* objcopy.c (copy_usage, strip_usage): Likewise.
266477298Sobrien	* objdump.c (usage): Likewise.
266577298Sobrien	* size.c (usage): Likewise.
266677298Sobrien	* strings.c (usage): Likewise.
266777298Sobrien
266877298SobrienTue Feb 28 15:13:58 1995  Ian Lance Taylor  <ian@cygnus.com>
266977298Sobrien
267077298Sobrien	* bucomm.c (print_arelt_descr): Cast st_size to long before
267177298Sobrien	passing it to fprintf.
267277298Sobrien
267377298SobrienFri Feb 17 13:36:45 1995  Ian Lance Taylor  <ian@cygnus.com>
267477298Sobrien
267577298Sobrien	* objcopy.c (struct section_list): Add fields remove, set_flags,
267677298Sobrien	and flags.  Change adjust from boolean to enum.
267777298Sobrien	(remove_sections): Remove static variable.
267877298Sobrien	(sections_removed): New static variable.
267977298Sobrien	(copy_options): Add --set-section-flags.
268077298Sobrien	(copy_usage): Mention --set-section-flags.
268177298Sobrien	(parse_flags): New static function.
268277298Sobrien	(find_section_list): New static function.
268377298Sobrien	(is_strip_symbol): Change return type from int to boolean.
268477298Sobrien	(is_strip_section): New static function.
268577298Sobrien	(filter_symbols): Call is_strip_section.
268677298Sobrien	(copy_object): When adding sections, check for specified flags or
268777298Sobrien	VMA.  Call filter_symbols if any sections are being removed.
268877298Sobrien	(setup_section): Use find_section_list function rather than
268977298Sobrien	looking through remove_sections and adjust_sections.  Handle
269077298Sobrien	--set-section-flags.
269177298Sobrien	(copy_section): Use find_section_list rather than looking through
269277298Sobrien	remove_sections.
269377298Sobrien	(strip_main): Use find_section_list instead of adding items to
269477298Sobrien	sections_removed.
269577298Sobrien	(copy_main): Use find_section_list instead of adding items to
269677298Sobrien	sections_removed and adjust_sections.  Handle --set-section-flags.
269777298Sobrien	* binutils.texi, objcopy.1: Document --set-section-flags.
269877298Sobrien
269977298SobrienTue Feb 14 18:03:03 1995  Ian Lance Taylor  <ian@cygnus.com>
270077298Sobrien
270177298Sobrien	* objdump.c (with_source_code): New global variable.
270277298Sobrien	(usage): Mention -S/--source.
270377298Sobrien	(long_options): Add --source.
270477298Sobrien	(prev_functionname, prev_line): New static variables.
270577298Sobrien	(struct print_file_list): Define.
270677298Sobrien	(print_files): New static variable.
270777298Sobrien	(skip_to_line, show_line): New static functions.
270877298Sobrien	(disassemble_data): Call show_line to handle -l and -S.
270977298Sobrien	(main): Handle -S.
271077298Sobrien	* binutils.texi, objdump.1: Document -S/--source.
271177298Sobrien
271277298SobrienThu Feb  9 16:11:53 1995  Ian Lance Taylor  <ian@cygnus.com>
271377298Sobrien
271477298Sobrien	* objcopy.c (copy_usage): Rename parameter to avoid shadowing.
271577298Sobrien	(strip_usage): Likewise.
271677298Sobrien
271777298Sobrien	* objcopy.c (struct section_add): Define.
271877298Sobrien	(add_sections): New static variable.
271977298Sobrien	(copy_options): Accept --add-section.
272077298Sobrien	(copy_usage): Mention --add-section.
272177298Sobrien	(copy_object): Add sections from the add_sections list.
272277298Sobrien	(copy_main): Handle --add-section.
272377298Sobrien	* binutils.texi, objcopy.1: Document --add-section.
272477298Sobrien
272577298SobrienWed Feb  1 15:04:57 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
272677298Sobrien
272777298Sobrien	* objdump.c (disassemble_data): Pass section offset, not absolute
272877298Sobrien	address, to bfd_find_nearest_line.
272977298Sobrien
273077298Sobrien	* nlmconv.c (powerpc_mangle_relocs): Don't use const with
273177298Sobrien	reloc_howto_type.
273277298Sobrien
273377298SobrienThu Jan 26 18:50:06 1995  Ian Lance Taylor  <ian@cygnus.com>
273477298Sobrien
273577298Sobrien	* objdump.c (compare_symbols): Use bfd_asymbol_value (VAR) rather
273677298Sobrien	than VAR->value.
273777298Sobrien	(objdump_print_address): Likewise.
273877298Sobrien	(disassemble_data): Don't change the symbol values.  It can
273977298Sobrien	confuse bfd_canonicalize_reloc.
274077298Sobrien
274177298SobrienThu Jan 26 12:03:56 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
274277298Sobrien
274377298Sobrien	* configure.in: Add support for powerpc-*-ebai.
274477298Sobrien
274577298SobrienWed Jan 18 10:02:12 1995  Steve Chamberlain  <sac@splat>
274677298Sobrien
274777298Sobrien	* coffdump.c: Include sysdep.h.
274877298Sobrien	(dump_coff_type): Handle coff_secdef_type.
274977298Sobrien	* coffgrok.c : Include sysdep.h.
275077298Sobrien	* srconv.c: Include libiberty.h
275177298Sobrien	(absolute_p, dty_start, dty_end, dump_tree_structure): Remove.
275277298Sobrien
275377298SobrienWed Jan 18 12:24:14 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
275477298Sobrien
275577298Sobrien	* coffdump.c (dump_coff_scope): Cast pointer to unsigned long for
275677298Sobrien	printf.
275777298Sobrien	* coffgrok.c: Include bucomm.h.  Don't declare xmalloc.
275877298Sobrien	(push_scope): Declare type of parameter link.
275977298Sobrien	* size.c: Include libiberty.h.
276077298Sobrien	* srconv.c: Include bucomm.h.
276177298Sobrien	(find_base): Declare at top of file.
276277298Sobrien	(wr_hd): Add default case to architecture switch.
276377298Sobrien	(wr_dps_start): Declare type of parameter nest.
276477298Sobrien	(wr_du): Comment out variables used only in commented out blocks.
276577298Sobrien	(wr_dus): Remove unused variable i.
276677298Sobrien	(wr_sc): Remove unused variables myinfo, low, and high.
276777298Sobrien	* strings.c: Include libiberty.h.
276877298Sobrien	* sysdump.c: Include <ctype.h>.
276977298Sobrien
277077298SobrienTue Dec 20 19:13:44 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
277177298Sobrien
277277298Sobrien	* ar.c (main): Ignore 'f' modifier used on HP/UX 9.
277377298Sobrien
277477298SobrienThu Dec 15 17:34:12 1994  Stan Shebs  <shebs@andros.cygnus.com>
277577298Sobrien
277677298Sobrien	* ar.c, nm.c, objcopy.c, objdump.c: Include progress.h.
277777298Sobrien	* ar.c, nm.c, objcopy.c, objdump.c (main): Add START_PROGRESS
277877298Sobrien	and END_PROGRESS.
277977298Sobrien	* ar.c (map_over_members, open_inarch): Call PROGRESS.
278077298Sobrien	* nm.c (main, display_archive, filter_symbols, print_symbols):
278177298Sobrien	Call PROGRESS.
278277298Sobrien
278377298Sobrien	* objcopy.c (copy_usage): Break up long usage string.
278477298Sobrien
278577298SobrienWed Dec 14 15:51:56 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
278677298Sobrien
278777298Sobrien	* objcopy.c (copy_object): Don't bother setting status after
278877298Sobrien	nonfatal() "call", because it won't return.
278977298Sobrien
279077298SobrienFri Dec  9 00:22:54 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
279177298Sobrien
279277298Sobrien	* nlmconv.c (powerpc_mangle_relocs): Don't switch a reloc to use
279377298Sobrien	the section symbol if the symbol is undefined.
279477298Sobrien
279577298SobrienThu Dec  8 14:45:50 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
279677298Sobrien
279777298Sobrien	* objcopy.c (add_strip_symbol): Cast return value of xmalloc.
279877298Sobrien
279977298SobrienWed Nov 30 11:05:43 1994  Ian Lance Taylor  <ian@rtl.cygnus.com>
280077298Sobrien
280177298Sobrien	* ar.c (replace_members): Pass current->filename to normalize when
280277298Sobrien	checking for duplicates, because the filename of a newly added
280377298Sobrien	file will not have been normalized yet.
280477298Sobrien
280577298SobrienThu Nov 17 15:00:13 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
280677298Sobrien
280777298Sobrien	* ar.c (main): Don't call do_quick_append if any of the archive
280877298Sobrien	names are longer than 14 characters.
280977298Sobrien
281077298Sobrien	* objcopy.c (main): Fix is_strip test.  From
281177298Sobrien	pirker@eiunix.tuwien.ac.at (Martin Pirker).
281277298Sobrien
281377298SobrienThu Nov 17 15:37:19 1994  Mark W. Eichin  <eichin@cygnus.com>
281477298Sobrien
281577298Sobrien	* objcopy.c (add_strip_symbol): New function, adds a name to an
281677298Sobrien	explicit list of symbols to strip.
281777298Sobrien	(is_strip_symbol): New function, reports whether the name argument
281877298Sobrien	is in the explicit list.
281977298Sobrien	(filter_symbols): Check against is_strip_symbol above all.
282077298Sobrien	(strip_main): Recognize -N option. If used, don't default to
282177298Sobrien	strip_all.
282277298Sobrien	(copy_main): Recognize -N option.
282377298Sobrien	(strip_usage): Document -N and --strip-symbol options.
282477298Sobrien	(copy_usage): Ditto.
282577298Sobrien	* objcopy.1, strip.1, binutils.texi: Document -N and
282677298Sobrien	--strip-symbol options.
282777298Sobrien
282877298SobrienTue Nov  8 13:12:54 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
282977298Sobrien
283077298Sobrien	* objdump.c (display_target_list, display_info_table): Pass an
283177298Sobrien	array to tmparg, rather than NULL, since some systems can't handle
283277298Sobrien	NULL.
283377298Sobrien
283477298Sobrien	* objcopy.c (copy_archive): Keep a list of the names of the
283577298Sobrien        temporary files we created.  Close each input BFD after we open
283677298Sobrien        its successor.
283777298Sobrien
283877298SobrienMon Nov  7 15:48:39 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
283977298Sobrien
284077298Sobrien	* Makefile.in (VERSION): Bump to 2.5.3.
284177298Sobrien
284277298SobrienThu Nov  3 19:04:34 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
284377298Sobrien
284477298Sobrien	* Makefile.in (install-info): Install info files from whatever
284577298Sobrien	directory they were found in.
284677298Sobrien
284777298Sobrien	Patch from DJ Delorie:
284877298Sobrien	* configure.bat: do c++filt -> cxxfilt right
284977298Sobrien
285077298Sobrien	* sysinfo.y: Include system header files early, so any potential
285177298Sobrien	declaration of abort() occurs before its use.
285277298Sobrien
285377298Sobrien	* strings.c (strings_file): Try opening the file in binary mode
285477298Sobrien	first.
285577298Sobrien
285677298SobrienWed Nov  2 15:44:13 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
285777298Sobrien
285877298Sobrien	* ar.c (main): Treat ar qs like ar rs.
285977298Sobrien
286077298SobrienTue Oct 25 16:19:25 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
286177298Sobrien
286277298Sobrien	* objcopy.c (gap_fill): Explicitly initialize, for clarity.
286377298Sobrien	(pad_to_set, pad_to): New static variables.
286477298Sobrien	(copy_options): Accept --pad-to.
286577298Sobrien	(copy_usage): Mention --pad-to.
286677298Sobrien	(copy_object): Support --pad-to.
286777298Sobrien	(compare_section_vma): Sort non loadable sections to the front.
286877298Sobrien	Sort sections with the same VMA by size.
286977298Sobrien	(copy_main): Handle --pad-to.
287077298Sobrien	* binutils.texi, objcopy.1: Document --pad-to.
287177298Sobrien
287277298SobrienThu Oct 20 13:51:31 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
287377298Sobrien
287477298Sobrien	* objcopy.c (gap_fill_set, gap_fill): New static variables.
287577298Sobrien	(copy_options): Accept --gap-fill.
287677298Sobrien	(copy_usage): Mention --gap-fill.
287777298Sobrien	(copy_object): Support --gap-fill.
287877298Sobrien	(get_sections, compare_section_vma): New static functions.
287977298Sobrien	(copy_main): Handle --gap-fill.
288077298Sobrien	* binutils.texi, objcopy.1: Document --gap-fill.
288177298Sobrien
288277298SobrienWed Oct 19 14:09:16 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
288377298Sobrien
288477298Sobrien	* Makefile.in (check): Add a dummy else clause to the if
288577298Sobrien	statement.
288677298Sobrien
288777298Sobrien	* objcopy.c (copy_object): Revert yesterday's change.
288877298Sobrien	* binutils.texi, objcopy.1: Remove special mention of --set-start
288977298Sobrien	and `binary' output format.
289077298Sobrien
289177298SobrienTue Oct 18 11:12:01 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
289277298Sobrien
289377298Sobrien	* objcopy.c (copy_object): If the output file format is `binary',
289477298Sobrien	and the start address was not set using --set-start, default the
289577298Sobrien	start address to zero.  This hack is because the `binary' output
289677298Sobrien	file format uses the start address to set the virtual address of
289777298Sobrien	the first byte in the file.
289877298Sobrien	* binutils.texi, objcopy.1: Add some notes on generating S-records
289977298Sobrien	and binary files.
290077298Sobrien
290177298Sobrien	* nm.c (print_symdef_entry): Call print_symname to print the
290277298Sobrien	symbol name, so that --demangle works.
290377298Sobrien
290477298Sobrien	* Makefile.in (mostlyclean): Remove tmpdir.
290577298Sobrien
290677298Sobrien	* objcopy.c (struct section_list): Add fields used, adjust, val.
290777298Sobrien	(adjust_start, set_start_set, set_start): New static variables.
290877298Sobrien	(adjust_section_vma, adjust_sections): New static variables.
290977298Sobrien	(copy_options): Add --adjust-start, --adjust-vma,
291077298Sobrien	--adjust-section-vma, --adjust-warnings, --no-adjust-warnings,
291177298Sobrien	--set-start.
291277298Sobrien	(parse_vma): New static function.
291377298Sobrien	(copy_usage): Mention new options.
291477298Sobrien	(copy_object): Handle --set-start and --adjust-start.
291577298Sobrien	(setup_section): Correct type of last argument to PTR.  Set used
291677298Sobrien	field if section is removed.  Handle --adjust-vma and
291777298Sobrien	--adjust-section-vma.
291877298Sobrien	(copy_section): Correct type of last argument to PTR.
291977298Sobrien	(mark_symbols_used_in_relocations): Likewise.
292077298Sobrien	(strip_main): Clear used field when handling -R.
292177298Sobrien	(copy_main): Handle new options.
292277298Sobrien	* binutils.texi (objcopy): Document new options.
292377298Sobrien	* objcopy.1: Document new options.
292477298Sobrien
292577298SobrienFri Oct 14 14:38:13 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
292677298Sobrien
292777298Sobrien	* configure.in (configdirs): Remove definition--testsuite is no
292877298Sobrien	longer configured.
292977298Sobrien	* Makefile.in (testsuite): Remove target.
293077298Sobrien	(site.exp): New target.
293177298Sobrien	(check): Rewrite.
293277298Sobrien	(clean, distclean): Don't recur into testsuite directory.
293377298Sobrien
293477298SobrienThu Oct 13 19:24:09 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
293577298Sobrien
293677298Sobrien	* Makefile.in (VERSION): Updated to 2.5.
293777298Sobrien	* Version 2.5 released.
293877298Sobrien
293977298SobrienTue Oct 11 15:26:42 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
294077298Sobrien
294177298Sobrien	* Makefile.in (sysdump.o): Depends upon sysroff.c.
294277298Sobrien
294377298SobrienMon Oct 10 13:50:30 1994  J.T. Conklin  (jtc@rtl.cygnus.com)
294477298Sobrien
294577298Sobrien	* nlmconv.c (link_inputs): Pass -Ur flag to ld so that the
294677298Sobrien	  ctor/dtor tables needed by C++ programs are built.
294777298Sobrien
294877298SobrienSun Oct  9 18:04:00 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
294977298Sobrien
295077298Sobrien	* Makefile.in (srconv.o): Add dependence on sysroff.c.
295177298Sobrien
295277298SobrienTue Oct  4 12:19:51 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
295377298Sobrien
295477298Sobrien	* configure.in: Use ${config_shell} when running config.bfd.
295577298Sobrien
295677298Sobrien	* Makefile.in (sysroff.h): Split target away from sysroff.c.
295777298Sobrien	(srconv.o, sysdump.o): New targets.
295877298Sobrien	(srconv, sysdump): Don't depend upon sysroff.c.
295977298Sobrien
296077298SobrienWed Sep 28 13:04:34 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
296177298Sobrien
296277298Sobrien	* Makefile.in (arparse.c): Don't ignore errors from mv.
296377298Sobrien	(sysinfo.c): Likewise.  Also, depend upon arparse.c, to prevent a
296477298Sobrien	parallel make from trying to build both arparse.c and sysinfo.c
296577298Sobrien	simultaneously.
296677298Sobrien	(nlmheader.c): Similar change.
296777298Sobrien	(arparse.h): Separate target from arparse.c, so that a parallel
296877298Sobrien	make does not try to build both at once.  Depend upon arparse.c.
296977298Sobrien	(sysinfo.h): Similar change.
297077298Sobrien
297177298Sobrien	* objdump.c (disassemble_data): Pass the reloc buffer to free, not
297277298Sobrien	the pointer used to loop over the relocs.
297377298Sobrien
297477298SobrienSat Sep 24 16:16:57 1994  Stan Shebs  (shebs@andros.cygnus.com)
297577298Sobrien
297677298Sobrien	* objdump.c (disassemble_data): Cast result of xmalloc.
297777298Sobrien
297877298SobrienWed Sep 21 19:30:35 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
297977298Sobrien
298077298Sobrien	* objdump.c (sorted_syms, sorted_symcount): New global variables.
298177298Sobrien	(objdump_print_address): Use sorted_syms and sorted_symcount
298277298Sobrien	instead of syms and symcount.
298377298Sobrien	(disassemble_data): Don't bother to get the relocs before looping
298477298Sobrien	over the sections.  Before filtering and sorting the symbol table,
298577298Sobrien	copy it into sorted_syms.
298677298Sobrien
298777298SobrienFri Sep 16 11:27:39 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
298877298Sobrien
298977298Sobrien	* objdump.c (struct objdump_disasm_info): Add field require_sec.
299077298Sobrien	(objdump_print_address): If aux->require_sec, require that the
299177298Sobrien	symbol be in aux->sec even if HAS_RELOC is not set.  If we can't
299277298Sobrien	find a smaller symbol in the right section, look for a larger one.
299377298Sobrien	(disassemble_data): Set aux.require_sec around the
299477298Sobrien	objdump_print_address call for the instruction address.
299577298Sobrien
299677298SobrienThu Sep 15 21:43:17 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
299777298Sobrien
299877298Sobrien	* ar.c: Call xexit rather than exit.
299977298Sobrien	(output_filename, output_file, output_bfd): New static variables.
300077298Sobrien	(remove_output): New static function.
300177298Sobrien	(main): Call xatexit (remove_output).  Call xexit rather than
300277298Sobrien	returning.
300377298Sobrien	(extract_file): Set output_filename and output_file while output
300477298Sobrien	file is open.
300577298Sobrien	(write_archive): Likewise, but use output_bfd, not output_file.
300677298Sobrien	* arsup.c: Include libiberty.h.  Call xexit rather than exit.
300777298Sobrien	* bucomm.c: Likewise.
300877298Sobrien
300977298Sobrien	* objdump.c (disassemble_all): New global variable.
301077298Sobrien	(usage): Document --disassemble-all.
301177298Sobrien	(long_options): Add disassemble-all as a synonym for -D.
301277298Sobrien	(compare_symbols): Make pointers const.
301377298Sobrien	(compare_relocs): New static function.
301477298Sobrien	(disassemble_data): Rename disassemble to disassemble_fn to avoid
301577298Sobrien	shadowing.  If dump_reloc_info, print relocs along with
301677298Sobrien	disassembly.  Skip sections which are not SEC_CODE unless
301777298Sobrien	disassemble_all or only is set.
301877298Sobrien	(display_bfd): Don't call dump_relocs if disassemble is set.
301977298Sobrien	(main): Accept and handle -D.
302077298Sobrien	* binutils.texi: Document -D/--disassemble-all.
302177298Sobrien	* objdump.1: Likewise.
302277298Sobrien
302377298SobrienWed Sep 14 12:19:07 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
302477298Sobrien
302577298Sobrien	* objdump.c (disassemble_data): Initialize prevline to 0.  Make
302677298Sobrien	prev_function non const.  Copy functionname into an malloc buffer
302777298Sobrien	when setting prev_function, instead of assuming that the string
302877298Sobrien	will last forever.
302977298Sobrien
303077298Sobrien	* nm.c: Include libiberty.h.
303177298Sobrien	(sort_by_size): New static variable.
303277298Sobrien	(long_options): Add --size-sort.
303377298Sobrien	(usage): Mention --size-sort.
303477298Sobrien	(numeric_forward): Make static.  Change from void * to PTR.
303577298Sobrien	(numeric_reverse): Likewise.
303677298Sobrien	(non_numeric_forward, non_numeric_reverse): Likewise.
303777298Sobrien	(sorters): Change declaration from void * to PTR.
303877298Sobrien	(size_forward, sort_symbol_by_size): New static functions.
303977298Sobrien	(display_rel_file): Handle sort_by_size.
304077298Sobrien	(filter_symbols): If sort_by_size, discard absolute and undefined
304177298Sobrien	symbols.
304277298Sobrien	* binutils.texi (nm): Document --size-sort.
304377298Sobrien	* nm.1: Document --size-sort.
304477298Sobrien
304577298SobrienTue Sep 13 21:06:06 1994  Jeff Law  (law@snake.cs.utah.edu)
304677298Sobrien
304777298Sobrien	* objcopy.c (copy_main): Initialize input_filename and
304877298Sobrien	output_filename to NULL.
304977298Sobrien
305077298SobrienTue Sep 13 14:17:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
305177298Sobrien
305277298Sobrien	* Makefile.in (version.o): Depend upon Makefile, so that version.o
305377298Sobrien	gets rebuilt when make variable VERSION is changed.
305477298Sobrien
305577298Sobrien	* objdump.c (dump_section_header): Print the SEC_NEVER_LOAD flag.
305677298Sobrien
305777298SobrienWed Aug 24 12:40:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
305877298Sobrien
305977298Sobrien	* configure.in: Change i[34]86 to i[345]86.
306077298Sobrien
306177298SobrienTue Aug 23 11:00:40 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
306277298Sobrien
306377298Sobrien	* ar.c (ranlib_touch): Don't update the archive map if there isn't
306477298Sobrien	one.
306577298Sobrien
306677298SobrienMon Aug 22 16:02:18 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
306777298Sobrien
306877298Sobrien	* ar.c: Include libiberty.h.
306977298Sobrien	(inarch): Remove variable.
307077298Sobrien	(map_over_members): Make static.  Add arch argument, and use it
307177298Sobrien	instead of inarch.  Change all callers.
307277298Sobrien	(main): Treat --version as -v.  Accept -t argument.  Accept any
307377298Sobrien	number of archive arguments.  Catch and use open_inarch return
307477298Sobrien	value, rather than using inarch.
307577298Sobrien	(open_inarch): Return newly opened BFD, rather than using inarch.
307677298Sobrien	(do_quick_append): Make archive_filename const.
307777298Sobrien	(write_archive): Add iarch argument, and use it instead of inarch.
307877298Sobrien	Change all callers.
307977298Sobrien	(delete_members, move_members, replace_members): Likewise.
308077298Sobrien	(ranlib_only): Don't exit on success.  Catch and use open_inarch
308177298Sobrien	return value.
308277298Sobrien	(ranlib_touch): New function.
308377298Sobrien	* arsup.h (map_over_members): Don't declare.
308477298Sobrien	(ar_end, ar_extract): Declare.
308577298Sobrien	(open_inarch): Change return value in declaration to bfd *.
308677298Sobrien	* arsup.c (map_over_list): Make static. Always pass two arguments
308777298Sobrien	to function.  Add arch argument, and use it instead of inarch.
308877298Sobrien	Change all callers.
308977298Sobrien	(ar_directory_doer): Make static.  Add ignored second argument.
309077298Sobrien	Change all callers.
309177298Sobrien	(ar_directory): Use open_inarch return value rather than inarch.
309277298Sobrien	(ar_addlib_doer): Make static.
309377298Sobrien	(ar_addlib): Use open_inarch return value rather than inarch.
309477298Sobrien	(ar_extract): Remove unused local variable abfd.
309577298Sobrien
309677298SobrienThu Aug 11 14:55:57 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
309777298Sobrien
309877298Sobrien	Add support for removing named sections to objcopy and strip.
309977298Sobrien	* objcopy.c (struct section_list): Define.
310077298Sobrien	(remove_sections): New static variable.
310177298Sobrien	(strip_options, copy_options): Add remove-section.
310277298Sobrien	(copy_usage, strip_usage): Mention -R and --remove-section.
310377298Sobrien	(setup_section): If section is in remove_sections list, ignore it.
310477298Sobrien	(copy_section): Likewise.
310577298Sobrien	(strip_main, copy_main): Handle -R.
310677298Sobrien	* binutils.texi, objcopy.1, strip.1: Document new options.
310777298Sobrien
310877298SobrienWed Aug 10 10:19:55 1994  Stan Shebs  (shebs@andros.cygnus.com)
310977298Sobrien
311077298Sobrien	* nlmconv.c (powerpc_mangle_relocs): Rename symvalue to sym_value,
311177298Sobrien	so as not to conflict with the symvalue typedef in bfd.h.
311277298Sobrien
311377298SobrienMon Aug  1 13:19:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
311477298Sobrien
311577298Sobrien	* nlmheader.y: Per current NetWare docs, accept a revision number
311677298Sobrien	of 0 and treat a revision number greater than 26 as 0.
311777298Sobrien
311877298SobrienMon Jul 25 12:58:36 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
311977298Sobrien
312077298Sobrien	* objdump.c (objdump_print_address): Correct handling of end of
312177298Sobrien	symbols when looking for next symbol with a different value.
312277298Sobrien
312377298SobrienFri Jul 22 16:48:34 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
312477298Sobrien
312577298Sobrien	* nm.c (numeric_forward): Treat undefined symbols as "less than"
312677298Sobrien	defined symbols with zero values.  If numeric values are equal, or
312777298Sobrien	both symbols are undefined, sort alphabetically.  Don't assume
312877298Sobrien	that the difference of two bfd_vma values will truncate to "int"
312977298Sobrien	and still have the same sign.
313077298Sobrien	(numeric_reverse): Call numeric_forward and negate the result.
313177298Sobrien	(print_symbol_info_bsd): For undefined symbols, print leading
313277298Sobrien	spaces equivalent to the width of a printed bfd_vma, rather than
313377298Sobrien	assuming that 8 will look right.
313477298Sobrien
313577298SobrienFri Jul 22 10:36:50 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
313677298Sobrien
313777298Sobrien	* coffgrok.c (doit):  Zero all fields of new structure.
313877298Sobrien	* srconv.c (sysroff_swap_*_out): Remove redundant trailing arg.
313977298Sobrien	* sysinfo.y: Generate sysroff_swap_*_out without requiring extra
314077298Sobrien	arg.
314177298Sobrien
314277298SobrienFri Jul 22 10:09:53 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
314377298Sobrien
314477298Sobrien	* nlmheader.y: Make "stack" and "stacksize" synonyms in the lexer
314577298Sobrien	  rather than the parser.
314677298Sobrien
314777298SobrienThu Jul 21 10:25:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
314877298Sobrien
314977298Sobrien	* config/mh-alphaosf, config/mh-apollo68v, config/mh-delta88:
315077298Sobrien	Remove; obsolete.
315177298Sobrien
315277298SobrienSat Jul 16 22:34:39 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
315377298Sobrien
315477298Sobrien	* objdump.c (slurp_dynamic_symtab): Try to get the dynamic symbols
315577298Sobrien	even if the bfd is not marked DYNAMIC.  ELF executables are not
315677298Sobrien	marked DYNAMIC, but do have dynamic symbols.
315777298Sobrien
315877298SobrienFri Jul 15 01:41:35 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
315977298Sobrien
316077298Sobrien	* coffgrok.c (do_where): Make data with no type 'int'.
316177298Sobrien	(do_define):  Keep info on source file of a symbol.
316277298Sobrien	* coffgrok.h (coff_symbol): New field.
316377298Sobrien	* srconv.c (PROGRAM_VERSION): Now 1.3
316477298Sobrien	(wr_rl): Use external ref number for symbol.
316577298Sobrien	(wr_dus): Only keep one source file per debug unit.
316677298Sobrien	(wr_dln): Always emit line numbers for first source file,
316777298Sobrien	(wr_globals):  Emit globals in the du of their owning source file.
316877298Sobrien
316977298SobrienMon Jul 11 15:59:03 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
317077298Sobrien
317177298Sobrien	* nlmheader.y: Null terminate var_hdr->threadName.
317277298Sobrien
317377298SobrienFri Jul  8 17:33:22 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
317477298Sobrien
317577298Sobrien	* Makefile.in (syslex.o, sysinfo.o): Permit C source files to be
317677298Sobrien	in $(srcdir), as they will be for FSF releases.
317777298Sobrien
317877298SobrienWed Jul  6 01:13:14 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
317977298Sobrien
318077298Sobrien	* nlmconv.c (setup_sections): Preserve existing section flags when
318177298Sobrien	copying in flags from a new section.
318277298Sobrien
318377298SobrienTue Jul  5 15:56:01 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
318477298Sobrien
318577298Sobrien	* objcopy.c: Include libiberty.h.
318677298Sobrien	(copy_file): If output_target is NULL, set it to the target of the
318777298Sobrien	input file.
318877298Sobrien
318977298SobrienWed Jun 29 17:17:14 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
319077298Sobrien
319177298Sobrien	* nlmconv.c (link_inputs): Fixed memory allocation bug.
319277298Sobrien
319377298SobrienThu Jun 23 12:52:46 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
319477298Sobrien
319577298Sobrien	* configure.in: Change --with-targets to --enable-targets.
319677298Sobrien
319777298SobrienTue Jun 21 12:53:21 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
319877298Sobrien
319977298Sobrien	* Makefile.in (sysinfo): Does not depend upon $(ADDL_LIBS).
320077298Sobrien
320177298Sobrien	* nlmconv.c (powerpc_build_stubs): Don't generate the PowerPC
320277298Sobrien	NetWare custom header; no longer needed.
320377298Sobrien	(powerpc_mangle_relocs): Convert relocs against the uninitialized
320477298Sobrien	data section into relocs against the data section.
320577298Sobrien
320677298Sobrien	* configure.in: Set nlmconv_defs to -DNLMCONV_cputype for all the
320777298Sobrien	netware targets.  Write it into Makefile as NLMCONV_DEFS.
320877298Sobrien	* Makefile.in (nlmconv.o): Pass $(NLMCONV_DEFS) to $(CC).
320977298Sobrien	* nlmconv.c: Only compile code for specific CPU types if
321077298Sobrien	NLMCONV_cputype is defined.
321177298Sobrien
321277298Sobrien	* nlmconv.c (main): Change uses of bfd_abs_section, etc., to use
321377298Sobrien	bfd_abs_section_ptr or bfd_is_abs_section, etc.
321477298Sobrien	(i386_mangle_relocs, alpha_mangle_relocs): Likewise.
321577298Sobrien	(powerpc_build_stubs): Likewise.
321677298Sobrien	* nm.c (filter_symbols, print_symbols): Likewise.
321777298Sobrien	* objcopy.c (filter_symbols): Likewise.
321877298Sobrien	(mark_symbols_used_in_relocations): Likewise.
321977298Sobrien	* objdump.c (remove_useless_symbols, dump_relocs): Likewise.
322077298Sobrien	* size.c (sysv_internal_printer): Likewise.
322177298Sobrien
322277298SobrienMon Jun 20 16:43:03 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
322377298Sobrien
322477298Sobrien	* Makefile.in (MANPAGES): Remove $(DEMANGLER_PROG).
322577298Sobrien	(install): Install it explicitly, from build dir, not srcdir.
322677298Sobrien
322777298SobrienMon Jun 20 16:29:54 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
322877298Sobrien
322977298Sobrien	* objdump.c: Don't include elf/internal.h.
323077298Sobrien	(bfd_elf_find_section): Don't declare.
323177298Sobrien	(read_section_stabs): No special handling for ELF.  Always read
323277298Sobrien	using BFD sections.
323377298Sobrien
323477298SobrienThu Jun 16 17:25:20 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
323577298Sobrien
323677298Sobrien	* configure.in: Set UNDERSCORE in Makefile based on result of
323777298Sobrien	invoking config.bfd with a second argument of ``_''.
323877298Sobrien	* Makefile.in (underscore.c): Depend upon Makefile.  Don't try to
323977298Sobrien	run $(CC) and $(NM), just use $(UNDERSCORE).  Create via temporary
324077298Sobrien	file.
324177298Sobrien	(demangle.o): Remove target.
324277298Sobrien	($(NM_PROG)): Don't depend upon demangle.o, and	don't link against
324377298Sobrien	demangle.o.  It's in libiberty anyhow.
324477298Sobrien	(cplus-dem.o): Don't depend upon demangle.o.
324577298Sobrien	* binutils.texi: Mention -n and --no-strip-underscores arguments
324677298Sobrien	to c++filt.
324777298Sobrien
324877298SobrienWed Jun 15 12:10:31 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
324977298Sobrien
325077298Sobrien	* nm.c (long_options): Add --no-demangle to turn off --demangle,
325177298Sobrien	and --no-cplus for Linux compatibility.
325277298Sobrien	(usage): Mention --no-demangle.
325377298Sobrien	* binutils.texi: Document --no-demangle.
325477298Sobrien
325577298SobrienFri Jun 10 15:41:25 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
325677298Sobrien
325777298Sobrien	* nm.c: HOST_64_BIT was renamed to BFD_HOST_64_BIT.
325877298Sobrien
325977298Sobrien	* objcopy.c (copy_archive): Make the temporary directory in the
326077298Sobrien	same directory as the output BFD, since we may not have write
326177298Sobrien	permission on the current directory.  Set the permissions of the
326277298Sobrien	new directory to 0700, not 0777.
326377298Sobrien
326477298SobrienMon Jun  6 21:36:43 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
326577298Sobrien
326677298Sobrien	* configure.in: if this is an rs6000 (and we're not building for
326777298Sobrien	any other bfd targets) then build only nm (collect needs it on
326877298Sobrien	rs6000-lynx).
326977298Sobrien
327077298Sobrien	* Makefile.in: define TOOL_PROGS which the list of programes to
327177298Sobrien	install in $tooldir -- replaces a hard-coded list.
327277298Sobrien
327377298SobrienFri Jun  3 10:59:18 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
327477298Sobrien
327577298Sobrien	* objdump.c (display_target_list): Remove unused local ok.
327677298Sobrien
327777298SobrienThu May 26 18:05:52 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
327877298Sobrien
327977298Sobrien	* config/mh-alphaosf (CFLAGS): Don't specify both -g and -O;
328077298Sobrien	they're not compatible under native cc.  Use -O1 instead.
328177298Sobrien
328277298Sobrien	* Makefile.in (VERSION): Updated to cygnus-2.4.1.
328377298Sobrien
328477298Sobrien	Changes from binutils-2.4 net release:
328577298Sobrien
328677298Sobrien	* Makefile.in (MANPAGES): Use $(DEMANGLER_PROG).
328777298Sobrien	($(DEMANGLER_PROG).1): Build from cxxfilt.man, using sed.
328877298Sobrien	* cxxfilt.man: Renamed from c++filt.1, replaced "c++filt" with
328977298Sobrien	magic token to be replaced by sed.
329077298Sobrien
329177298Sobrien	Wed May 11 22:32:00 1994  DJ Delorie (dj@ctron.com)
329277298Sobrien
329377298Sobrien	* configure.bat: update for latest makefile.in
329477298Sobrien
329577298SobrienFri May 13 23:25:13 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
329677298Sobrien
329777298Sobrien	* bucomm.c: Check ANSI_PROTOTYPES rather than __STDC__.
329877298Sobrien
329977298SobrienTue May 10 18:22:06 1994  Jason Molenda    (crash@sendai.cygnus.com)
330077298Sobrien
330177298Sobrien	* objcopy.c (copy_section): Set section size correctly if using
330277298Sobrien	interleave.
330377298Sobrien
330477298SobrienSat May  7 16:49:36 1994  Steve Chamberlain  (sac@cygnus.com)
330577298Sobrien
330677298Sobrien	* Makefile.in: Add rule for sysinfo.h
330777298Sobrien
330877298SobrienFri May  6 12:18:33 1994  Steve Chamberlain  (sac@cygnus.com)
330977298Sobrien
331077298Sobrien	* Makefile.in (SRCONV_PROG): Define.
331177298Sobrien	(PROGS): Use $(SRCONV_PROG) too.
331277298Sobrien
331377298SobrienThu May  5 19:41:43 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
331477298Sobrien
331577298Sobrien	* Makefile.in (DISTSTUFF): Add sysinfo.c, syslex.c, in case
331677298Sobrien	someone configures with `targets=all'.
331777298Sobrien	(distclean): Remove y.*.
331877298Sobrien	(syslex.o): Depend on sysinfo.h.
331977298Sobrien	(sysinfo.c): Rename y.tab.h to sysinfo.h.
332077298Sobrien	(install-info): Don't try to install into $(infodir)/$(srcdir).
332177298Sobrien	* syslex.l: Include sysinfo.h, not y.tab.h.
332277298Sobrien
332377298SobrienThu May  5 11:50:55 1994  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
332477298Sobrien
332577298Sobrien	* syslex.l (yywrap): Define as function if not defined as a macro.
332677298Sobrien
332777298Sobrien	* Makefile.in (objdump.o): Deleted special rule.
332877298Sobrien	* configure.in: Don't bother building ARCHDEFS variable for
332977298Sobrien	Makefile.
333077298Sobrien	* objdump.c (ARCH_*): Deleted handling.
333177298Sobrien	(disassemble_data): Call `disassembler' from opcodes library.
333277298Sobrien
333377298SobrienThu May  5 13:28:42 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
333477298Sobrien
333577298Sobrien	* Makefile.in (install): Correct handling of $(tooldir) and
333677298Sobrien	$(bindir) being on different devices.
333777298Sobrien
333877298SobrienFri Apr 29 09:50:38 1994  Steve Chamberlain  (sac@cygnus.com)
333977298Sobrien
334077298Sobrien	* sysdump.c (h8300, sh): Add declarations.
334177298Sobrien
334277298SobrienWed Apr 27 11:25:18 1994  Steve Chamberlain  (sac@cygnus.com)
334377298Sobrien
334477298Sobrien	* Makefile.in (syslex, sysinfo): Use CC_FOR_BUILD.
334589857Sobrien	* coffdump.c, coffgrok.c, coffgrok.h, srconv.c, sysdump.c,
334677298Sobrien	sysroff.info: Major changes.
334777298Sobrien
334877298SobrienTue Apr 26 18:18:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
334977298Sobrien
335077298Sobrien	* objdump.c (print_section_stabs): Indicate the stab header symbol
335177298Sobrien	more clearly, print numbers of unrecognized stab n_type values.
335277298Sobrien
335377298SobrienTue Apr 26 16:22:55 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
335477298Sobrien
335577298Sobrien	* nlmconv.c (copy_sections): Copy arelent pointers, not arelents.
335677298Sobrien
335777298SobrienMon Apr 25 16:14:32 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
335877298Sobrien
335977298Sobrien	* Makefile.in (distclean): Remove $(PROGS) and underscore.c.
336077298Sobrien
336177298SobrienFri Apr 22 11:14:19 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
336277298Sobrien
336377298Sobrien	* nlmconv.c (setup_sections): Remove special handling of .reginfo
336477298Sobrien	section.
336577298Sobrien	(copy_sections): Likewise.
336677298Sobrien	(alpha_mangle_relocs): Use bfd_ecoff_get_gp_value rather than the
336777298Sobrien	special ECOFF .reginfo section.
336877298Sobrien
336977298Sobrien	* objcopy.c (copy_object): Call bfd_copy_private_bfd_data after
337077298Sobrien	copying everything else, to let it fiddle with the file in its
337177298Sobrien	final state.
337277298Sobrien
337377298Sobrien	* objdump.c: Include libiberty.h.
337477298Sobrien	(display_target_list): If a format fails, just go on to the next
337577298Sobrien	one.  Check return value of bfd_set_format.
337677298Sobrien	(display_info_table): Likewise.  Don't increment loop variable in
337777298Sobrien	for loop test, since that skips the first element.
337877298Sobrien	(display_target_tables): Rewrite loop for clarity.  Ensure that it
337977298Sobrien	always prints at least one element.
338077298Sobrien
338177298Sobrien	* nlmconv.c (main): Use CyGnUsEx rather than CyGnUsSeCs for
338277298Sobrien	sections header.  Rename from cygnus_sections to cygnus_ext.
338377298Sobrien
338477298SobrienThu Apr 21 12:12:26 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
338577298Sobrien
338677298Sobrien	* objdump.c (_DUMMY_NAME_): Don't define.
338777298Sobrien	(display_target_list): Use tmpnam to get a file name rather than
338877298Sobrien	using _DUMMY_NAME_.  Unlink it when done.
338977298Sobrien	(display_info_table): Likewise.
339077298Sobrien
339177298Sobrien	* nlmconv.c (secsec): New static variable.
339277298Sobrien	(main): Create .nlmsections section in output BFD.  Store
339377298Sobrien	information about it in sections header.
339477298Sobrien	(setup_sections): Allocate space in sections header.
339577298Sobrien	(copy_sections): Copy zero sized sections.  Put information about
339677298Sobrien	each section in the sections header.
339777298Sobrien
339877298SobrienWed Apr 20 14:34:51 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
339977298Sobrien
340077298Sobrien	* nlmconv.c (powerpc_build_stubs): Take new outbfd argument.
340177298Sobrien	Change caller.  Create custom header for new PowerPC NetWare
340277298Sobrien	format.
340377298Sobrien
340477298Sobrien	* Makefile.in (nlmheader.o, nlmconv.o): Update dependencies.
340577298Sobrien	* nlmconv.c: Include bfd.h and libiberty.h with "", not <>.
340677298Sobrien	* nlmheader.y: Include bfd.h with "", not <>.
340777298Sobrien
340877298SobrienWed Apr 13 10:52:50 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
340977298Sobrien
341077298Sobrien	* objdump.c: Do an ifdef on __GO32__, not unix.
341177298Sobrien
341277298SobrienWed Apr  6 21:54:49 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
341377298Sobrien
341477298Sobrien	Added -D (--dynamic) option to nm and -T (--dynamic-syms) and -R
341577298Sobrien	(--dynamic-reloc) arguments to objdump.
341677298Sobrien	* nm.c (dynamic): New static variable.
341777298Sobrien	(long_options): Added "dynamic".
341877298Sobrien	(usage): Mention -D and --dynamic.
341977298Sobrien	(main): Add D to getopt string.  Handle -D by setting dynamic.
342077298Sobrien	(display_rel_file): If dynamic is non-zero, read dynamic symbols
342177298Sobrien	rather than normal symbols.
342277298Sobrien	* nm.1: Updated for -D (--dynamic) option.
342377298Sobrien	* objdump.c (dump_dynamic_symtab): New global variable.
342477298Sobrien	(dump_dynamic_reloc_info): New global variable.
342577298Sobrien	(dynsyms, dynsymcount): New global variables.
342677298Sobrien	(usage): Mention -R, -T, --dynamic-syms and --dynamic-reloc.
342777298Sobrien	(long_options): Added "dynamic-reloc" and "dynamic-syms".
342877298Sobrien	(slurp_symtab): If no symbols, return rather than exit.
342977298Sobrien	(slurp_dynamic_symtab): New function.
343077298Sobrien	(display_bfd): Handle dump_dynamic_symtab and
343177298Sobrien	dump_dynamic_reloc_info.
343277298Sobrien	(dump_symbols): Take new dynamic argument, indicating whether to
343377298Sobrien	display dynamic symbols.
343477298Sobrien	(dump_relocs): Move most printing into dump_reloc_set.
343577298Sobrien	(dump_dynamic_relocs): New function.
343677298Sobrien	(dump_reloc_set): New function, extracted from dump_relocs.
343777298Sobrien	(main): Add R and T to getopt string.  Handle -T by setting
343877298Sobrien	dump_dynamic_symtab and -R by setting dump_dynamic_reloc_info.
343977298Sobrien	* objdump.1: Updated for -R (--dynamic-reloc) and -T
344077298Sobrien	(--dynamic-syms) options.
344177298Sobrien	* binutils.texi: Updated for new nm and objdump options.
344277298Sobrien
344377298SobrienWed Mar 30 15:52:40 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
344477298Sobrien
344577298Sobrien	Update for recent BFD changes to symbol and reloc reading.  Rename
344677298Sobrien	all uses of get_symtab_upper_bound to bfd_get_symtab_upper_bound.
344777298Sobrien	Also:
344877298Sobrien	* coffgrok.c (symcount): Change to long.
344977298Sobrien	(do_sections_p1): Check for error return from
345077298Sobrien	bfd_get_reloc_upper_bound.  Change relcount to long, and check for
345177298Sobrien	error from bfd_canonicalize_reloc.
345277298Sobrien	(coff_grok): Change storage to long.  Check for error from
345377298Sobrien	bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
345477298Sobrien	* nlmconv.c (main): Change symcount, newsymalloc, newsymcount, and
345577298Sobrien	i to long.  Check for error from bfd_get_symtab_upper_bound and
345677298Sobrien	bfd_canonicalize_symtab.
345777298Sobrien	(copy_sections): Change reloc_size and reloc_count to long.  Check
345877298Sobrien	for error from bfd_get_reloc_upper_bound and
345977298Sobrien	bfd_canonicalize_reloc.
346077298Sobrien	(mangle_relocs, i386_mangle_relocs, alpha_mangle_relocs): Change
346177298Sobrien	reloc_count_ptr argument to long *.  Make corresponding changes to
346277298Sobrien	variables loaded from *reloc_count_ptr.
346377298Sobrien	* nm.c (display_rel_file): Change storage and symcount to long.
346477298Sobrien	Check for errors from bfd_get_symtab_upper_bound and
346577298Sobrien	bfd_canonicalize_symtab.
346677298Sobrien	* objcopy.c (filter_symbols): Change symcount, src_count and
346777298Sobrien	dst_count to long.
346877298Sobrien	(copy_object): Change symcount to long.  Pass another argument to
346977298Sobrien	fprintf.  Check for errors from bfd_get_symtab_upper_bound and
347077298Sobrien	bfd_canonicalize_symtab.
347177298Sobrien	(copy_section): Change relcount to long.  Check for errors from
347277298Sobrien	bfd_get_reloc_upper_bound and bfd_canonicalize_reloc.
347377298Sobrien	(mark_symbols_used_in_relocations): Change relcount and i to long.
347477298Sobrien	Check for errors form bfd_get_reloc_upper_bound and
347577298Sobrien	bfd_canonicalize_reloc.
347677298Sobrien	* objdump.c (storage): Remove global variable.
347777298Sobrien	(symcount): Changed to long.
347877298Sobrien	(slurp_symtab): New local variable storage.  Check for errors from
347977298Sobrien	bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
348077298Sobrien	(remove_useless_symbols): Change return value and count to long.
348177298Sobrien	(objdump_print_address): Change min, max, thisplace and i to long.
348277298Sobrien	(disassemble_data): Change i to long.
348377298Sobrien	(dump_symbols): Change count to long.
348477298Sobrien	(dump_relocs): Change relcount to long.  Check for errors from
348577298Sobrien	bfd_ret_reloc_upper_bound and bfd_canonicalize_reloc.
348677298Sobrien	(display_info_table): Add casts when passing LONGEST_ARCH for
348777298Sobrien	printf %* argument.
348877298Sobrien
348977298SobrienTue Mar 29 14:59:04 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
349077298Sobrien
349177298Sobrien	* nm.c (display_archive): Close each archive element after it has
349277298Sobrien	been displayed.
349377298Sobrien	* objdump.c (display_file): Likewise.
349477298Sobrien
349577298SobrienMon Mar 28 13:04:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
349677298Sobrien
349777298Sobrien	* configure.in: Change error message to refer to bfd/config.bfd
349877298Sobrien	rather than bfd/configure.in.
349977298Sobrien
350077298SobrienSun Mar 27 16:23:39 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
350177298Sobrien
350277298Sobrien	* More fixes for object formats which allow multiple sections
350377298Sobrien	with the same name:
350477298Sobrien	* objcopy.c (setup_section): Make a new output section even if
350577298Sobrien	one already exists with the given name.
350677298Sobrien	(copy_section): Use isection->output_section rather than trying
350777298Sobrien	to look the output section up by its (possibly non-unique) name.
350877298Sobrien
350977298Sobrien	* Makefile.in (install-info): Look for binutils.info in the
351077298Sobrien	current directory, then in $(srcdir).  Don't use $<.
351177298Sobrien
351277298SobrienMon Mar 21 12:55:45 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
351377298Sobrien
351477298Sobrien	* objdump.c (objdump_print_address): Make static.  Declare with
351577298Sobrien	prototype.  Change vardiff from int to bfd_signed_vma.  Correct
351677298Sobrien	binary search termination condition.  When looking for same
351777298Sobrien	section symbol in relocatable file, handle final symbol correctly.
351877298Sobrien
351977298SobrienSun Mar 20 11:26:36 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
352077298Sobrien
352177298Sobrien	* Makefile.in: Avoid bug in hpux sed.
352277298Sobrien
352377298Sobrien	* objcopy.c: Changes to keep it from stripping symbols used
352477298Sobrien	in output relocations.
352577298Sobrien	(mark_symbols_used_in_relocations): New function.  Mark symbols
352677298Sobrien	used in output relocations with BSF_KEEP.
352777298Sobrien	(filter_symbols): Do not strip symbols marked with BSF_KEEP.
352877298Sobrien	(copy_object): Reorder actions.  First setup sections, then
352977298Sobrien	build the output symbol table, then copy the section contents.
353077298Sobrien
353177298SobrienFri Mar 18 10:53:55 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
353277298Sobrien
353377298Sobrien	* ar.c (write_archive): Allocate space for the null byte.  From
353477298Sobrien	Robert Lipe <robertl@arnet.com>.
353577298Sobrien
353677298SobrienThu Mar 17 16:20:28 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
353777298Sobrien
353877298Sobrien	* Makefile.in: Built nm.new and strip.new to avoid problems with
353977298Sobrien	collect when . is in PATH.
354077298Sobrien	(STRIP_PROG): Change from strip to strip.new.
354177298Sobrien	(NM_PROG): Change from nm to nm.new.
354277298Sobrien	(install): Remove the .new when installing.
354377298Sobrien
354477298SobrienWed Mar 16 16:27:05 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
354577298Sobrien
354677298Sobrien	* nlmconv.c (powerpc_build_stubs): Set BSF_DYNAMIC flag for each
354777298Sobrien	symbol for which we build a stub.
354877298Sobrien	(powerpc_mangle_relocs): Only reset TOC pointer for a call to a
354977298Sobrien	symbol with BSF_DYNAMIC flag set.
355077298Sobrien
355177298SobrienTue Mar 15 23:04:13 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
355277298Sobrien
355377298Sobrien	* objcopy.c (filter_symbols): Use bfd_is_local_label to determine
355477298Sobrien	if a symbol represents a compiler-generated local label.
355577298Sobrien	(copy_object): Give the BFD backends a chance to copy any private
355677298Sobrien	bfd data from the input BFD to the output BFD.
355777298Sobrien	(setup_section): Give the BFD backends a chance to copy any private
355877298Sobrien	section data from the input section to the output section.
355977298Sobrien
356077298SobrienMon Mar 14 11:15:58 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
356177298Sobrien
356277298Sobrien	* objcopy.c (mangle_section): Delete unused function.
356377298Sobrien	(setup_section): Set osection here instead of calling
356477298Sobrien	mangle section to do it.
356577298Sobrien
356677298SobrienMon Mar 14 12:11:01 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
356777298Sobrien
356877298Sobrien	* ar.c (write_archive): Close inarch before unlinking it.
356977298Sobrien
357077298SobrienFri Mar 11 22:20:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
357177298Sobrien
357277298Sobrien	* nlmconv.c (main): For PowerPC, call powerpc_build_stubs and
357377298Sobrien	powerpc_resolve_stubs.  Use __GOT0, not __toc_start.  Handle it if
357477298Sobrien	the start and end symbols are not in the text section.
357577298Sobrien	(struct powerpc_stub): New struct definition.
357677298Sobrien	(powerpc_stubs, powerpc_stub_insns): New static variables.
357777298Sobrien	(powerpc_initial_got_size): New static variable.
357877298Sobrien	(powerpc_build_stubs): New function.
357977298Sobrien	(powerpc_resolve_stubs): New function.
358077298Sobrien	(powerpc_mangle_relocs): Clear extraneous data in .got section.
358177298Sobrien	Rearrange reloc handling to handle ELF relocs that are not
358277298Sobrien	partial_inplace.  Resolve PC relative relocs.
358377298Sobrien
358477298SobrienWed Mar  9 13:48:11 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
358577298Sobrien
358677298Sobrien	* ar.c (move_members): Fix it so that the abi positional modifiers
358777298Sobrien	don't delete all archive members following the insert point.
358877298Sobrien
358977298SobrienTue Mar  8 13:14:43 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
359077298Sobrien
359177298Sobrien	* coffgrok.[ch]: New files, understand coff objects.
359277298Sobrien	* coffdump.c: Uses coffgrok to dump out the debug info of a coff
359377298Sobrien	file.
359477298Sobrien	* sysroff.info: Description of a SYSROFF object file.
359577298Sobrien	* sysinfo.y, syslex.l: Parse info file, generate a reader, writer,
359677298Sobrien	header files and a printer.
359777298Sobrien	* srconv.c: Uses coffgrok.c and sysroff.info to convert a coff
359877298Sobrien	file to a SYSROFF file.
359977298Sobrien
360077298SobrienSat Feb 26 13:35:26 1994  Stan Shebs  (shebs@andros.cygnus.com)
360177298Sobrien
360277298Sobrien	* ar.c (do_quick_append): Pad with a genuine character 10,
360377298Sobrien	rather than whatever '\n' might happen to be.
360477298Sobrien
360577298SobrienTue Feb 22 18:25:52 1994  Ian Lance Taylor  (ian@cygnus.com)
360677298Sobrien
360777298Sobrien	* nlmconv.c (main): Ignore debugging symbols when looking for
360877298Sobrien	special symbols by name.
360977298Sobrien
361077298SobrienSun Feb 20 18:47:42 1994  Ian Lance Taylor  (ian@lisa.cygnus.com)
361177298Sobrien
361277298Sobrien	* nlmconv.c: Include libiberty.h.
361377298Sobrien
361477298Sobrien	Support for PowerPC NetWare.
361577298Sobrien	* nlmconv.c (main): For PowerPC NetWare, automatically define the
361677298Sobrien	special symbols __toc_start.
361777298Sobrien	(select_output_format): Handle bfd_arch_powerpc.
361877298Sobrien	(mangle_relocs): Likewise.
361977298Sobrien	(powerpc_mangle_relocs): New function.
362077298Sobrien
362177298SobrienThu Feb 17 09:28:23 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
362277298Sobrien
362377298Sobrien	* ar.c, bucomm.c, nlmconv.c, nm.c, objcopy.c, objdump.c,
362477298Sobrien	size.c: Use bfd_get_error and bfd_set_error and new error names.
362577298Sobrien
362677298SobrienFri Feb 11 15:54:51 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
362777298Sobrien
362877298Sobrien	* objcopy.c (strip_main, copy_main): Add missing 'break' in switch.
362977298Sobrien
363077298SobrienMon Feb  7 19:45:52 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
363177298Sobrien
363277298Sobrien	* objdump.c (disassemble_data): Handle bfd_arch_powerpc.
363377298Sobrien
363477298SobrienSun Feb  6 22:08:20 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
363577298Sobrien
363677298Sobrien	* strings.c objdump.c nlmconv.c objcopy.c nm.c ar.c size.c (main):
363777298Sobrien	Call xmalloc_set_program_name.
363877298Sobrien
363977298SobrienFri Feb  4 10:46:01 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
364077298Sobrien
364177298Sobrien	* objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we
364277298Sobrien	can do arithmetic on it.
364377298Sobrien
364477298SobrienThu Feb  3 14:06:41 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
364577298Sobrien
364677298Sobrien	* objdump.c (dump_section_stabs, read_section_stabs,
364777298Sobrien	print_section_stabs): Functions broken out of dump_stabs_1.
364877298Sobrien	Free the stabs and strings when done with them.
364977298Sobrien
365077298SobrienWed Feb  2 13:42:23 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
365177298Sobrien
365277298Sobrien	* nlmconv.c (main): Use bfd_get_flavour instead of struct member.
365377298Sobrien	* ar.c (print_contents, extract_file), size.c
365477298Sobrien	(print_berkeley_format, print_sysv_format): Use bfd_get_filename and
365577298Sobrien	bfd_my_archive instead of dereferencing the structs directly.
365677298Sobrien
365777298Sobrien	* ar.c: Use bfd_fatal and bfd_nonfatal instead of bfd_perror and exit.
365877298Sobrien	Indent.  Remove DEFUNs.
365977298Sobrien
366077298Sobrien	* nlmconv.c (main), objcopy.c (copy_file): Print matching formats
366177298Sobrien	if ambiguous match.
366277298Sobrien	* nm.c (display_file, display_archive), size.c (display_bfd):
366377298Sobrien	Eliminate gotos.
366477298Sobrien	Print matching formats if there is an ambiguous match.  Use
366577298Sobrien	bfd_nonfatal instead of hardcoded error message if nothing matches.
366677298Sobrien
366777298Sobrien	* arsup.c, ar.c, objdump.c: Use bfd_get_filename instead of
366877298Sobrien	abfd->filename.
366977298Sobrien
367077298Sobrien	* nm.c (display_archive): New function, from code in display_file.
367177298Sobrien	(display_rel_file): Renamed from do_one_rel_file.
367277298Sobrien
367377298Sobrien	* size.c: Indent.
367477298Sobrien	(display_archive): New function from code in display_file.
367577298Sobrien	(display_file): Check bfd_close error return.
367677298Sobrien
367777298Sobrien	* strings.c (strings_object_file): Check bfd_check_format
367877298Sobrien	error return.
367977298Sobrien
368077298Sobrien	* strings.c, objdump.c, size.c: Use bfd_nonfatal instead of bfd_perror.
368177298Sobrien
368277298Sobrien	* bucomm.c: Delete references to exit_handler.  It wasn't set
368377298Sobrien	anywhere, and now that we're using the libiberty xmalloc, it
368477298Sobrien	wouldn't always get called before exiting.
368577298Sobrien	(list_matching_formats): Function moved from objdump.c.
368677298Sobrien	* bucomm.h: Declare it.
368777298Sobrien
368877298Sobrien	* objdump.c (disassemble_data): Move some variable decls closer to
368977298Sobrien	their use.  Add some comments.  Replace a nested block with a
369077298Sobrien	return.
369177298Sobrien
369277298SobrienMon Jan 31 18:50:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
369377298Sobrien
369477298Sobrien	* objdump.c (display_target_list, display_info_table): Check that
369577298Sobrien	the bfd of the dummy output file is not null.
369677298Sobrien
369777298SobrienWed Jan 26 13:13:18 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
369877298Sobrien
369977298Sobrien	* objcopy.c (filter_bytes): New function.
370077298Sobrien	(copy_section): Call it.
370177298Sobrien	(copy_options, copy_usage, copy_main): Add --byte option to
370277298Sobrien	activate it.  Appropriate the -b option (which was an undocumented
370377298Sobrien	synonym for -F) for it, also.  Add --interleave, -i option for
370477298Sobrien	additional control.
370577298Sobrien	(setup_section, copy_section, mangle_section): Renamed with no `s'
370677298Sobrien	on the end.
370777298Sobrien	* objcopy.1, binutils.texi: Document the new options.
370877298Sobrien
370977298Sobrien	* objdump.c (display_target_tables, display_target_list):
371077298Sobrien	New functions broken out of display_info.
371177298Sobrien	Eliminate some magic constants.  Use more meaningful variable names.
371277298Sobrien	(dump_bfd_header): New function broken out of display_bfd.
371377298Sobrien	(dump_section_header): New function broken out of dump_headers.
371477298Sobrien	(remove_useless_symbols): Don't shadow global variable name with
371577298Sobrien	parameter.
371677298Sobrien	(objdump_print_address): Fix backward test.
371777298Sobrien
371877298SobrienTue Jan 25 19:40:54 1994  Stan Shebs  (shebs@andros.cygnus.com)
371977298Sobrien
372077298Sobrien	* bucomm.c (print_arelt_descr): Change decl of `when' to time_t.
372177298Sobrien	* objdump.h: Removed.
372277298Sobrien
372377298SobrienMon Jan 24 13:29:02 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
372477298Sobrien
372577298Sobrien	* objdump.c (display_file): Remove call to list_matching_formats.
372677298Sobrien	It would never be called.
372777298Sobrien	(list_matching_formats): Take an arg giving the list of matching
372877298Sobrien	formats.
372977298Sobrien	(display_bfd): Pass the arg, and get it filled in by calling
373077298Sobrien	bfd_check_format_matches instead of bfd_check_format.
373177298Sobrien	(display_info, display_info_table): target_vector was renamed to
373277298Sobrien	bfd_target_vector.
373377298Sobrien
373477298Sobrien	* binutils.texi (objdump): Note some limitations of -h section
373577298Sobrien	address printing.
373677298Sobrien
373777298SobrienSat Jan 22 16:20:46 1994  Stan Shebs  (shebs@andros.cygnus.com)
373877298Sobrien
373977298Sobrien	* Makefile.in (MALLOC): Set to emptiness by default.
374077298Sobrien	(ALL_CFLAGS): Add and use.
374177298Sobrien	(arparse.h): Make it depend on arparse.y.
374277298Sobrien	* ar.c (libbfd.h): Don't require to be in ../bfd.
374377298Sobrien	* objdump.c (comp): Rename to compare_symbols.
374477298Sobrien
374577298SobrienFri Jan 21 20:22:30 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
374677298Sobrien
374777298Sobrien	* objdump.c (list_matching_formats): If the file format is ambiguous,
374877298Sobrien	print the matching names so the user can choose one.
374977298Sobrien	(display_bfd): Call it.
375077298Sobrien	(display_file): Call it.
375177298Sobrien
375277298SobrienFri Jan 21 19:17:25 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
375377298Sobrien
375477298Sobrien	* objdump.c (disassemble_data): Support bfd_arch_rs6000.
375577298Sobrien
375677298SobrienMon Jan 17 13:57:25 1994  Stan Shebs  (shebs@andros.cygnus.com)
375777298Sobrien
375877298Sobrien	* objdump.c (stab_name): Allocate dynamically.
375977298Sobrien	(stab_print): Use pointers to strings instead of char arrays.
376077298Sobrien	(dump_stabs): Change alloc and init of arrays appropriately.
376177298Sobrien	(dump_stabs_1): Always decide whether to print stab_name or
376277298Sobrien	the stab's type number, if unnamed.
376377298Sobrien
376477298SobrienFri Jan 14 14:42:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
376577298Sobrien
376677298Sobrien	* objcopy.c (strip_main, copy_main): Don't clobber the input file
376777298Sobrien	if copy_file fails.
376877298Sobrien
376977298Sobrien	* nlmconv.c (main): Warn about an attempt to use a shared library
377077298Sobrien	with uninitialized data.
377177298Sobrien
377277298Sobrien	* nlmconv.c (setup_sections): Make sure that we align the
377377298Sobrien	output_offset of each input section appropriately.
377477298Sobrien
377577298SobrienThu Jan 13 17:32:44 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
377677298Sobrien
377777298Sobrien	* objdump.c (dump_relocs): Don't crash if section name is NULL.
377877298Sobrien
377977298SobrienTue Jan 11 19:46:33 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
378077298Sobrien
378177298Sobrien	* filemode.c (filemodestring): Commented out; not used.
378277298Sobrien	(mode_string): Use POSIX definitions.
378377298Sobrien	(ftypelet): Likewise.
378477298Sobrien	(rwx): Removed; no longer used.
378577298Sobrien	* bucomm.c: Include bucomm.h.
378677298Sobrien	(bfd_nonfatal, bfd_fatal): Argument is const.
378777298Sobrien	(fatal): Make __STDC__ version.
378877298Sobrien	* bucomm.h (mode_string): Declare.
378977298Sobrien	* Makefile.in (bucomm.o): Depend upon bucomm.h
379077298Sobrien
379177298SobrienSun Jan  9 12:03:20 1994  Ken Raeburn  (raeburn@rtl.cygnus.com)
379277298Sobrien
379377298Sobrien	* bucomm.c (xmalloc, xrealloc): Deleted.
379477298Sobrien	* bucomm.h (xmalloc, xrealloc): Fix prototypes, to correspond to
379577298Sobrien	libiberty version of functions.
379677298Sobrien
379777298SobrienThu Jan  6 06:18:15 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
379877298Sobrien
379977298Sobrien	* binutils.texi: Add a chapter summarizing the ways to select
380077298Sobrien	aspects of the target for each program.
380177298Sobrien
380277298Sobrien	* objdump.c (long_options, usage): Add long equivalents for all
380377298Sobrien	remaining short options that lacked them.
380477298Sobrien	* binutils.texi objdump.1: Document them.
380577298Sobrien
380677298Sobrien	* size.c (usage): Tweak usage message.
380777298Sobrien	* size.1: Add missing `=' in examples.
380877298Sobrien
380977298Sobrien	* binutils.texi strip.1 objcopy.1 nlmconv.1 objcopy.c nlmconv.c:
381077298Sobrien	Use "--target=bfdname" as the option to select the BFD target,
381177298Sobrien	like nm and size already do.
381277298Sobrien	Reserve "--format=format" for textual output selection options, but
381377298Sobrien	for now keep old option names as obsolete for backward compatibility.
381477298Sobrien
381577298Sobrien	* strings.c (main, strings_object_file, usage): Add --target option.
381677298Sobrien	* binutils.texi strings.1: Document it.
381777298Sobrien
381877298SobrienSat Jan  1 13:58:24 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
381977298Sobrien
382077298Sobrien	* ar.c (main): Add \n in error message.
382177298Sobrien
382277298SobrienThu Dec 23 12:23:11 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
382377298Sobrien
382477298Sobrien	gcc -Wall lint:
382577298Sobrien	* ar.c (main): Put parens around assignment used as truth value.
382677298Sobrien	* objcopy.c (strip_main): Remove unused variables.  Return 0.
382777298Sobrien	(copy_main): Remove unused variables.  Return 0.
382877298Sobrien	* objdump.c (display_bfd): Declare return value as void.
382977298Sobrien	(stab_print): Use "" instead of 0 to initialize array.
383077298Sobrien	(dump_stabs_1): Print vma using printf_vma.
383177298Sobrien	(display_info): Put parens around assignment used as truth value.
383277298Sobrien	* strings.c (print_strings): Cast printf arguments.
383377298Sobrien
383477298Sobrien	* objcopy.c (copy_main): Use copy_options, not strip_options.
383577298Sobrien
383677298Sobrien	* nlmheader.y (command): Warn about illegal date values.
383777298Sobrien
383877298SobrienWed Dec 15 11:18:03 1993  David J. MacKenzie  (djm@frosty.eng.umd.edu)
383977298Sobrien
384077298Sobrien	* bucomm.c bucomm.h: Run through indent.  De-ansidecl-ify.
384177298Sobrien	(bfd_nonfatal): New function.
384277298Sobrien	(bfd_fatal): Call it.
384377298Sobrien
384477298Sobrien	* objcopy.c (smart_rename): Do a copy if the dest file has
384577298Sobrien	multiple hard links.  Remove source file on successful copy.
384677298Sobrien	Try to preserve mode and owner on successful rename.
384777298Sobrien
384877298Sobrien	* objcopy.c: Run through indent.  Clean up a bit.
384977298Sobrien	Make global variables static.
385077298Sobrien	Make {input,output}_{target,filename}, show_version local
385177298Sobrien	to various functions.
385277298Sobrien	New global variable `status' for exit status.
385377298Sobrien	(strip_main, copy_main): New functions with code from main.
385477298Sobrien	(nonfatal): New macro.  Use it globally instead of bfd_perror and
385577298Sobrien	bfd_fatal.
385677298Sobrien
385777298Sobrien	(copy_object): Call mangle_sections with bfd_map_over_sections.
385877298Sobrien	(mangle_sections): Adjust for new calling convention.
385977298Sobrien
386077298SobrienFri Dec 10 11:28:11 1993  Ian Lance Taylor  (ian@deneb.cygnus.com)
386177298Sobrien
386277298Sobrien	* nlmheader.y (command): Accept MAP and FULLMAP without arguments.
386377298Sobrien	* nlmconv.c (main): Change error message for MAP and FULLMAP.
386477298Sobrien
386577298SobrienThu Dec  9 17:47:19 1993  Ian Lance Taylor  (ian@deneb.cygnus.com)
386677298Sobrien
386777298Sobrien	* nlmconv.c (main): Warn about imported symbols that are not in
386877298Sobrien	the IMPORT list even if the IMPORT keyword is not used.
386977298Sobrien
387077298Sobrien	* nlmconv.c (debug, unlink_on_exit): New static variables.
387177298Sobrien	(long_options): Add "debug" and "linker".
387277298Sobrien	(main): Handle -d and -l arguments.  Make command line input and
387377298Sobrien	output files optional.  Parse the command file before opening the
387477298Sobrien	BFD's, which requires storing more information in local variables.
387577298Sobrien	If INPUT names multiple files, link them together.  Use OUTPUT for
387677298Sobrien	the output file name if not named on command line.
387777298Sobrien	(show_usage): Changed for new options.
387877298Sobrien	(link_inputs): New function to automatically invoke linker to
387977298Sobrien	handle multiple INPUT files.
388077298Sobrien	(choose_temp_base_try, choose_temp_base, pexecute): New functions,
388177298Sobrien	mostly copied from gcc/gcc.c.
388277298Sobrien	* nlmconv.h (input_files, output_file): Declare.
388377298Sobrien	* nlmheader.y (input_files, output_file): Define.
388477298Sobrien	(command): Support INPUT with a string_list argument.  Support
388577298Sobrien	OUTPUT.
388677298Sobrien	(string_list): Renamed from module_list.
388777298Sobrien	* Makefile.in (nlmconv.o): Define LD_NAME based on
388877298Sobrien	program_transform_name.
388977298Sobrien
389077298SobrienWed Dec  8 10:09:04 1993  Ian Lance Taylor  (ian@deneb.cygnus.com)
389177298Sobrien
389277298Sobrien	* nlmheader.y (nlmheader_identify): New function.  Use it to print
389377298Sobrien	the program name just once, instead of with every error message.
389477298Sobrien
389577298SobrienMon Dec  6 16:11:32 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
389677298Sobrien
389777298Sobrien	* nlmconv.c (long_options): Changed --header-info to --header-file
389877298Sobrien	to match documentation and usage message.
389977298Sobrien
390077298SobrienSun Dec  5 01:31:01 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
390177298Sobrien
390277298Sobrien	* objdump.c (dump_relocs): Avoid dereferencing a NULL sym_ptr_ptr
390377298Sobrien	in a relocation.
390477298Sobrien
390577298SobrienThu Dec  2 16:00:06 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
390677298Sobrien
390777298Sobrien	* nlmconv.c (main): Change various types from bfd_size_type to
390877298Sobrien	size_t, since they have to be arguments to fread and fwrite.
390977298Sobrien	Change set from char * to unsigned char *.
391077298Sobrien	(select_output_format): Make mach argument unsigned.  Handle
391177298Sobrien	bfd_arch_alpha.
391277298Sobrien	(setup_sections): Don't copy the .reginfo section of an ECOFF
391377298Sobrien	file.  Call bfd_set_reloc to initialize the relocation fields.
391477298Sobrien	(copy_sections): Don't copy the .reginfo section of an ECOFF file.
391577298Sobrien	Combine all relocs for a section.
391677298Sobrien	(mangle_relocs): Change type of relocs to permit specific
391777298Sobrien	functions to change it.  Call alpha_mangle_relocs for alpha,
391877298Sobrien	default_mangle_relocs for other architectures.
391977298Sobrien	(default_mangle_relocs): New function.  Adjust the address of all
392077298Sobrien	relocs by the output_offset.
392177298Sobrien	(i386_mangle_relocs): Change type of relocs argument.  Cast length
392277298Sobrien	argument to memmove to size_t.
392377298Sobrien	(alpha_mangle_relocs): New function.
392477298Sobrien
392577298SobrienWed Nov 17 17:38:58 1993  Sean Eric Fagan  (sef@cygnus.com)
392677298Sobrien
392777298Sobrien	* nlmconv.c (select_output_format): Use nlm32-sparc for
392877298Sobrien	bfd_arch_sparc.
392977298Sobrien
393077298SobrienWed Nov 17 14:41:35 1993  Jeffrey Osier  (jeffrey@thepub.cygnus.com)
393177298Sobrien
393277298Sobrien        * nlmconv.1:   added man page
393377298Sobrien	* objcopy.1:   fixed format errors
393477298Sobrien
393577298SobrienWed Nov 17 12:03:41 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
393677298Sobrien
393777298Sobrien	* Makefile.in: Use CFLAGS as well as LDFLAGS when linking.
393877298Sobrien
393977298SobrienWed Nov 17 04:50:55 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
394077298Sobrien
394177298Sobrien	* strings.1: Fix typo.
394277298Sobrien
394377298SobrienMon Nov 15 12:03:20 1993  Ken Raeburn  (raeburn@rtl.cygnus.com)
394477298Sobrien
394577298Sobrien	* Makefile.in (DISTSTUFF): Build "info".
394677298Sobrien	(VERSION): Updated to cygnus-2.3.1; 2.3 has gone out.
394777298Sobrien
394877298SobrienSun Nov 14 00:27:24 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
394977298Sobrien
395077298Sobrien	* objdump.c (dump_stabs): Handle stabs-in-som as implemented
395177298Sobrien	by the new BFD SOM assembler.
395277298Sobrien
395377298SobrienSat Nov 13 07:14:05 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
395477298Sobrien
395577298Sobrien	* ar.1 c++filt.1 nm.1 objcopy.1 objdump.1 ranlib.1 size.1
395677298Sobrien	strings.1 strip.1: Replace \(em in NAME section with \- so
395777298Sobrien	makewhatis can grok it.
395877298Sobrien
395977298SobrienTue Nov  9 15:22:12 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
396077298Sobrien
396177298Sobrien	* nlmconv.c (i386_mangle_relocs): Adjust reloc address by
396277298Sobrien	section output_offset.
396377298Sobrien
396477298SobrienFri Nov  5 12:11:52 1993  Jeffrey Osier  (jeffrey@thepub.cygnus.com)
396577298Sobrien
396677298Sobrien	* binutils.texi:  added nlmconv chapter
396777298Sobrien
396877298SobrienWed Nov  3 16:10:50 1993  Jeffrey Wheat  (cassidy@cygnus.com)
396977298Sobrien
397077298Sobrien	* Makefile.in: Change RUNTESTFLAGS to RUNTEST_FLAGS
397177298Sobrien
397277298SobrienWed Nov  3 15:09:23 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
397377298Sobrien
397477298Sobrien	* Makefile.in (distclean): Don't get rid of dvi or info files.
397577298Sobrien
397677298SobrienTue Nov  2 13:29:59 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
397777298Sobrien
397877298Sobrien	* objcopy.c (S_ISLNK): Define as 0 if there's no S_IFLNK.
397977298Sobrien
398077298SobrienFri Oct 29 16:02:34 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
398177298Sobrien
398277298Sobrien	* binutils.texi: Move objcopy docs into alphabetical order.
398377298Sobrien
398477298Sobrien	* objdump.c: Use xmalloc instead of malloc.
398577298Sobrien
398677298SobrienFri Oct 29 11:11:14 1993  Stan Shebs  (shebs@rtl.cygnus.com)
398777298Sobrien
398877298Sobrien	* objdump.c (info): Rename to formats_info.
398977298Sobrien	(dump_stabs_1): Better comments and formatting.
399077298Sobrien
399177298SobrienThu Oct 28 19:43:16 1993  Stan Shebs  (shebs@rtl.cygnus.com)
399277298Sobrien
399377298Sobrien	* ar.c (main): Always create the archive when quick appending,
399477298Sobrien	even if no input files have been given.
399577298Sobrien
399677298SobrienWed Oct 27 12:03:06 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
399777298Sobrien
399877298Sobrien	* nlmconv.c (main): Set sharedDebugRecordOffset and
399977298Sobrien	sharedDebugRecordCount fields in extended header.
400077298Sobrien
400177298Sobrien	* nlmconv.c (main): Force moduleName field to upper case.
400277298Sobrien
400377298SobrienMon Oct 25 16:45:42 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
400477298Sobrien
400577298Sobrien	* objcopy.c (main): Give a usage message if there are too many
400677298Sobrien	arguments.
400777298Sobrien
400877298SobrienMon Oct 25 10:37:08 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
400977298Sobrien
401077298Sobrien	* Makefile.in (install-info): Rewrite to take advantage of VPATH,
401177298Sobrien	so FSF distributions (with info files in $(srcdir)) install
401277298Sobrien	properly.
401377298Sobrien	(DISTSTUFF): Build nlmheader.c too.
401477298Sobrien
401577298SobrienFri Oct 22 11:43:23 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
401677298Sobrien
401777298Sobrien	* ar.c (program_name): Don't define here.
401877298Sobrien	* objdump.c: Include "bucomm.h".
401977298Sobrien	(xmalloc): Don't declare here.
402077298Sobrien	(program_name): Don't define here.
402177298Sobrien	(program_version): Fixed type in declaration.
402277298Sobrien	* size.c: Include "bucomm.h".
402377298Sobrien	(program_name): Don't declare here.
402477298Sobrien
402577298SobrienFri Oct 22 14:10:41 1993  Mark Eichin  (eichin@cygnus.com)
402677298Sobrien
402777298Sobrien	* objdump.c (fprintf): hide declaration in FPRINTF_ALREADY_DECLARED
402877298Sobrien
402977298SobrienFri Oct  1 12:43:00 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
403077298Sobrien
403177298Sobrien	* nlmconv.c (i386_mangle_relocs): Resolve and remove PC relative
403277298Sobrien	relocs against defined symbols in the same section.
403377298Sobrien
403477298SobrienThu Sep 30 16:46:26 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
403577298Sobrien
403677298Sobrien	* Makefile.in (binutils.dvi): use TEXIDIR to find texinfo.tex
403777298Sobrien
403877298SobrienSat Sep 25 18:09:29 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
403977298Sobrien
404077298Sobrien	* objcopy.c (simple_copy, smart_rename): New functions.
404177298Sobrien	(main): Use them.
404277298Sobrien
404377298SobrienFri Sep 24 15:38:29 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
404477298Sobrien
404577298Sobrien	* Makefile.in (clean, distclean): Recurse into testsuite.
404677298Sobrien
404777298SobrienThu Sep 23 01:05:06 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
404877298Sobrien
404977298Sobrien	* objcopy.c (setup_sections, copy_sections): If stripping, don't
405077298Sobrien	copy SEC_DEBUGGING sections.
405177298Sobrien	* objdump.c (dump_headers): Print SEC_DEBUGGING flag.
405277298Sobrien
405377298Sobrien	* objdump.c (usage): Mention --stabs.
405477298Sobrien
405577298Sobrien	* objcopy.c (copy_object): Copy all applicable file flags.
405677298Sobrien	(copy_file): Don't copy EXEC_P specially here.
405777298Sobrien
405877298SobrienMon Sep 20 19:28:57 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
405977298Sobrien
406077298Sobrien	* nlmconv.c (main): Adjust data section size to correspond to bss
406177298Sobrien	alignment adjustment.  Clear BSF_SECTION_SYM if symbol is moved to
406277298Sobrien	a different section.  Use time_t for time variable.
406377298Sobrien	(setup_sections): Only put sections with contents in output NLM.
406477298Sobrien	(i386_mangle_relocs): No symbols are common at this point.  Add
406577298Sobrien	casts to avoid warnings.
406677298Sobrien
406777298SobrienFri Sep 10 11:00:40 1993  Stan Shebs  (shebs@rtl.cygnus.com)
406877298Sobrien
406977298Sobrien	* objdump.c: Made the --stabs option work for stabs-in-coff.
407077298Sobrien	(ELF_STAB_DISPLAY): Removed.
407177298Sobrien	(dump_elf_stabs): Renamed to dump_stabs, changed to run for
407277298Sobrien	any object file format.
407377298Sobrien	(dump_elf_stabs_1): Renamed to dump_stabs_1, added calls to
407477298Sobrien	generic BFD routines for non-ELF case, changed format of message
407577298Sobrien	for no-section-found case.
407677298Sobrien	(display_bfd): Always call dump_stabs if requested.
407777298Sobrien	(dump_data): Call bfd_section_size to get section size.
407877298Sobrien
407977298SobrienFri Sep 10 08:12:23 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
408077298Sobrien
408177298Sobrien	* Makefile.in (install): Don't put strings in tooldir/bin.
408277298Sobrien
408377298SobrienMon Sep  6 15:39:04 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
408477298Sobrien
408577298Sobrien	* nlmconv.c (total_bss_size): Removed.
408677298Sobrien	(main): Set the bss vma to always follow the data section.  Move
408777298Sobrien	symbols into new sections, and adjust values by output_offset.
408877298Sobrien	(setup_sections): Don't copy all sections, but instead point all
408977298Sobrien	text sections to .text, all data sections to .data, and all bss
409077298Sobrien	sections to .bss.
409177298Sobrien	(copy_sections): Adjust accordingly.
409277298Sobrien
409377298SobrienThu Sep  2 12:34:03 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
409477298Sobrien
409577298Sobrien	Only build nlmconv if configured for a NetWare target.
409677298Sobrien	* configure.in: If we have some *-*-netware* target, or are using
409777298Sobrien	all targets, set BUILD_NLMCONV to $(NLMCONV_PROG) in Makefile.
409877298Sobrien	* Makefile.in (PROGS): Use $(BUILD_NLMCONV) rather than
409977298Sobrien	$(NLMCONV_PROG).
410077298Sobrien
410177298SobrienTue Aug 31 14:13:35 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
410277298Sobrien
410377298Sobrien	* objdump.c (ARCH_all): Define ARCH_hppa too.
410477298Sobrien	(dump_headers): Don't test for SEC_BALIGN if it's not defined by
410577298Sobrien	bfd.h.
410677298Sobrien
410777298SobrienTue Aug 31 13:29:12 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
410877298Sobrien
410977298Sobrien	* nlmconv.c (main): Force creation of .bss section.  Set up the
411077298Sobrien	sections before looking at the symbols.  Move all common symbols
411177298Sobrien	into .bss section.  Automatically define _edata and _end.  Only
411277298Sobrien	export symbols in the export list, with multiple prefixes if
411377298Sobrien	necessary.  Warn if no version.  Always create extended header.
411477298Sobrien	Set date automatically if not already set.
411577298Sobrien	(setup_sections): Count size of bss sections.
411677298Sobrien	(mangle_relocs, i386_mangle_relocs): Accept section argument, and
411777298Sobrien	take reloc_count as a changeable pointer; changed callers.
411877298Sobrien	(i386_mangle_relocs): Remove PC relative relocs within a section,
411977298Sobrien	as they require no adjustment.
412077298Sobrien	* nlmheader.y: Fixed memory allocation throughout: token STRING is
412177298Sobrien	now allocated on the heap, and freed if not needed.  Null
412277298Sobrien	terminated copyright message.  Accept version with only two
412377298Sobrien	strings.
412477298Sobrien	(symbol_list_opt): New nonterminal, either symbol_list or empty.
412577298Sobrien	(symbol_list): Use left recursion to avoid overflowing parser
412677298Sobrien	stack.
412777298Sobrien	(yylex): Rearranged beginning of line check.  Accept quoted
412877298Sobrien	strings using single quotes.  End generic argument at comment
412977298Sobrien	character or parentheses.
413077298Sobrien	(string_list_append): Fixed.
413177298Sobrien	(string_list_append1): New function.
413277298Sobrien
413377298Sobrien	* bucomm.h: The first argument to xrealloc is PTR, not char *.
413477298Sobrien	* bucomm.c (xrealloc): Use PTR rather than char *.
413577298Sobrien	* Makefile.in (objdump.o): Depend upon config.status to notice
413677298Sobrien	--with-targets changes.
413777298Sobrien	(nlmconv.o): Depend upon bucomm.h.
413877298Sobrien
413977298SobrienTue Aug 17 09:46:01 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
414077298Sobrien
414177298Sobrien	* configure.in: Don't pass cpu to config.bfd.
414277298Sobrien
414377298SobrienThu Aug 12 16:43:04 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
414477298Sobrien
414577298Sobrien	* Makefile.in ($(NM_PROG)): Depend on demangle.o.
414677298Sobrien	(demangle.o): New target.
414777298Sobrien	(cplus-dem.o): Depend on it, to force compilation order when doing
414877298Sobrien	parallel compiles.
414977298Sobrien
415077298Sobrien	* nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg.
415177298Sobrien	(struct output_fns print_symbol_info): Ditto.
415277298Sobrien	(long_options, usage, main): Add -C --demangle option.
415377298Sobrien	(print_symname): New function, demangling if requested.
415477298Sobrien	(print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it.
415577298Sobrien
415677298SobrienWed Aug 11 22:57:23 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
415777298Sobrien
415877298Sobrien	* Makefile.in: Put CFLAGS last in compilation rules and omit from
415977298Sobrien	linking rules.  Use ARCHDEFS to compile objdump.c.
416077298Sobrien	Update dependencies.
416177298Sobrien	* configure.in: Construct ARCHDEFS based on the BFD target makefile
416277298Sobrien	fragments.
416377298Sobrien	* objdump.c: Conditionalize calls to the print_insn_ARCH functions
416477298Sobrien	according to ARCHDEFS.
416577298Sobrien
416677298SobrienThu Aug 12 08:06:15 1993  Ian Lance Taylor  (ian@cygnus.com)
416777298Sobrien
416877298Sobrien	* ar.c: Removed obsolete and non-functional GNU960 code.
416977298Sobrien
417077298SobrienWed Aug 11 13:08:26 1993  Ian Lance Taylor  (ian@cygnus.com)
417177298Sobrien
417277298Sobrien	* size.c (berkeley_sum): New function.
417377298Sobrien	(bsssize, datasize, textsize): New global variables.
417477298Sobrien	(bss_section_name, data_section_name, text_section_name): Removed.
417577298Sobrien	(print_berkeley_format): Map berkeley_sum over all the sections,
417677298Sobrien	rather than only reporting sizes of specifically named sections.
417777298Sobrien	* Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o.
417877298Sobrien
417977298SobrienTue Aug 10 10:46:01 1993  Ian Lance Taylor  (ian@cygnus.com)
418077298Sobrien
418177298Sobrien	* nlmconv.c, nlmconv.h, nlmheader.y: New files for program to
418277298Sobrien	convert object files into NetWare Loadable Modules.
418377298Sobrien	* Makefile.in (NLMCONV_PROG): New macro, define to be nlmconv.
418477298Sobrien	(PROGS): Add NLMCONV_PROG.
418577298Sobrien	(nlmheader.c, nlmheader.o, nlmconv.o, $(NLMCONV_PROG)): New
418677298Sobrien	targets.
418777298Sobrien
418877298SobrienThu Aug  5 15:48:32 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
418977298Sobrien
419077298Sobrien	* Makefile.in: define MAKEOVERRIDES to an empty string
419177298Sobrien
419277298SobrienWed Aug  4 17:08:08 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
419377298Sobrien
419477298Sobrien	* objcopy.c (copy_file): Make failures to process a file nonfatal.
419577298Sobrien
419677298SobrienMon Aug  2 11:28:23 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
419777298Sobrien
419877298Sobrien	* nm.c: Add -B option, like --format=bsd.
419977298Sobrien
420077298SobrienTue Jul 27 16:29:54 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
420177298Sobrien
420277298Sobrien	* objcopy.c (copy_file): If the file is neither an object nor an
420377298Sobrien	archive, give an error rather than returning success.
420477298Sobrien
420577298SobrienMon Jul 19 16:13:40 1993  Ken Raeburn  (raeburn@rtl.cygnus.com)
420677298Sobrien
420777298Sobrien	* objdump.c (objdump_print_address): Prefer non-local symbols over
420877298Sobrien	local ones, and especially discriminate against debugging symbols.
420977298Sobrien	Also, for relocateable files, try to find a symbol in the current
421077298Sobrien	section, instead of picking one from some random section with a
421177298Sobrien	convenient value (read, section offset).
421277298Sobrien	(disassemble_data): Cast argument to malloc to size_t first.
421377298Sobrien	(dump_data): Likewise.
421477298Sobrien	(dump_relocs): If a single section name is specified, show relocs
421577298Sobrien	only for that section.  Otherwise, silently omit sections without
421677298Sobrien	relocs.  Format table nicely even if values are printed using 16
421777298Sobrien	digits instead of 8.
421877298Sobrien
421977298SobrienFri Jul 16 15:19:59 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
422077298Sobrien
422177298Sobrien	* nm.c: Changes for final version of POSIX.2.
422277298Sobrien	(print_symbol_filename_{bsd,sysv,posix}): New functions.
422377298Sobrien	(formats): Add an element for a pointer to them.
422477298Sobrien	(print_symbols): Call it.
422577298Sobrien	(print_object_filename_posix, print_archive_member_posix): Produce
422677298Sobrien	output according to new POSIX.2 spec.
422777298Sobrien
422877298Sobrien	* strings.c (print_strings): Handle STREAM being NULL.
422977298Sobrien	(strings_a_section): Pass a NULL.
423077298Sobrien	(main): Don't open /dev/null.
423177298Sobrien
423277298SobrienThu Jul 15 12:44:09 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
423377298Sobrien
423477298Sobrien	* objdump.c (disassemble_data): Handle the m88k.
423577298Sobrien	(display_bfd): Use bfd_errmsg, rather than just claiming that the
423677298Sobrien	bfd is not an object file.
423777298Sobrien
423877298SobrienMon Jul 12 17:55:34 1993  K. Richard Pixley  (rich@cygnus.com)
423977298Sobrien
424077298Sobrien	* Makefile.in (TAGS): make work again by naming directories
424177298Sobrien	  explicitly rather than depending on undefined macros.
424277298Sobrien	  (INSTALL_XFORM): correct bad install target.
424377298Sobrien
424477298SobrienFri Jul  2 16:58:34 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
424577298Sobrien
424677298Sobrien	* strings.c: Doc fixes.
424777298Sobrien
424877298SobrienSun Jun 27 13:35:24 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
424977298Sobrien
425077298Sobrien	* Makefile.in: Note dependencies on bucomm.h.
425177298Sobrien	(cplus-dem.o): Link c++filt with version.o.
425277298Sobrien
425377298Sobrien	* strings.c: Include bucomm.h and add prototypes to other decls.
425477298Sobrien	Remove -h option.
425577298Sobrien
425677298Sobrien	* bucomm.h: Declare xrealloc.
425777298Sobrien
425877298Sobrien	* nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add
425977298Sobrien	--help option.  Put "GNU" in the version message.
426077298Sobrien	(usage): Take stream and exit status as args.
426177298Sobrien	(main): Pass new args to usage.
426277298Sobrien
426377298SobrienFri Jun 25 23:12:12 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
426477298Sobrien
426577298Sobrien	* strings.c, strings.1: New files.
426677298Sobrien	* binutils.texi: Document strings.
426777298Sobrien	* Makefile.in: Add rules for it.
426877298Sobrien
426977298SobrienFri Jun 25 20:44:43 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
427077298Sobrien
427177298Sobrien	* objdump.c: Use size-independent bfd elf section names.
427277298Sobrien
427377298SobrienSun Jun 20 23:09:06 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
427477298Sobrien
427577298Sobrien	* objdump.c (objdump_print_address): Handle wide offsets by
427677298Sobrien	calling sprintf_vma.
427777298Sobrien
427877298SobrienFri Jun 18 14:29:12 1993  Per Bothner  (bothner@deneb.cygnus.com)
427977298Sobrien
428077298Sobrien	* objdump.c (syms2):  Removed unused variable.
428177298Sobrien	* objdump.c (remove_useless_symbols):  New function.
428277298Sobrien	* objdump.c (comp):  Simplify.
428377298Sobrien	* objdump.c (dis-assemble_data):  Make simpler and more
428477298Sobrien	efficient how we filter out useless symbols:  Just filter
428577298Sobrien	BEFORE the sort (using remove_useless_symbols).
428677298Sobrien	* objdump.c (objdump_print_address):  Simplify.
428777298Sobrien	Change output syntax to match gdb.
428877298Sobrien
428977298SobrienThu Jun 17 16:53:56 1993  david d `zoo' zuhn (zoo@cygnus.com)
429077298Sobrien
429177298Sobrien	* Makefile.in: canonicalize install.sh; for use within
429277298Sobrien	this directory (and subdirs)
429377298Sobrien
429477298SobrienMon Jun 14 12:13:22 1993  david d `zoo' zuhn  (zoo at rtl.cygnus.com)
429577298Sobrien
429677298Sobrien	* Makefile.in (install, install-info): remove parentdir support,
429777298Sobrien	use INSTALL_XFORM; define INSTALL_XFORM
429877298Sobrien
429977298SobrienThu Jun 10 17:29:21 1993  Per Bothner  (bothner@cygnus.com)
430077298Sobrien
430177298Sobrien	* objcopy.c (copy_object):  Fix bad size passed to xmalloc().
430277298Sobrien
430377298SobrienMon Jun  7 12:41:12 1993  Per Bothner  (bothner@rtl.cygnus.com)
430477298Sobrien
430577298Sobrien	* Makefile.in (INCLUDES):  Add -I../bfd for sysdep.h and bfd.h.
430677298Sobrien	* configure.in:  No longer need to configure to get sysdep.h.
430777298Sobrien	* objcopy.c (copy_object):  Fix symbol table handling.
430877298Sobrien
430977298SobrienFri Jun  4 17:20:03 1993  Per Bothner  (bothner@cygnus.com)
431077298Sobrien
431177298Sobrien	* objcopy.c (filter_symbols):  Cannot filter the symbols
431277298Sobrien	in place, because that confuses the relocs, so take separate
431377298Sobrien	parameter for output array.
431477298Sobrien	* objcopy.c (sympp):  Make two variables: isympp and osympp.
431577298Sobrien	* objcopy.c (copy_object):  Allocate separate array (osympp)
431677298Sobrien	for filtered symbols.
431777298Sobrien
431877298SobrienFri Jun  4 10:51:44 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
431977298Sobrien
432077298Sobrien	* Makefile.in: change recursion test to presence of a configured
432177298Sobrien	testsuite directory
432277298Sobrien
432377298SobrienThu Jun  3 14:05:57 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
432477298Sobrien
432577298Sobrien	* Makefile.in (underscore.c): Hack the backquoted command so it
432677298Sobrien	doesn't cause Solaris make to bomb.
432777298Sobrien
432877298SobrienThu Jun  3 10:40:19 1993  Jeffrey Osier  (jeffrey@cygnus.com)
432977298Sobrien
433077298Sobrien	* Makefile.in:  added c++filt and objcopy to MANPAGES variable
433177298Sobrien
433277298SobrienThu Jun  3 00:32:52 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
433377298Sobrien
433477298Sobrien	* Makefile.in: rename LOADLIBES to EXTRALIBS
433577298Sobrien
433677298SobrienWed Jun  2 18:30:24 1993  Jeffrey Osier  (jeffrey@cygnus.com)
433777298Sobrien
433877298Sobrien	* c++filt.1, objcopy.1:  new man pages
433977298Sobrien
434077298SobrienFri May 28 15:01:24 1993  Per Bothner  (bothner@rtl.cygnus.com)
434177298Sobrien
434277298Sobrien	* Makefile.in (install):  Also install ar and ranlib in
434377298Sobrien	$(tooldir)/bin;  needed for building libgcc.a.
434477298Sobrien	* objdump.c (objdump_print_address):  Fix the check
434577298Sobrien	"coincidental" label matches by dis-allowing undefined
434677298Sobrien	or com symbols.
434777298Sobrien
434877298SobrienThu May 27 16:58:31 1993  Jeffrey Osier  (jeffrey@cygnus.com)
434977298Sobrien
435089857Sobrien        * binutils.texi:  revised c++filt chapter
435177298Sobrien
435277298SobrienWed May 26 17:24:17 1993  Ian Lance Taylor  (ian@cygnus.com)
435377298Sobrien
435477298Sobrien	* Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS.
435577298Sobrien
435677298SobrienTue May 25 00:26:47 1993  Ken Raeburn  (raeburn@cygnus.com)
435777298Sobrien
435877298Sobrien	* objdump.c (slurp_symtab): Print warning for bad symbol table.
435977298Sobrien	(bfd_elf32_find_section, Elf32_Internal_Shdr): Updated
436077298Sobrien	declarations and uses.
436177298Sobrien
436277298Sobrien	* Makefile.in (DISTSTUFF): Don't build binutils.mm.
436377298Sobrien
436477298SobrienFri May 21 10:51:19 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
436577298Sobrien
436677298Sobrien	* nm.c: Add -f/--format, -P/--portability, -t/--radix options.
436777298Sobrien	Make global variables static.
436877298Sobrien	(main): Make -v like -n, not -V, and make -A like -o, for POSIX.2.
436977298Sobrien	(set_print_radix, set_output_format,
437077298Sobrien	print_{object_filename,archive_filename,archive_member,symbol_info}
437177298Sobrien	{bsd,sysv,posix}): New functions.
437277298Sobrien	(display_file, print_symbols): Call them.
437377298Sobrien
437477298Sobrien	* ar.c: Improve error messages.
437577298Sobrien
437677298Sobrien	* nm.c (main): Handle long options that just set a flag.
437777298Sobrien
437877298Sobrien	* nm.c (main), ar.c (do_show_version), objcopy.c (main), size.c
437977298Sobrien	(main): Exit after printing the version number, per the GNU coding
438077298Sobrien	standards.
438177298Sobrien
438277298SobrienMon May 17 13:20:25 1993  Per Bothner  (bothner@cygnus.com)
438377298Sobrien
438477298Sobrien	* README, Makefile.in:  Minor updates for 2.2.
438577298Sobrien
438677298SobrienFri May 14 11:12:26 1993  Per Bothner  (bothner@cygnus.com)
438777298Sobrien
438877298Sobrien	* Makefile.in (underscore.c):  Automatically generate
438977298Sobrien	(using nm) a file with the variable prepends_underscore.
439077298Sobrien	* Makefile.in (c++filt):  Link underscore.o with cplus-dem.o
439177298Sobrien	so that initial underscores get removed iff appropriate.
439277298Sobrien	* binutils.texi:  Preliminary documentation for c++filt.
439377298Sobrien	* Makefile.in, binutils.texi:  Set to version 2.2.
439477298Sobrien
439577298Sobrien	* NEWS:  Mention copy->objcopy renaming and new c++filt program.
439677298Sobrien
439777298SobrienWed May 12 12:05:36 1993  Ian Lance Taylor  (ian@cygnus.com)
439877298Sobrien
439977298Sobrien	* Makefile.in (cplus-dem.o, $(DEMANGLER_PROG)): Build the
440077298Sobrien	demangler via cplus-dem.o, rather than directly from the .c file.
440177298Sobrien
440277298Sobrien	* objcopy.c: Renamed from copy.c, updated comments accordingly.
440377298Sobrien	* Makefile.in, binutils.texi: Renamed copy to objcopy.
440477298Sobrien	* is-strip.c, maybe-strip.c, not-strip.c: Updated comments for
440577298Sobrien	rename of copy to objcopy.
440677298Sobrien
440777298SobrienMon May 10 17:20:18 1993  Per Bothner  (bothner@cygnus.com)
440877298Sobrien
440977298Sobrien	* binutils.texi (strip, -v option):  Fix typo.
441077298Sobrien
441177298SobrienFri May  7 13:57:50 1993  Ian Lance Taylor  (ian@cygnus.com)
441277298Sobrien
441377298Sobrien	* Makefile.in (RUNTEST): Define.
441477298Sobrien	(FLAGS_TO_PASS): Pass down RUNTEST.
441577298Sobrien
441677298SobrienTue May  4 10:06:50 1993  Ian Lance Taylor  (ian@cygnus.com)
441777298Sobrien
441877298Sobrien	* Makefile.in (DEMANGLER_PROG): Name it c++filt.
441977298Sobrien	(PROG): Also build and install COPY_PROG.
442077298Sobrien
442177298SobrienMon May  3 19:11:48 1993  Per Bothner  (bothner@cygnus.com)
442277298Sobrien
442377298Sobrien	* Makefile.in:  Change definition of $(tooldir) to match FSF.
442477298Sobrien
442577298SobrienWed Apr 28 23:41:32 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
442677298Sobrien
442777298Sobrien	* size.c (usage): Add missing options.
442877298Sobrien	(main): Clean up option parser.
442977298Sobrien
443077298Sobrien	* objdump.c (usage): Add missing options.
443177298Sobrien	(display_file): Print program name before calling
443277298Sobrien	bdf_perror.
443377298Sobrien
443477298Sobrien	* nm.c (usage): Add missing options.
443577298Sobrien	(main): Clean up option parser.
443677298Sobrien	(display_file): Print program name before calling
443777298Sobrien	bdf_perror.
443877298Sobrien
443977298Sobrien	* copy.c (copy_usage, strip_usage): Add missing options.
444077298Sobrien
444177298Sobrien	* ar.c (usage): New function.
444277298Sobrien	(main): Call it.
444377298Sobrien	(open_inarch, do_quick_append): Print program name before calling
444477298Sobrien	bdf_perror.
444577298Sobrien
444677298SobrienThu Apr 22 15:01:35 1993  Ian Lance Taylor  (ian@cygnus.com)
444777298Sobrien
444877298Sobrien	* nm.c (main): Accept and ignore -A and -B for MIPS compatibility.
444977298Sobrien
445077298SobrienMon Apr 19 14:06:59 1993  Rob Savoye  (rob@cygnus.com)
445177298Sobrien
445277298Sobrien	* Makefile.in: Added FLAGS_TO_PASS so tests get run on freshly
445377298Sobrien	built binaries if they exist. (otherwise the path)
445477298Sobrien
445577298SobrienWed Apr  7 22:22:50 1993  Rob Savoye  (rob@cygnus.com)
445677298Sobrien
445777298Sobrien	* Makefile.in: Changed check target to use DejaGnu.
445877298Sobrien
445977298SobrienThu Apr  1 12:37:13 1993  Jim Kingdon  (kingdon@cygnus.com)
446077298Sobrien
446177298Sobrien	* Makefile.in: Remove am29k-pinsn.c, i960-pinsn.c.
446277298Sobrien	objdump.c: a29k and i960 are `disassemble' not `print'.
446377298Sobrien
446477298Sobrien	* objdump.c: Rename print_address to objdump_print_address
446577298Sobrien	and change parameters.
446677298Sobrien	(disassemble_data): Use objdump_print_address.
446777298Sobrien
446877298SobrienWed Mar 31 10:25:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
446977298Sobrien
447077298Sobrien	* objdump.c (disassemble_data): print_insn_sparc is now a
447177298Sobrien	`disassemble' not a `print'.
447277298Sobrien	Makefile.in: Remove sparc-pinsn.c (now in libopcodes.a).
447377298Sobrien
447477298Sobrien	* objdump.c (disassemble_data): Use new read_memory_func stuff.
447577298Sobrien
447677298SobrienThu Mar 25 10:38:11 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
447777298Sobrien
447877298Sobrien	* objdump.c (fprintf): Declaration of variadic function had better
447977298Sobrien	be a prototype for ANSI C systems.
448077298Sobrien
448177298SobrienMon Mar 22 23:19:46 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
448277298Sobrien
448377298Sobrien	* Makefile.in: rename test-install to install-check
448477298Sobrien
448577298SobrienFri Mar 19 14:40:08 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
448677298Sobrien
448777298Sobrien	* objdump.c (disassemble_data): Add H8500.
448877298Sobrien
448977298SobrienFri Mar 19 10:56:51 1993  Jim Kingdon  (kingdon@cygnus.com)
449077298Sobrien
449177298Sobrien	* objdump.c (usage): Mention long options.
449277298Sobrien
449377298SobrienThu Mar 18 14:22:17 1993  Per Bothner  (bothner@rtl.cygnus.com)
449477298Sobrien
449577298Sobrien	* nm.c:  Modify behavior of -o flag for archives to match
449677298Sobrien	BSD4.4 and Sunos 4:  Prefix archive name before each line.
449777298Sobrien
449877298Sobrien	* m68k-pinsn.c:  Removed.  Subsumed by ../opcodes/m68k-dis.c.
449977298Sobrien	* i386-pinsn.c:  Removed.  Subsumed by ../opcodes/i386-dis.c.
450077298Sobrien	* Makefile.in:  Adjust accordingly.
450177298Sobrien	* objdump.c:  Support new-style disassemblers (ones that use
450277298Sobrien	the interface of ../include/dis-asm.h).
450377298Sobrien
450477298SobrienThu Feb 25 15:57:00 1993  Per Bothner  (bothner@rtl.cygnus.com)
450577298Sobrien
450677298Sobrien	* Makefile.in:  When making tar file, remove texinfo/*,
450777298Sobrien	except for texinfo/texinfo.tex.
450877298Sobrien	* ardup.c:  Add extern declaration of strdup.
450977298Sobrien	* Makefile.in (testsuite):  Add 'else true' since otherwise
451077298Sobrien	Ultrix /bin/sh complains.
451177298Sobrien
451277298SobrienWed Feb 24 19:44:18 1993  Per Bothner  (bothner@rtl.cygnus.com)
451377298Sobrien
451477298Sobrien	* Makefile.in:  Set VERSION to 2.1.
451577298Sobrien	* README, NEWS: Updates.
451677298Sobrien	* nm.c:  Add -v as a synonym for -V.
451777298Sobrien
451877298SobrienTue Feb 23 19:00:50 1993  Mike Werner  (mtw@poseidon.cygnus.com)
451977298Sobrien
452077298Sobrien	* configure.in: added testsuite to configdirs.
452177298Sobrien	* Makefile.in: added support for building testsuite.
452277298Sobrien
452377298SobrienMon Feb 22 22:52:10 1993  Per Bothner  (bothner@rtl.cygnus.com)
452477298Sobrien
452577298Sobrien	* objdump.c (disassemble_data):  Print function names when
452677298Sobrien	given by bfd_find_nearest_line.  If not - still print
452777298Sobrien	line numbers.
452877298Sobrien
452977298SobrienMon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
453077298Sobrien
453189857Sobrien	* testsuite: made modifications to testcases, etc., to allow
453277298Sobrien        them to work properly  given the reorganization of deja-gnu and the
453377298Sobrien	relocation of the testcases from deja-gnu to a "tool" subdirectory.
453477298Sobrien
453577298SobrienMon Feb 22 10:27:24 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
453677298Sobrien
453777298Sobrien	* objdump.c (dump_data): Free up section contents each time
453877298Sobrien	through the loop.  Reported by minyard@bnr.ca.
453977298Sobrien
454077298SobrienSun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
454177298Sobrien
454289857Sobrien	* testsuite: Initial creation of binutils/testsuite.
454377298Sobrien	Migrated dejagnu testcases and support files for testing nm to
454477298Sobrien	binutils/testsuite from deja-gnu.  These files were moved "as is"
454577298Sobrien	with no modifications.	This migration is part of a major overhaul
454677298Sobrien	of dejagnu.  The modifications to these testcases, etc., which
454777298Sobrien	will allow them to work with the new version of dejagnu will be
454877298Sobrien	made in a future update.
454977298Sobrien
455077298SobrienFri Feb 12 10:05:20 1993  Fred Fish  (fnf@cygnus.com)
455177298Sobrien
455277298Sobrien	* Makefile.in (LIBIBERTY_SRC_DIR, LIBIBERTY_BIN_DIR): New macros.
455377298Sobrien	* Makefile.in (LIBIBERTY):  Use LIBIBERTY_BIN_DIR.
455477298Sobrien	* Makefile.in (DEMANGLER_PROG):  New program to build.  Add macro
455577298Sobrien	and rule.
455677298Sobrien	* Makefile.in (PROGS):  Add DEMANGLER_PROG.
455777298Sobrien
455877298SobrienTue Jan 26 11:56:33 1993  Ian Lance Taylor  (ian@cygnus.com)
455977298Sobrien
456077298Sobrien	* copy.c, nm.c, objdump.c, size.c: Use new bfd_is_com_section
456177298Sobrien	macro rather than checking for equality to bfd_com_section.
456277298Sobrien
456377298SobrienFri Jan  8 15:50:05 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
456477298Sobrien
456577298Sobrien	* objdump.c (disassemble_data): Fix code to find first useless
456677298Sobrien	symbol.
456777298Sobrien
456877298SobrienThu Jan  7 13:13:31 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
456977298Sobrien
457077298Sobrien	* objdump.c (disassemble_data): Use mips_print_insn for MIPS.
457177298Sobrien	Don't core dump if bfd_find_nearest_line returns false.
457277298Sobrien
457377298SobrienWed Jan  6 17:14:01 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
457477298Sobrien
457577298Sobrien	* objdump.c (disassemble_data): know how to disassemble z8000s
457677298Sobrien	too.
457777298Sobrien
457877298SobrienWed Jan  6 15:16:27 1993  Per Bothner  (bothner@cygnus.com)
457977298Sobrien
458077298Sobrien	* arsup.h (interactive), bucomm.h (program_name):  Prefix
458177298Sobrien	with 'extern', to avoid warnings from some compilers.
458277298Sobrien
458377298SobrienWed Jan  6 15:14:11 1993  Per Bothner  (bothner@rtl.cygnus.com)
458477298Sobrien
458577298Sobrien	* arparse.y: fix unnecessary shift/reduce
458677298Sobrien
458777298SobrienTue Dec 22 15:46:56 1992  Per Bothner  (bothner@rtl.cygnus.com)
458877298Sobrien
458977298Sobrien	* Makefile.in:  Make check depend on all.
459077298Sobrien	* Makefile.in (distclean): Remove sysdep.h.
459177298Sobrien	* size.c:  Use %u format where appropriate.
459277298Sobrien	* objdump.c:  Standardize:  L_SET -> SEEK_SET.
459377298Sobrien	* objdump.c:  Use new macro bfd_asymbol_bfd.
459477298Sobrien	* configure.in:  Allow std-host as the default ${mys_host}.
459577298Sobrien
459677298SobrienThu Dec 17 19:38:19 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
459777298Sobrien
459877298Sobrien	* Makefile.in: added dvi target, define and use TEXI2DVI
459977298Sobrien
460077298SobrienTue Dec 15 18:05:07 1992  Per Bothner  (bothner@cygnus.com)
460177298Sobrien
460277298Sobrien	* Makefile.in (dist):  Fix permissions before release.
460377298Sobrien	* size.c:  Use bfd_size_type (and long) where appropriate.
460477298Sobrien	* ar.c:  Make writing a map the default, to be compatible
460577298Sobrien	with SYSV and Posix.2.  Remove some bogus kludges that
460677298Sobrien	handled __.SYMDEF directly.
460777298Sobrien	* NEWS:  New file.
460877298Sobrien
460977298SobrienMon Nov  9 13:36:53 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
461077298Sobrien
461177298Sobrien	* Makefile.in: flex no longer needs the -S flag
461277298Sobrien
461377298SobrienSat Nov  7 15:06:13 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
461477298Sobrien
461577298Sobrien        * ar.c (extract_file): utime needs a pointer to a utimbuf
461677298Sobrien
461777298Sobrien	* Makefile.in: handle -I includes better, adding $(BASEDIR)/bfd to
461877298Sobrien	the list (since some of the bfd/hosts/*.h files include other
461977298Sobrien	files from that directory)
462077298Sobrien
462177298SobrienFri Nov  6 00:12:51 1992  John Gilmore  (gnu@cygnus.com)
462277298Sobrien
462377298Sobrien	* i960-pinsn.c (MEM_MAX, MEM_SIZ):  Set upper bound properly.
462477298Sobrien
462577298SobrienThu Nov  5 03:37:15 1992  John Gilmore  (gnu@cygnus.com)
462677298Sobrien
462777298Sobrien	Clean up some old BFD ansification macros.
462877298Sobrien
462977298Sobrien	* arsup.h, bucomm.h, objdump.h:  Remove EXFUN from binutils.
463077298Sobrien	It still remains as a local macro in gmalloc.c, which is derived
463177298Sobrien	from some other copy of GNU Malloc somewhere (FIXME).
463277298Sobrien
463377298Sobrien	* ar.c, objdump.c, size.c:  Replace EXFUN with PROTO.  Make static
463477298Sobrien	fns really static.
463577298Sobrien	* arsup.h:  Declare extract_files.
463677298Sobrien
463777298SobrienMon Nov  2 12:42:11 1992  Ian Lance Taylor  (ian@cygnus.com)
463877298Sobrien
463977298Sobrien	* ar.c (extract_file): instead of checking USG: if POSIX_UTIME,
464077298Sobrien	use utime and utimbuf structure, otherwise if USE_UTIME use utime
464177298Sobrien	and array of two longs, otherwise use utimes.
464277298Sobrien
464377298SobrienThu Oct 15 13:57:35 1992  Per Bothner  (bothner@cygnus.com)
464477298Sobrien
464589857Sobrien	* binutils.texi:  Document yesterday's changes to strip and copy.
464677298Sobrien
464777298SobrienWed Oct 14 13:22:14 1992  Per Bothner  (bothner@cygnus.com)
464877298Sobrien
464977298Sobrien	* copy.c:  Re-do command-line parsing to use getopt_long().
465077298Sobrien	Add long option names.  Re-think option letters to be more
465177298Sobrien	consistent.
465277298Sobrien	* copy.c:  New function filter_symbols() for stripping only
465377298Sobrien	debug-symbols and/or local symbols.  Use these to support
465477298Sobrien	the previously-missing options of the old FSF strip.
465577298Sobrien
465677298SobrienTue Oct 13 01:24:20 1992  John Gilmore  (gnu@cygnus.com)
465777298Sobrien
465877298Sobrien	* configure.in (host):  Use ${srcdir}/../bfd/configure.host rather
465977298Sobrien	than repeating a copy of it here.
466077298Sobrien
466177298SobrienWed Oct  7 12:53:52 1992  Ken Raeburn  (raeburn@cygnus.com)
466277298Sobrien
466377298Sobrien	* copy.c (main): Even if is_strip, accept -d argument indicating
466477298Sobrien	alternate output format.  Needed by gdb for Nindy.
466577298Sobrien
466677298Sobrien	* m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.
466777298Sobrien
466877298SobrienTue Oct  6 16:33:56 1992  Jeffrey Osier  (jeffrey@cygnus.com)
466977298Sobrien
467077298Sobrien	* binutils.texi:  added documentation for "copy"
467177298Sobrien
467277298SobrienTue Oct  6 14:22:56 1992  Per Bothner  (bothner at PersSony)
467377298Sobrien
467477298Sobrien	* Makefile.in (*clean rules): Some cleaning up.
467577298Sobrien	* Makefile.in (dist): Make diststuff in gprof for a dist.
467677298Sobrien
467777298Sobrien	* ar.c (do_show_version):  New function.
467877298Sobrien	* ar.c (main):  Fix so "ar -V" works.
467977298Sobrien
468077298SobrienThu Oct  1 22:44:45 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
468177298Sobrien
468277298Sobrien	* configure.in: now uses the cpu-vendor-os triple instead of
468377298Sobrien	nested cases.
468477298Sobrien
468577298SobrienFri Sep 25 22:41:08 1992  John Gilmore  (gnu@cygnus.com)
468677298Sobrien
468777298Sobrien	* i960-pinsn.c:  Change bzero to memset.
468877298Sobrien	* sparc-pinsn.c:  Change index to strchr.
468977298Sobrien
469077298SobrienMon Sep 21 14:39:56 1992  Ian Lance Taylor  (ian@cygnus.com)
469177298Sobrien
469277298Sobrien	* m68k-pinsn (print_insn_arg, fetch_arg): added support for
469377298Sobrien	operands to memory management instructions, from WRS.
469477298Sobrien
469577298SobrienTue Sep 15 15:26:38 1992  Ian Lance Taylor  (ian@cygnus.com)
469677298Sobrien
469777298Sobrien	* Makefile.in (install): if $(tooldir) exists, install nm and
469877298Sobrien	strip in $(tooldir)/bin.
469977298Sobrien
470077298SobrienThu Sep  3 11:57:40 1992  Per Bothner  (bothner@rtl.cygnus.com)
470177298Sobrien
470277298Sobrien	* Makefile.in:  Let's call it version 2.0.
470377298Sobrien
470477298SobrienWed Sep  2 00:25:13 1992  Per Bothner  (bothner@rtl.cygnus.com)
470577298Sobrien
470677298Sobrien	* Makefile.in:  Bump to version 0.98.
470777298Sobrien	* TODO, README:  Minor updates.
470877298Sobrien
470977298Sobrien	* Makefile.in:  Added mostlyclean, distclean rules,
471077298Sobrien	and cleaned up clean, realclean.
471177298Sobrien
471277298SobrienSun Aug 30 21:18:59 1992  Ian Lance Taylor  (ian@cygnus.com)
471377298Sobrien
471477298Sobrien	* Makefile.in: map program names through program_transform_name
471577298Sobrien	when installing.
471677298Sobrien
471777298SobrienSun Aug 30 18:09:03 1992  Per Bothner  (bothner@rtl.cygnus.com)
471877298Sobrien
471977298Sobrien	* Makefile.in:  Bump to versions 1.97.90.
472077298Sobrien	* cplus-dem.c:  Removed.  Was nowhere used - and if some
472177298Sobrien	programs are changed to to demangling should now use the
472277298Sobrien	versions in libiberty.
472377298Sobrien
472477298SobrienThu Aug 27 12:58:09 1992  Brendan Kehoe  (brendan@cygnus.com)
472577298Sobrien
472677298Sobrien	* configure.in: add we32k
472777298Sobrien
472877298SobrienMon Aug 24 14:53:42 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
472977298Sobrien
473077298Sobrien	* ar.c (map_over_members): if the element of the archive has a
473177298Sobrien	null name, fill it in.
473277298Sobrien
473377298Sobrien	* nm.c (do_one_rel_file): only warn if a bfd's flags say there
473477298Sobrien	will be symbols and there aren't any.
473577298Sobrien
473677298SobrienWed Aug 19 11:20:25 1992  Ian Lance Taylor  (ian@cygnus.com)
473777298Sobrien
473877298Sobrien	* m68k-pinsn.c: handle new operand type 'r', introduced for cas2.
473977298Sobrien
474077298SobrienTue Aug 18 20:45:48 1992  Rob Savoye  (rob@cygnus.com)
474177298Sobrien
474277298Sobrien	* nm.c objdump.c: Added support for a +version (-V)
474377298Sobrien	to print the version number.
474477298Sobrien
474577298Sobrien	* ar.c, copy.c: Added support for a -V option to print
474677298Sobrien	the version number.
474777298Sobrien
474877298SobrienTue Aug 18 13:28:44 1992  Ian Lance Taylor  (ian@cygnus.com)
474977298Sobrien
475077298Sobrien	* config/mh-apollo68v: removed -g from CC definition.
475177298Sobrien
475277298Sobrien	* Makefile.in: always create installation directories.
475377298Sobrien
475477298SobrienMon Aug 17 18:33:41 1992  Per Bothner  (bothner@rtl.cygnus.com)
475577298Sobrien
475677298Sobrien	* m68k-pinsn.c:  Minor fix in style of output (don't use
475777298Sobrien	range to indicate floating point control registers).
475877298Sobrien
475977298SobrienTue Aug 11 23:42:21 1992  Per Bothner  (bothner@cygnus.com)
476077298Sobrien
476177298Sobrien	* ar.c (main):  Don't *always* set the verbose flag!
476277298Sobrien
476377298SobrienWed Aug  5 11:25:27 1992  Per Bothner  (bothner@rtl.cygnus.com)
476477298Sobrien
476577298Sobrien	* copy.c:  When is_strip (because it is invoked as the strip
476677298Sobrien	program), follow traditional argv processing:
476777298Sobrien	'strip file1 file2' now strips file1 and file2, rather
476877298Sobrien	than stripping file1 (as input), leaving output in file2.
476977298Sobrien
477077298SobrienMon Jul 27 16:28:08 1992  Per Bothner  (bothner@rtl.cygnus.com)
477177298Sobrien
477277298Sobrien	* objdump.c (display_info, display_info_table):  Call
477377298Sobrien	bfd_set_format() on dummy bfd before using it (twice).
477477298Sobrien	* ar.c:  Make sure archive is created on command 'r'
477577298Sobrien	even when no elements are inserted.  (Clean up and
477677298Sobrien	simplify some non-working related code.)
477777298Sobrien
477877298SobrienMon Jul 20 02:48:38 1992  D. V. Henkel-Wallace  (gumby@cygnus.com)
477977298Sobrien
478077298Sobrien	* configure.in: hppa support doesn't assume hp OS (from sef).
478177298Sobrien
478277298SobrienSat Jul 18 14:35:22 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
478377298Sobrien
478477298Sobrien	* configure.in: recognize hppa hosts (bsd & hpux), error messages
478577298Sobrien	to stderr, not stdout
478677298Sobrien
478777298SobrienFri Jul 17 18:39:44 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
478877298Sobrien
478977298Sobrien	* ar.1, binutils.texi, i960-pinsn.c, nm.1, objdump.1, ranlib.1,
479077298Sobrien	  size.1, sparc-pinsn.c, strip.1: removed rcsid's.
479177298Sobrien
479277298SobrienThu Jul 16 16:55:24 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
479377298Sobrien
479477298Sobrien	* Makefile.dos: removed rcsid.
479577298Sobrien
479677298SobrienThu Jul 16 08:23:07 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
479777298Sobrien
479877298Sobrien	* objdump.c (display_bfd): print state of BFD_IS_RELAXABLE too
479977298Sobrien
480077298SobrienTue Jun 30 20:26:15 1992  D. V. Henkel-Wallace  (gumby@cygnus.com)
480177298Sobrien
480277298Sobrien	* Makefile.in: Add program_suffix (parallel to program_prefix)
480377298Sobrien
480477298SobrienThu Jun 25 04:52:45 1992  John Gilmore  (gnu at cygnus.com)
480577298Sobrien
480677298Sobrien	* nm.c (sorters):  Lint.  Remove excess whitespace.
480777298Sobrien
480877298SobrienWed Jun 24 13:48:07 1992  Per Bothner  (bothner@cygnus.com)
480977298Sobrien
481077298Sobrien	* nm.c (valueof macro):  Add missing parentheses.
481177298Sobrien	(Their lack screwed up numeric_forward().)
481277298Sobrien
481377298SobrienSun Jun 14 10:33:27 1992  John Gilmore  (gnu at cygnus.com)
481477298Sobrien
481577298Sobrien	* objdump.c (dump_elf_stabs):  Also dump .stab.index and
481677298Sobrien	.stab.excl sections.
481777298Sobrien	(dump_elf_stabs_1):  Split out main body of old dump_elf_stabs.
481877298Sobrien	* objdump.1, binutils.texi:  Document new sections dumped.
481977298Sobrien
482077298SobrienFri Jun 12 22:23:35 1992  John Gilmore  (gnu at cygnus.com)
482177298Sobrien
482277298Sobrien	* size.c, objdump.c, bucomm.c:  Lint.
482377298Sobrien
482477298SobrienThu Jun 11 01:19:06 1992  John Gilmore  (gnu at cygnus.com)
482577298Sobrien
482677298Sobrien	* objdump.c (dump_elf_stabs): New feature: --stabs prints out a
482777298Sobrien	.stab section from an ELF file.  Installed under #ifdef
482877298Sobrien	ELF_STAB_DISPLAY so it can be easily disabled, since it requires
482977298Sobrien	bfd-internals header files and such.
483077298Sobrien	* objdump.1, binutils.texi:  Update for --stabs.  Also fix
483177298Sobrien	objdump's doc to use -- rather than + for long options.
483277298Sobrien	(FIXME:  Not yet fixed everywhere in binutils.texinfo.)
483377298Sobrien
483477298SobrienWed Jun 10 07:53:24 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
483577298Sobrien
483677298Sobrien	* objdump.c(display_info), patches from
483777298Sobrien	mohring@informatik.tu-muenchen.de to print the table much more
483877298Sobrien	nicely.
483977298Sobrien
484077298SobrienThu May 28 13:36:16 1992  Per Bothner  (bothner@rtl.cygnus.com)
484177298Sobrien
484277298Sobrien	* objdump.c:  Add another enum->int cast, for the sake of
484377298Sobrien	old compilers (such as PCC).
484477298Sobrien
484577298SobrienWed May 27 13:01:44 1992  Per Bothner  (bothner@rtl.cygnus.com)
484677298Sobrien
484777298Sobrien	* arlex.l:  Don't include <sysdep.h> (unneeded conflicts).
484877298Sobrien	Add declaration of strdup().
484977298Sobrien
485077298SobrienFri May 22 13:40:37 1992  Per Bothner  (bothner@cygnus.com)
485177298Sobrien
485277298Sobrien	* Makefile.in:  Use srcdir instead of VPATH in ldgram/ldlex
485377298Sobrien	rules, since these are used when building a distribution.
485477298Sobrien	* Makefile.in (arlex.c):  Don't re-direct output, since that
485577298Sobrien	leaves a bogus output files if it fails.
485677298Sobrien
485777298Sobrien	* arlex.l:  Make work with lex, for what it's worth.
485877298Sobrien	* Makefile.in:  Better lex support.
485977298Sobrien	* Makefile.in (dist):  Generate flex and bison outputs
486077298Sobrien	for distribution.
486177298Sobrien
486277298SobrienThu May 14 17:17:59 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
486377298Sobrien
486477298Sobrien	* Makefile.in: get BISON definition right.
486577298Sobrien
486677298SobrienFri May  8 07:47:08 1992  K. Richard Pixley  (rich@cygnus.com)
486777298Sobrien
486877298Sobrien	* sanity.sh: default TMPDIR to ".".
486977298Sobrien
487077298SobrienThu May  7 12:34:50 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
487177298Sobrien
487277298Sobrien	* binutils.texi: add doc for ar command language.
487377298Sobrien
487477298SobrienWed May  6 18:05:36 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
487577298Sobrien
487677298Sobrien	* arparse.y: make END call ar_end
487777298Sobrien	* arsup.c (ar_end): added, deletes temp file if archive session
487877298Sobrien	aborted.
487977298Sobrien
488077298Sobrien
488177298SobrienWed May  6 11:08:53 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
488277298Sobrien
488377298Sobrien	* Makefile.in: use bison & flex from ../ if they exist.  Also,
488477298Sobrien	  FLEX->LEX.
488577298Sobrien
488677298Sobrien	* sanity.sh: remove temporary directory when finished.
488777298Sobrien
488877298SobrienTue May  5 12:00:58 1992  Per Bothner  (bothner@rtl.cygnus.com)
488977298Sobrien
489077298Sobrien	* Makefile.in:  Bump to version 1.97.
489177298Sobrien	* ar.c:  Declare errno for machines that need it.
489277298Sobrien
489377298SobrienMon May  4 23:29:51 1992  John Gilmore  (gnu@cygnus.com)
489477298Sobrien
489577298Sobrien	* objdump.c (display_info):  Handle error cases without coredump.
489677298Sobrien	Close the dummy temporary file we open in the loop.
489777298Sobrien	* Makefile.in (arsup.o):  Add kludge to build with Sun Make.
489877298Sobrien
489977298SobrienFri May  1 16:20:23 1992  K. Richard Pixley  (rich@cygnus.com)
490077298Sobrien
490177298Sobrien	* Makefile.in: added test-install target.
490277298Sobrien
490377298Sobrien	* sanity.sh: new file.
490477298Sobrien
490577298Sobrien	* Makefile.in: use sanity test on make check.
490677298Sobrien
490777298SobrienTue Apr 21 13:38:37 1992  K. Richard Pixley  (rich@cygnus.com)
490877298Sobrien
490977298Sobrien	* Makefile.in: rework CFLAGS so that they can be passed on the
491077298Sobrien	  command line to make.  Remove MINUS_G.  Default CFLAGS to -g.
491177298Sobrien
491277298SobrienWed Apr 15 14:33:07 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
491377298Sobrien
491477298Sobrien	* arsup.c, arsup.h, arparse.y, arlex.l: support for archive
491577298Sobrien	scripting language.
491677298Sobrien
491777298SobrienFri Mar  6 21:54:53 1992  K. Richard Pixley  (rich@cygnus.com)
491877298Sobrien
491977298Sobrien	* Makefile.in: added check target.
492077298Sobrien
492177298SobrienThu Mar  5 21:35:49 1992  K. Richard Pixley  (rich@cygnus.com)
492277298Sobrien
492377298Sobrien	* Makefile.in: added clean-info target.
492477298Sobrien
492577298SobrienTue Mar  3 15:36:37 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
492677298Sobrien
492777298Sobrien	* Makefile.in: remove $(COPY_PROG) from PROGS.  It shouldn't be
492877298Sobrien	  installed. added tooldir and program_prefix.
492977298Sobrien
493077298SobrienWed Feb 26 18:04:40 1992  K. Richard Pixley  (rich@cygnus.com)
493177298Sobrien
493277298Sobrien	* Makefile.in, configure.in: removed traces of namesubdir,
493377298Sobrien	  -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
493477298Sobrien	  copyrights to '92, changed some from Cygnus to FSF.
493577298Sobrien
493677298SobrienSun Feb 16 12:53:02 1992  Per Bothner  (bothner at cygnus.com)
493777298Sobrien
493877298Sobrien	* Makefile.in:  Bump version to 1.96, and remove -beta
493977298Sobrien	suffix from distribution name.
494077298Sobrien	* m68k-pinsn.c:  New macro COERCE_SIGNED_CHAR to extract
494177298Sobrien	the signed value of a character (even if chars are unsigned).
494277298Sobrien	* sparc-pinsn.c:  Add new operand types.
494377298Sobrien
494477298SobrienThu Feb  6 12:14:19 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
494577298Sobrien
494677298Sobrien	* objdump.c (disassemble_data): don't print a section's contents
494777298Sobrien	if it's not loadable (eg bss)
494877298Sobrien
494977298SobrienTue Jan 28 11:11:06 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
495077298Sobrien
495177298Sobrien	* m68k-pinsn.c (print_insn_arg): fixed so that -ve branch
495277298Sobrien	displacements don't get printed as large +ve ones.
495377298Sobrien
495477298SobrienFri Jan 24 14:47:53 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
495577298Sobrien
495677298Sobrien	* copy.c, nm.c, objdump.c, size.c : changed to use the
495777298Sobrien	new reloc scheme.
495877298Sobrien
495977298Sobrien
496077298SobrienMon Dec 30 18:34:41 1991  Per Bothner  (bothner at cygnus.com)
496177298Sobrien
496277298Sobrien	* bucomm.c (print_arelt_descr):  Tweek the output format
496377298Sobrien	so that 'ar tv' output follows Posix 1003.2/D11.
496477298Sobrien	Output is now also identical to Sun's (except __.SYMDEF).
496577298Sobrien
496677298SobrienMon Dec 30 06:09:53 1991  John Gilmore  (gnu at cygnus.com)
496777298Sobrien
496877298Sobrien	* Makefile.in:  Make `make' output more readable.
496977298Sobrien
497077298SobrienWed Dec 18 15:04:45 1991  Per Bothner  (bothner at cygnus.com)
497177298Sobrien
497277298Sobrien	* Makefile.in:  Bump to version 1.94.
497377298Sobrien
497477298SobrienWed Dec 11 16:48:09 1991  Steve Chamberlain  (sac at cygnus.com)
497577298Sobrien
497677298Sobrien	* ar.c: added "b" to fopens for dos
497777298Sobrien	* configdj.bat, makefile.dos new files from DJ
497877298Sobrien
497977298SobrienTue Dec 10 04:07:26 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
498077298Sobrien
498177298Sobrien	* Makefile.in: infodir belongs in datadir.
498277298Sobrien
498377298SobrienSat Dec  7 17:09:37 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
498477298Sobrien
498577298Sobrien	* bucomm.h: created to hold prototypes of bucomm.c
498677298Sobrien	* objdump.h: created to hold prototyes of objdump.c
498777298Sobrien	* am29k-pinsn.c: include objdump.h
498877298Sobrien	* ar.c: include bucomm.h, get ar.h from the right place and
498977298Sobrien	include libbfd.h
499077298Sobrien	* bucomm.c: defunize bfd_fatal
499177298Sobrien	* copy.c: include bucomm.h, lint.
499277298Sobrien	* i960-pinsn.h: include bucomm.h
499377298Sobrien	* m68k-pinsn.h: lint
499477298Sobrien	* nm.c: include bucomm.h, lint
499577298Sobrien	* objdump.c: lint
499677298Sobrien	* sparc-pinsn.c: include objdump.h
499777298Sobrien
499877298Sobrien
499977298Sobrien
500077298SobrienFri Dec  6 23:02:14 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
500177298Sobrien
500277298Sobrien	* Makefile.in: added standards.text support.  install using
500377298Sobrien	  INSTALL_PROGRAM and INSTALL_DATA.
500477298Sobrien
500577298Sobrien	* configure.in: configure now does all of it's work from objdir so
500677298Sobrien	  make file existence tests against ${srcdir}.
500777298Sobrien
500877298SobrienThu Dec  5 22:46:22 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
500977298Sobrien
501077298Sobrien	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
501177298Sobrien	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
501277298Sobrien	  and mandir now keyed off datadir by default.
501377298Sobrien
501477298SobrienWed Dec  4 22:42:03 1991  Per Bothner  (bothner at cygnus.com)
501577298Sobrien
501677298Sobrien	* Makefile.in:  Bump to version 1.93.
501777298Sobrien	* Makefile.in:  Add make-strip.o:maybe-strip.c dependency
501877298Sobrien	for make versions that provide half-baked VPATH-support (e.g. Sun's).
501977298Sobrien	* size.c:  Improvements suggested by
502077298Sobrien	"david d [zoo] zuhn" <zoo@aps1.spa.umn.edu>:
502177298Sobrien	- Don't emit (Berkeley) headers if no files were found.
502277298Sobrien	- Return a non-zero return code on failure.
502377298Sobrien
502477298SobrienSat Nov 30 21:34:19 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
502577298Sobrien
502677298Sobrien	Changes due to include file renaming:
502777298Sobrien	* am29k-pinsn.c: a29k-opcode.h	-> opcode/a29k.h
502877298Sobrien	* sparc-pinsn.c: sparc-opcode.h	-> opcode/sparc.h
502977298Sobrien	* m68k-pinsn.c:	 m68k-opcode.h	-> opcode/m68k.h
503077298Sobrien	* nm.c:		 stab.gnu.h	-> aout/stab_gnu.h
503177298Sobrien
503277298SobrienTue Nov 19 19:20:43 1991  Per Bothner  (bothner at cygnus.com)
503377298Sobrien
503477298Sobrien	* README:  Mention MINIMIZE flag for bfd's make.
503577298Sobrien
503677298SobrienMon Nov 18 12:05:37 1991  Per Bothner  (bothner at cygnus.com)
503777298Sobrien
503877298Sobrien	* README:  Various improvements.
503977298Sobrien
504077298SobrienSun Nov 17 23:40:59 1991  Per Bothner  (bothner at cygnus.com)
504177298Sobrien
504277298Sobrien	* Makefile.in:  Bump to version 1.92.
504377298Sobrien	* version.c, Makefile.in:  Get version string from Makefile.
504477298Sobrien	* copy.c, is-strip.c, not-strip.c, maybe-strip.c, Makefile.in:
504577298Sobrien	Make the same change that we earlier did for ar/ranlib:
504677298Sobrien	Generate two different binaries for strip and copy and use
504777298Sobrien	a global variable with different values to distinguish
504877298Sobrien	ostrip from copy.  (-1 means to use argv[0] to decide,
504977298Sobrien	so you can get the old behavior, but it is no longer the default).
505077298Sobrien	* copy.c (copy_file):  Set EXEC_P of output bfd if input is so.
505177298Sobrien	* copy.c (main):  If is_strip==-1, compare last 5 chars
505277298Sobrien	of argv[0], not the whole path.
505377298Sobrien	* copy.c (main): Return 0, not 1.
505477298Sobrien	* copy.c (setup_sections):  Fix due to change in bfd_make_section
505577298Sobrien	now failing if asked for a duplicate section.
505677298Sobrien	* strip.c, ostrip.c:  Removed obsolete files.
505777298Sobrien	* ar.c, not-ranlib.c, maybe-ranlib.c:
505877298Sobrien	Change encoding of is_ranlib variable to be consistent
505977298Sobrien	with is_strip for strip.copy (i.e -1 to means use argv[0]).
506077298Sobrien
506177298SobrienThu Nov 14 20:11:02 1991  Per Bothner  (bothner at cygnus.com)
506277298Sobrien
506377298Sobrien	* version.c (program_version): Update to version 1.92.
506477298Sobrien
506577298SobrienTue Nov 12 16:17:53 1991  Per Bothner  (bothner at cygnus.com)
506677298Sobrien
506777298Sobrien	* ar.c (get_pos_bfd):  Previous fix was missing a "break".
506877298Sobrien
506977298SobrienThu Nov  7 08:55:56 1991  Steve Chamberlain  (sac at cygnus.com)
507077298Sobrien
507177298Sobrien	* am29k-pinsn.c: Fixed bug in mtacc, dmac and fmac instruction
507277298Sobrien	encodings. (Thaks to David Wood)
507377298Sobrien
507477298SobrienSun Nov  3 14:50:23 1991  Per Bothner  (bothner at cygnus.com)
507577298Sobrien
507677298Sobrien	* Makefile.in ($(DIST_NAME).tar.Z), TODO:  Various fixes.
507777298Sobrien	* ar.c (get_pos_bfd): Fix to handling of before/after
507877298Sobrien	positioning options.
507977298Sobrien	* bucomm.c (fatal):  MISSING_VFPRINTF is no longer an issue,
508077298Sobrien	since libiberty contains vfprintf etc if otherwise missing.
508177298Sobrien	* m68k-pinsn.c (print_insn_arg):  Support BB/BW/BL
508277298Sobrien	type operands, as used by branch instructions.
508377298Sobrien	* nm.c:  Delegate printing of symbols to BFD,
508477298Sobrien	by using bfd_print_symbol to do the formatting.
508577298Sobrien
508677298SobrienMon Oct 28 11:20:47 1991  Steve Chamberlain  (steve at cygnus.com)
508777298Sobrien
508877298Sobrien	* ar.c (write_archive.c): added unlink before rename since some
508977298Sobrien	systems can't rename onto an existant file.
509077298Sobrien
509177298SobrienMon Oct 21 09:47:23 1991  Steve Chamberlain  (steve at rtl.cygnus.com)
509277298Sobrien
509377298Sobrien	* nm.c: now doesn't crash if a symbol with no section and no
509477298Sobrien	SEC_ABS appears.
509577298Sobrien
509677298SobrienThu Oct 17 15:25:50 1991  Per Bothner  (bothner at cygnus.com)
509777298Sobrien
509877298Sobrien	* Makefile.in, version.c:  Bump to version 1.91.
509977298Sobrien
510077298SobrienWed Oct 16 11:45:36 1991  Per Bothner  (bothner at cygnus.com)
510177298Sobrien
510277298Sobrien	* Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c,
510377298Sobrien	i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c,
510477298Sobrien	* strip.c: Add or update Copyright notice.
510577298Sobrien	* TODO:  Add note on 'nm -a'.
510677298Sobrien	* version.c: Update version number to 1.90.
510777298Sobrien	* Makefile.in: Fix making of documentation for dist.
510877298Sobrien
510977298SobrienTue Oct 15 00:17:17 1991  Per Bothner  (bothner at cygnus.com)
511077298Sobrien
511177298Sobrien	* README: New file.
511277298Sobrien	* Makefile.in: New kludgy rules for making a tarfile.
511377298Sobrien	* Makefile.in: Fix bindir path.
511477298Sobrien
511577298SobrienMon Oct 14 17:34:29 1991  Roland H. Pesch  (pesch at cygnus.com)
511677298Sobrien
511777298Sobrien	* Makefile.in: add targets binutils.mm, binutils.me
511877298Sobrien
511977298SobrienFri Oct 11 22:44:21 1991  John Gilmore  (gnu at cygnus.com)
512077298Sobrien
512177298Sobrien	* Makefile.in:  Avoid Sun Make VPATH bugs by adding dependencies.
512277298Sobrien
512377298SobrienFri Oct 11 12:51:33 1991  Roland H. Pesch  (pesch at cygnus.com)
512477298Sobrien
512577298Sobrien	* Makefile.in: add target "binutils.ms"
512677298Sobrien
512777298Sobrien	* binutils.texinfo: minor restructuring for texi2roff comfort.
512877298Sobrien
512977298SobrienFri Oct 11 04:12:28 1991  John Gilmore  (gnu at cygnus.com)
513077298Sobrien
513177298Sobrien	Restructure configuration scheme for bfd, binutils, ld.
513277298Sobrien
513377298Sobrien	* configure.in:  Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
513477298Sobrien	Change some config names to match other dirs.
513577298Sobrien	* *.c:  Include bfd.h before sysdep.h, so ansidecl and PROTO()
513677298Sobrien	get defined first.
513777298Sobrien	* Makefile.in:  Use -I. to get sysdep.h.
513877298Sobrien
513977298SobrienWed Oct  9 22:42:56 1991  Per Bothner  (bothner at cygnus.com)
514077298Sobrien
514177298Sobrien	* nm.c (print_symbols):  Handle NULL name field of symbol.
514277298Sobrien	* Makefile.in: Removed spurious comment.
514377298Sobrien
514477298SobrienTue Oct  8 16:55:03 1991  Roland H. Pesch  (pesch at cygnus.com)
514577298Sobrien
514677298Sobrien	* binutils.texinfo: minor typos, phrasing, formatting fixes.
514777298Sobrien
514877298SobrienTue Oct  8 15:13:20 1991  Per Bothner  (bothner at cygnus.com)
514977298Sobrien
515077298Sobrien	* configure.in: Get host file from ../bfd/config, not config.
515177298Sobrien	* config/*: Remove config directory and its files.
515277298Sobrien
515377298SobrienTue Oct  8 13:58:59 1991  Roland H. Pesch  (pesch at cygnus.com)
515477298Sobrien
515577298Sobrien	* Makefile.in: new targets binutils.dvi, binutils.info
515677298Sobrien
515777298Sobrien	* binutils.texinfo: remove most remaining FIXME's, delete
515877298Sobrien	references to __.SYMDEF by name
515977298Sobrien
516077298Sobrien
516177298SobrienTue Oct  8 10:23:44 1991  Steve Chamberlain  (steve at cygnus.com)
516277298Sobrien
516377298Sobrien	* objdump.c (print_address) Print addresses nicely.
516477298Sobrien
516577298SobrienMon Oct  7 11:31:05 1991  Per Bothner  (bothner at cygnus.com)
516677298Sobrien
516777298Sobrien	* ar.c, Makefile.in, new files {is,not,maybe}-ranlib.c:
516877298Sobrien	Make two different binaries for ar and ranlib, instead of
516977298Sobrien	distinguishing them at run time using argv[0].
517077298Sobrien	(Old behavior is still available if you "make ar_with_ranlib",
517177298Sobrien	but it is not the default.)
517277298Sobrien	* ranlib.sh (new):  An alternative one-line
517377298Sobrien	shell implementation of ranlib.
517477298Sobrien
517577298SobrienFri Oct  4 21:49:44 1991  John Gilmore  (gnu at cygnus.com)
517677298Sobrien
517777298Sobrien	* objdump.c:  Cope with renames of a few BFD types & enums.
517877298Sobrien
517977298SobrienFri Oct  4 19:08:09 1991  Roland H. Pesch  (pesch at cygnus.com)
518077298Sobrien
518177298Sobrien	* binutils.texinfo: add new file (rudimentary docn)
518277298Sobrien
518377298SobrienMon Sep 30 12:30:39 1991  Per Bothner  (bothner at cygnus.com)
518477298Sobrien
518577298Sobrien	* config/hmake-news: Add new file (for Sony NEWSOS3).
518677298Sobrien	* bucomm.c (fatal):  Conditionally compile fatal() depending on
518777298Sobrien	MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS.
518877298Sobrien	* objdump.c (dump_headers):  Trivial output format change.
518977298Sobrien	* objdump.c (display_info): Loop over integers, not enums,
519077298Sobrien	to appease old compilers.
519177298Sobrien
519277298SobrienMon May 20 16:14:07 1991  Steve Chamberlain  (steve at cygint.cygnus.com)
519377298Sobrien
519477298Sobrien        *objdump.c *nm.c *copy.c: Changed some types to work with 64 bit
519577298Sobrien	object files.
519677298Sobrien
519777298SobrienThu May 16 16:06:55 1991  Steve Chamberlain  (steve at cygint.cygnus.com)
519877298Sobrien     from bother
519977298Sobrien	* objdump.c (print_address): Make disasembled output more
520077298Sobrien	consistent with gdb and as: Add 0x when printing hex.
520177298Sobrien	Don't print extra leading zeros.
520277298Sobrien	Attempt to not print "filename.o".
5203130561Sobrien	* objdump.c: Add some enum-to-int casts to accommodate old compilers.
520477298Sobrien
520577298Sobrien
520677298SobrienFri May  3 22:21:44 1991  John Gilmore  (gnu at cygint.cygnus.com)
520777298Sobrien
520877298Sobrien	* copy.c:  Change =& constructs to = &, since they confuse older
520977298Sobrien	C compilers.
521077298Sobrien
521177298Sobrien
521277298SobrienLocal Variables:
521377298Sobrienmode: change-log
521477298Sobrienleft-margin: 8
521577298Sobrienfill-column: 74
521677298Sobrienversion-control: never
521777298SobrienEnd:
5218