(linenum→info "unix/slp.c:2238")

binutils/2.18/binutils/ChangeLog-9197

    1: Mon Dec 29 16:58:05 1997  Ian Lance Taylor  <ian@cygnus.com>
    2: 
    3:         From Matthew Bellantoni <matthew@chrysalis.com>:
    4:         * ar.c (get_pos_bfd): Add default_posname parameter.  Change all
    5:         callers.
    6:         (replace_members): Default to replacing in the same position.
    7: 
    8: Mon Dec 22 11:27:22 1997  Ian Lance Taylor  <ian@cygnus.com>
    9: 
   10:         * rclex.l: Don't permit a comma in a STRING.
   11:         * rcparse.y (acc_entry): Warn if an inappropriate modifier is used
   12:         with a non VIRTKEY.
   13:         (acc_event): For a control character, set VIRTKEY, and force the
   14:         character to uppercase.
   15:         (acc_options): Don't require a comma separator.
   16: 
   17: Tue Dec  9 13:25:42 1997  Michael Meissner  <meissner@cygnus.com>
   18: 
   19:         * size.c (size_number): New function to provide size of field.
   20:         ({l,r}print_number): For octal and hex fields, print field using
   21:         '0' and '0x' suffixes.  Do not include following tab.
   22:         (sysv_internal_sizer): Size section name, section size, and vma
   23:         address fields.
   24:         (sysv_internal_printer): Use calculated sizes for the columns.
   25:         (print_sysv_format): Size columns before printing.
   26:         (print_berkeley_format): Print tabs between numbers now that
   27:         {l,r}print_number doesn't.  Print fields right justified.
   28: 
   29: Mon Dec  8 11:22:04 1997  Nick Clifton  <nickc@cygnus.com>
   30: 
   31:         * objdump.c (objdump_print_addr_with_sym): Remove call to
   32:         disasm_symaddr() as this function no longer exists.
   33: 
   34: Tue Dec  2 10:23:50 1997  Nick Clifton  <nickc@cygnus.com>
   35: 
   36:         * objdump.c (objdump_print_addr_with_sym): Call disasm_symaddr()
   37:         to allow backend to know which symbol has just been displayed.
   38: 
   39: Tue Dec  2 13:06:46 1997  Ian Lance Taylor  <ian@cygnus.com>
   40: 
   41:         * windres.h (ESCAPE_*): Define standard escape sequences.
   42:         * rclex.l (handle_quotes): Handle standard escape sequences.  Warn
   43:         about an unrecognized escape character.
   44:         * windres.c (unicode_print): Print standard escape sequences.
   45:         * rcparse.y (acc_event): Initialize $$.next.
   46:         * resbin.c (bin_to_res_menuitems): Don't set MENUITEM_POPUP or
   47:         MENUITEM_ENDMENU in the menu item flags.
   48:         (bin_to_res_accelerators): Allocate a structure (the old code
   49:         never worked).
   50:         (res_to_bin_accelerator): Correct the test for setting ACC_LAST.
   51:         (res_to_bin_dialog): Save the extended style rather than saving
   52:         the style twice.  Remove useless shadowing length variable.  Set
   53:         the length of control data correctly.
   54:         * resrc.c (write_rc_dialog): Don't print the class or menu if the
   55:         string length is zero.
   56: 
   57: Mon Nov 24 18:52:43 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
   58: 
   59:         * stabs.c (parse_stab_argtypes): Don't try to parse the name of a
   60:         destructor as mangled argument types.
   61: 
   62: Mon Nov 10 17:51:41 1997  Gavin Koch  <gavin@cygnus.com>
   63: 
   64:         * addr2line.c (translate_addresses): Use bfd_scan_vma rather
   65:         than strtol to scan addresses.
   66: 
   67: Sun Nov  9 11:01:31 1997  Jeffrey A Law  (law@cygnus.com)
   68: 
   69:         * Makefile.am (bin_PROGRAMS): Don't use line continuations here.
   70: 
   71: Tue Nov  4 11:56:14 1997  Ian Lance Taylor  <ian@cygnus.com>
   72: 
   73:         * objcopy.c (copy_section): Don't crash if there is no particular
   74:         information for a section.
   75: 
   76: Mon Nov  3 12:36:19 1997  Ian Lance Taylor  <ian@cygnus.com>
   77: 
   78:         * objcopy.c (parse_flags): Make flag check case insensitive.
   79:         Check for `contents' flag.  Give an error for unrecognized flags.
   80:         (copy_section): If the contents flag was set for a section that
   81:         had no contents, zero out the new contents.
   82:         * binutils.texi (objcopy): Document contents section flag.
   83: 
   84: Sun Nov  2 14:49:56 1997  Ian Lance Taylor  <ian@cygnus.com>
   85: 
   86:         * objcopy.c: Move new struct and variable definitions to top of
   87:         file.  Remove obsolete add_strip_symbol and is_strip_symbol
   88:         declarations.  Add prototype declarations for add_specific_symbol
   89:         and is_specified_symbol.
   90: 
   91: Mon Oct 20 15:31:43 1997  Klaus K"ampf  <kkaempf@progis.de>
   92: 
   93:         * configure.com (HAVE_SBRK): Undefine.
   94: 
   95: Tue Oct 14 16:14:35 1997  Nick Clifton  <nickc@cygnus.com>
   96: 
   97:         * objdump.c (objdump_symbol_at_address): New function.  Returns
   98:         true if a symbol can be found at the address passed in.
   99:         (disassemble_data): Set the symbol_at_address_func field to point
  100:         to objdump_symbol_at_address.
  101: 
  102: Fri Oct 10 14:13:09 1997  Richard Henderson  <rth@cygnus.com>
  103: 
  104:         * objcopy.c, objcopy.1, binutils.texi: "localize" is a better name
  105:         than "privatize".  Update all references.
  106: 
  107: Thu Oct  9 15:57:29 1997  Ian Lance Taylor  <ian@cygnus.com>
  108: 
  109:         * binutils.texi (strip): Remove duplicate --target.  From Marty
  110:         Leisner <leisner@sdsp.mc.xerox.com>.
  111: 
  112:         * nm.c (lineno_cache_bfd): New file static variable.
  113:         (lineno_cache_rel_bfd): New file static variable.
  114:         (display_archive): Clear lineno_cache_bfd and lineno_cache_rel_bfd
  115:         when closing a BFD.
  116:         (display_file): Likewise.
  117:         (print_symbol): Use lineno_cache_bfd and lineno_cache_rel_bfd
  118:         instead of cache_bfd and cache_rel_bfd.  Make seccount static, and
  119:         only set it when setting relocs.
  120: 
  121: Wed Oct  8 21:19:11 1997  Richard Henderson  <rth@cygnus.com>
  122: 
  123:         * objcopy.c (keep_specific_list, privatize_specific_list,
  124:         weaken_specific_list): New variables.
  125:         (keep_symbols): Removed.
  126:         (add_specific_symbol): New function from the carcas of
  127:         add_strip_symbol.  Takes a list as an argument.
  128:         (is_specified_symbol): Likewise from is_strip_symbol.
  129:         (filter_symbols): Honor the new privatize and weaken lists.
  130:         Optimize bfd_asymbol_name handling.
  131:         (copy_object, copy_options, copy_usage): Add privatize-symbol &
  132:         weaken-symbol options.
  133: 
  134:         * objcopy.1, binutils.texi: Update docs.
  135: 
  136: Sun Oct  5 09:05:44 1997  Frank Ch. Eigler  <fche@cygnus.com>
  137: 
  138:         * objdump.c (disassemble_data): Make "--prefix-addresses"
  139:         disassembly adjust to mixed-length instructions.
  140:         (objdump_print_addr_with_sym): Add "0x" prefix for hexadecimal
  141:         symbol-offsets in disassembly.
  142: 
  143: Fri Oct  3 12:04:25 1997  Ian Lance Taylor  <ian@cygnus.com>
  144: 
  145:         * objcopy.c (set_times): New static function, replacing
  146:         make_same_dates.
  147:         (strip_main): If preserve_dates, stat the input file before
  148:         copying it, and call set_times afterward.
  149:         (copy_main): Likewise.
  150: 
  151:         * wrstabs.c (write_stabs_in_sections_debugging_info): Cast p to
  152:         char * when calling strcpy and strlen.
  153: 
  154: Wed Sep 24 11:34:05 1997  Ian Lance Taylor  <ian@cygnus.com>
  155: 
  156:         * binutils.texi        (ar cmdline): Document that q now works like r.
  157:         From Marty Leisner <leisner@sdsp.mc.xerox.com>.
  158: 
  159:         * binutils.texi (size): The object file argument is optional.
  160:         From Marty Leisner <leisner@sdsp.mc.xerox.com>.
  161: 
  162:         * aclocal.m4: Rebuild with new libtool.
  163:         * configure: Rebuild.
  164: 
  165: Tue Aug 26 17:48:34 1997  Ian Lance Taylor  <ian@cygnus.com>
  166: 
  167:         * Makefile.am (EXEEXT_FOR_BUILD): New variable.  Use it in all
  168:         references to the sysinfo program.
  169:         * configure.in: Rebuild with new bfd/acinclude.m4.
  170:         * Makefile.in: Rebuild.
  171: 
  172: Fri Aug  8 15:32:49 1997  Ian Lance Taylor  <ian@cygnus.com>
  173: 
  174:         * windres.c: Include <time.h>.
  175:         (define_resource): Set a timestamp for the resource.
  176: 
  177: Wed Aug  6 13:37:58 1997  Ian Lance Taylor  <ian@cygnus.com>
  178: 
  179:         * configure.in: Define TARGET in header file.
  180:         * acconfig.h (TARGET): Add #undef.
  181:         * Makefile.am (version.o, bucomm.o): Remove special targets.
  182:         * bucomm.c (target): Remove.
  183:         * nm.c (program_name): Don't declare.
  184:         (target): Make static.
  185:         * size.c (target): Make static.
  186:         * configure, config.in, Makefile.in: Rebuild.
  187: 
  188: Tue Aug  5 00:01:41 1997  Ian Lance Taylor  <ian@cygnus.com>
  189: 
  190:         * Makefile.am (check-DEJAGNU): Export r.
  191:         (.dep1): Use $(INCLUDES) rather than $(ALL_CFLAGS).
  192:         * Makefile.in: Rebuild.
  193: 
  194:         * nlmheader.y: Use VERSIONK rather than VERSION.
  195: 
  196:         * Makefile.am (STRIP_PROG): Change from strip.new to strip-new.
  197:         (NM_PROG): Change from nm.new to nm-new.
  198:         (TOOL_PROGS, install-exec-local): Adjust accordingly.
  199:         * Makefile.in: Rebuild.
  200: 
  201: Mon Aug  4 11:47:31 1997  Ian Lance Taylor  <ian@cygnus.com>
  202: 
  203:         * configure.in: Remove AC_ARG_PROGRAM; it's invoked by
  204:         AM_INIT_AUTOMAKE.
  205:         * configure: Rebuild.
  206: 
  207:         * Makefile.am (install-exec-local): Create $(tooldir)/bin before
  208:         trying to install anything into it.
  209:         * Makefile.in: Rebuild.
  210: 
  211:         * Makefile.am (TOOL_PROGS): Use an explicit $(EXEEXT).
  212:         (install-exec-local): When handling $(noinst_PROGRAMS), only use
  213:         $(EXEEXT) on the installed file.  When handling $(TOOL_PROGS),
  214:         handle $(EXEEXT) correctly.
  215:         * configure.in: Add an explicit $(EXEEXT) when substituting for
  216:         the name of a program to build.
  217:         * Makefile.in, configure: Rebuild.
  218: 
  219:         * aclocal.m4, configure, Makefile.in: Rebuild with new automake
  220:         patches.
  221: 
  222:         * deflex.l, defparse.y: Use VERSIONK rather than VERSION.
  223:         * rclex.l, rcparse.y: Likewise.
  224:         * Makefile.am (windres_SOURCES): Add $(BULIBS).
  225:         * Makefile.in: Rebuild.
  226: 
  227: Fri Aug  1 13:08:39 1997  Ian Lance Taylor  <ian@cygnus.com>
  228: 
  229:         * acinclude.m4: Include bfd/acinclude.m4, not bfd/acmacros.m4.
  230:         * aclocal.m4, configure: Rebuild with new libtool.
  231: 
  232: Thu Jul 31 11:51:35 1997  Ian Lance Taylor  <ian@cygnus.com>
  233: 
  234:         * Makefile.am: New file, based on old Makefile.in.
  235:         * acinclude.m4: New file, from old aclocal.m4.
  236:         * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL.  Remove
  237:         shared library handling; now handled by libtool.  Replace
  238:         AC_CONFIG_HEADER with AM_CONFIG_HEADER.  Call AC_PROG_YACC,
  239:         AC_PROG_LEX, AC_DECL_YYTEST, AM_MAINTAINER_MODE, AM_CYGWIN32, and
  240:         AM_EXEEXT.  Replace AC_PROG_INSTALL with AM_PROG_INSTALL.  Remove
  241:         stamp-h handling in AC_OUTPUT.
  242:         * acconfig.h: Mention PACKAGE and VERSION.
  243:         * stamp-h.in: New file.
  244:         * Makefile.in: Now built with automake.
  245:         * aclocal.m4: Now built with aclocal.
  246:         * config.in, configure: Rebuild.
  247: 
  248:         From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>:
  249:         * rcparse.y (dialog): Default menu and class to be named.
  250:         (styles): If FONT is seen, set DS_SETFONT in dialog style.
  251:         * resbin.c (res_to_bin_dialog): Correct computation of font
  252:         information length.
  253: 
  254: Wed Jul 30 11:21:06 1997  Ian Lance Taylor  <ian@cygnus.com>
  255: 
  256:         From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>:
  257:         * resbin.c (res_to_bin_menu): Correct computation of menu
  258:         vs. menuex length.
  259:         * resrc.c (define_stringtable): Add 1 to resource ID.
  260: 
  261: Tue Jul 29 11:06:03 1997  Ian Lance Taylor  <ian@cygnus.com>
  262: 
  263:         * resbin.c (bin_to_res_string): Correct adjustment of data and
  264:         length.  From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>.
  265: 
  266: Tue Jul 22 18:01:23 1997  Ian Lance Taylor  <ian@cygnus.com>
  267: 
  268:         * nlmconv.c (link_inputs): Call libiberty pexecute function.
  269:         (pexecute) [multiple versions]: Remove.
  270: 
  271: Tue Jul 22 16:19:34 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
  272: 
  273:         * bucomm.c (make_tempname): If we might be using a DOS filesystem,
  274:         check for a backslash as well as a slash.
  275: 
  276: Thu Jun 26 13:53:17 1997  Ian Lance Taylor  <ian@cygnus.com>
  277: 
  278:         * windres.c (main): Quit if we didn't get any resources.
  279:         (usage): Fix --yydebug usage message.
  280:         * rescoff.c (write_coff_file): Don't free the relocation array
  281:         until after we've closed the BFD.
  282:         (read_coff_rsrc): Quit rather than try to read standard input.
  283:         (write_coff_file): Quit rather than try to write to standard
  284:         output.
  285:         * rcparse.y: Add a couple of missing semicolons (accepted by bison
  286:         but not byacc).
  287:         * binutils.texi: Document windres.
  288: 
  289: Wed Jun 25 20:57:06 1997  Ian Lance Taylor  <ian@cygnus.com>
  290: 
  291:         * resbin.c: New file.
  292:         * rclex.l, rcparse.y, rescoff.c, resrc.c, windres.c, windres.h:
  293:         Numerous fixes and improvements.
  294:         * Makefile.in: Rebuild dependencies.
  295:         (CFILES): Add resbin.c.
  296:         (WINDRES_OBJS): Add resbin.o.
  297: 
  298: Sun Jun 22 17:29:41 1997  Ian Lance Taylor  <ian@cygnus.com>
  299: 
  300:         First stab at Windows resource compiler:
  301:         * windres.h: New file.
  302:         * windres.c: New file.
  303:         * resrc.c: New file.
  304:         * rcparse.y: New file.
  305:         * rclex.l: New file.
  306:         * rescoff.c: New file.
  307:         * configure.in: Define and substitute BUILD_WINDRES.
  308:         * configure: Rebuild.
  309:         * Makefile.in: Rebuild dependencies.
  310:         (WINDRES_PROG): New variable.
  311:         (PROGS): Add @BUILD_WINDRES@.
  312:         (HFILES): Add dlltool.h and windres.h.
  313:         (CFILES): Add windres.c and resrc.c.
  314:         (GENERATED_CFILES): Add rcparse.c and rclex.c.
  315:         (WINDRES_OBJS): New variable.
  316:         $(WINDRES_PROG): New target.
  317:         (rcparse.c, rcparse.h, rclex.c): New targets.
  318: 
  319: Thu Jun 12 12:27:51 1997  Ian Lance Taylor  <ian@cygnus.com>
  320: 
  321:         * dlltool.c (export_type): Add data field.
  322:         (def_exports): Add data parameter.  Change all callers.
  323:         (dump_def_info): Print data field.
  324:         (gen_def_file): Likewise.
  325:         (make_one_lib_file): Handle data field by not emitting simple
  326:         label and not emitting anything in SEC_TEXT.
  327:         (dtab): Print data field.
  328:         (process_duplicates): Merge data field.
  329:         * dlltool.h (def_exports): Update declaration.
  330:         * defparse.y (expline): Accept opt_DATA.  Pass it to def_exports.
  331:         (opt_DATA): New non-terminal.
  332: 
  333: Wed Jun 11 17:15:47 1997  Ian Lance Taylor  <ian@cygnus.com>
  334: 
  335:         * dlltool.h: New file.
  336:         * deflex.l: Include dlltool.h and libiberty.h.  Don't declare
  337:         strdup.  Use xstrdup rather than strdup.
  338:         * defparse.y: Include bfd.h, bucomm.h, and dlltool.h.
  339:         * dlltool.c: Include dlltool.h and time.h.  Make a lot of
  340:         variables and functions static.  Make a lot of char * variables
  341:         and parameters const.  Add declarations for static functions.  Do
  342:         some reindenting.  Hide more PowerPC stuff inside DLLTOOL_PPC.
  343: 
  344: Wed Jun 11 12:05:52 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
  345: 
  346:         * ar.c (bfd_special_undocumented_glue): Add const.
  347: 
  348: Mon May 12 22:09:35 1997  Bob Manson  <manson@charmed.cygnus.com>
  349: 
  350:         * Makefile.in (check): Pass CC_FOR_TARGET and CFLAGS_FOR_TARGET
  351:         to runtest.
  352: 
  353: Mon May 12 13:14:22 1997  Ian Lance Taylor  <ian@cygnus.com>
  354: 
  355:         * configure.in: Don't clear OPCODES when --enable-commonbfdlib is
  356:         used on HP/UX.
  357:         * configure: Rebuild.
  358: 
  359: Fri Apr 25 14:22:08 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
  360: 
  361:         * Makefile.in (maintainer-clean realclean): Change *.info*
  362:         to binutils.info* to save sysroff.info.
  363: 
  364: Tue Apr 15 13:42:22 1997  Ian Lance Taylor  <ian@cygnus.com>
  365: 
  366:         * Makefile.in (INSTALL): Set to @INSTALL@.
  367:         (INSTALL_XFORM, INSTALL_XFORM1): Remove.
  368:         (install): Depend upon installdirs.  Use $(program_transform_name)
  369:         directly, rather than using $(INSTALL_XFORM) and
  370:         $(INSTALL_XFORM1).
  371:         (installdirs): New target.
  372:         (install-info): Run mkinstalldirs.
  373: 
  374: Mon Apr 14 11:52:39 1997  Ian Lance Taylor  <ian@cygnus.com>
  375: 
  376:         * Makefile.in (INSTALL): Change install.sh to install-sh.
  377: 
  378:         From Thomas Graichen <graichen@rzpd.de>:
  379:         * Makefile.in: Always use $(SHELL) when running move-if-change.
  380:         * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
  381:         * configure: Rebuild.
  382: 
  383: Fri Apr  4 13:28:02 1997  Ian Lance Taylor  <ian@cygnus.com>
  384: 
  385:         * configure.in: Add AC_FUNC_ALLOCA.
  386:         * configure, config.in: Rebuild.
  387:         * bucomm.h: Add alloca handling, copied from gas/as.h.
  388:         * dlltool.c: Add #pragma alloca for AIX to start of file.
  389:         * nlmconv.c: Likewise.
  390: 
  391:         * Makefile.in (distclean): Remove site.exp and site.bak.  Remove
  392:         everything that clean removes.
  393: 
  394: Thu Apr  3 13:18:39 1997  Ian Lance Taylor  <ian@cygnus.com>
  395: 
  396:         * Makefile.in (VERSION): Set to 2.8.1.
  397: 
  398:         * Branched binutils 2.8.
  399: 
  400: Tue Apr  1 16:21:44 1997  Klaus Kaempf  <kkaempf@progis.de>
  401: 
  402:         * configure.com: New file.
  403:         * config.h-vms: Remove file.
  404:         * makefile.vms: Update for new configure scheme.
  405: 
  406: Mon Mar 31 15:30:43 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
  407: 
  408:         * objcopy.c (make_same_dates): Use statbuf, not buf, if not
  409:         HAVE_GOOD_UTIME_H.
  410: 
  411: Fri Mar 28 17:57:53 1997  Alan Modra  <alan@spri.levels.unisa.edu.au>
  412: 
  413:         * Makefile.in ($(OBJDUMP_PROG)): Don't link against BFDLIB twice.
  414:         * configure.in: Add AC_ARG_ENABLE for commonbfdlib.  If it is set,
  415:         set OPCODES to empty.
  416:         * configure: Rebuild.
  417: 
  418: Thu Mar 27 16:03:02 1997  Ian Lance Taylor  <ian@cygnus.com>
  419: 
  420:         Based on patch from Marty Leisner <leisner@sdsp.mc.xerox.com>:
  421:         * objcopy.c: Include <utime.h> or <sys/time.h>.
  422:         (strip_options): Add "preserve-dates".
  423:         (copy_options): Likewise.
  424:         (copy_usage): Mention -p and --preserve-dates.
  425:         (strip_usage): Likewise.
  426:         (make_same_dates): New static function.
  427:         (strip_main): Handle -p.
  428:         (copy_main): Likewise.
  429:         * binutils.texi, strip.1, objcopy.1: Document new option.
  430: 
  431:         addr2line.c contributed by Ulrich Lauther
  432:         <Ulrich.Lauther@zfe.siemens.de>:
  433:         * addr2line.c: New file.
  434:         * Makefile.in: Rebuild dependencies.
  435:         (ADDR2LINE_PROG): New variable.
  436:         (MANPAGES): Add addr2line.
  437:         (PROGS): Add $(ADDR2LINE_PROG).
  438:         (CFILES): Add addr2line.c.
  439:         ($(ADDR2LINE_PROG)): New target.
  440:         * binutils.texi: Document addr2line.
  441:         * addr2line.1: New file.
  442: 
  443:         * version.c (print_version): Update copyright date.
  444: 
  445: Mon Mar 24 10:52:45 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
  446: 
  447:         * objdump.c (disassemble_data): Don't exit if a file cannot be
  448:         disassembled, instead just return.
  449: 
  450: Thu Mar 20 21:16:51 1997  Jeffrey A Law  (law@cygnus.com)
  451: 
  452:         * size.c (usage): Make definition match its prototype.
  453:         (display_bfd, lprint_number, rprint_number): Likewise.
  454:         (print_berkeley_format, sysv_internal_printer): Likewise.
  455:         (print_sysv_format): Likewise.
  456:         * nm.c (set_print_radix, set_output_format): Likewise.
  457:         * objcopy.c (filter_bytes): Likewise.
  458: 
  459: Tue Mar 18 16:39:55 1997  H.J. Lu  <hjl@lucon.org>
  460: 
  461:         * Many files: Add function prototypes.
  462:         * ar.c (mri_emul, get_pos_bfd): Make static.
  463:         * arlex.l: Include "libiberty.h".  Don't declare strdup.  Use
  464:         xstrdup rather than strdup.
  465:         * arparse.y (yyerror): Make argument const.  Correct typo.
  466:         * arsup.c (strdup): Don't declare.
  467:         (ar_save): Use xstrdup rather than strdup.
  468:         * filemode.c: Include "bucomm.h".
  469:         * nm.c (usage): Make static.
  470:         (print_symname): Make format and name const.
  471:         * objcopy.c (cat): Remove.
  472:         (copy_archive): Make output_target const.  Use concat, not cat.
  473:         (copy_file, simple_copy, smart_rename): Make arguments const.
  474:         * objdump.c (read_section_stabs): Likewise.
  475:         (print_section_stabs): Likewise.
  476:         (display_target_tables): Don't declare getenv.
  477:         * strings.c (strings_object_file): Change file to const.
  478:         (print_strings): Change filename to const.
  479:         * Makefile.in: Rebuild dependencies.
  480: 
  481: Tue Mar 18 11:37:24 1997  Ian Lance Taylor  <ian@cygnus.com>
  482: 
  483:         * configure.in: Add BFD_NEED_DECLARATION(getenv).
  484:         * acconfig.h: Add NEED_DECLARATION_GETENV.
  485:         * bucomm.h (getenv): Declare if NEED_DECLARATION_GETENV.
  486:         * configure, config.in: Rebuild.
  487:         * nlmconv.c (getenv): Don't declare.
  488: 
  489:         * Makefile.in: Rebuild dependencies.
  490: 
  491: Sat Mar 15 15:35:56 1997  Ian Lance Taylor  <ian@cygnus.com>
  492: 
  493:         Based on patches from Jamie Lokier <jamie@rebellion.co.uk>:
  494:         * objdump.c: Include "demangle.h".
  495:         (do_demangle): New static variable.
  496:         (usage): Mention -C/--demangle.
  497:         (long_options): Add "demangle".
  498:         (objdump_print_symname): New static function.
  499:         (objdump_print_addr_with_sym): Use objdump_print_symname.
  500:         (disassemble_bytes): Likewise.
  501:         (dump_reloc_set): Likewise.
  502:         (dump_symbols): Demangle symbol name.
  503:         (main): Handle -C.
  504:         * binutils.texi, objdump.1: Document -C/--demangle.
  505: 
  506:         * objdump.c (usage): Mention --no-show-raw-insn.
  507:         (long_options): Add "no-show-raw-insn".
  508:         (disassemble_bytes): Handle --no-show-raw-insn.
  509:         * binutils.texi, objdump.1: Document --no-show-raw-insn.
  510: 
  511: Wed Mar 12 11:42:00 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
  512: 
  513:         * rddbg.c (free_saved_stabs): Set the strings to NULL after being
  514:         freed.
  515: 
  516: Fri Feb 28 17:18:45 1997  Ian Lance Taylor  <ian@cygnus.com>
  517: 
  518:         * bucomm.c (set_default_bfd_target): New function.
  519:         * bucomm.h (set_default_bfd_target): Declare.
  520:         * ar.c (main): Call set_default_bfd_target.
  521:         * nlmconv.c (main): Likewise.
  522:         * nm.c (main): Likewise.
  523:         * objcopy.c (main): Likewise.
  524:         * objdump.c (main): Likewise.
  525:         * size.c (main): Likewise.
  526:         * strings.c (main): Likewise.
  527:         * Makefile.in (bucomm.o): New target, to define TARGET.
  528: 
  529: Tue Feb 25 21:28:38 1997  Ian Lance Taylor  <ian@cygnus.com>
  530: 
  531:         * objdump.c (adjust_section_vma): New static variable.
  532:         (usage): Mention --adjust-section-vma.
  533:         (OPTION_ADJUST_VMA): Define.
  534:         (long_options): Add "addjust-vma".
  535:         (display_bfd): If adjust_section_vma is not 0, add it to all the
  536:         section addresses.
  537:         (main): Handle OPTION_ADJUST_VMA.
  538:         * binutils.texi, objdump.1: Document --adjust-vma.
  539: 
  540: Fri Feb 14 18:46:47 1997  Ian Lance Taylor  <ian@cygnus.com>
  541: 
  542:         * nm.c (print_symbol): Cache the BFD as well as the symbols and
  543:         relocs, and don't try to use the symbols or relocs with a
  544:         different BFD.
  545: 
  546: Thu Feb 13 21:34:43 1997  Klaus Kaempf  (kkaempf@progis.de)
  547: 
  548:         * config.h-vms: sbrk() is provided on openVMS/Alpha.
  549:         * makefile.vms: allow compiling with current gcc snapshot.
  550: 
  551: Thu Feb 13 20:14:40 1997  Ian Lance Taylor  <ian@cygnus.com>
  552: 
  553:         * arsup.c, coffgrok.c, dlltool.c, nlmconv.c: Use xmalloc rather
  554:         than malloc.
  555: 
  556: Wed Feb 12 16:12:02 1997  Ian Lance Taylor  <ian@cygnus.com>
  557: 
  558:         * objdump.c (disassemble_data): Correct VMA argument to
  559:         find_symbol_for_address.  Improve handling of code with no symbol
  560:         followed by code with a symbol.
  561: 
  562: Wed Feb 12 12:16:47 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
  563: 
  564:         * objdump.c (disassemble_bytes): Make output of raw instructions
  565:         work better for non-standard values of bytes_per_chunk and
  566:         bytes_per_line.
  567: 
  568: Thu Feb  6 14:14:59 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
  569: 
  570:         * objdump.c (disassemble_bytes): Added code to allow some control
  571:         over the way raw instructions are displayed.
  572: 
  573: Thu Feb  6 12:36:03 1997  Ian Lance Taylor  <ian@cygnus.com>
  574: 
  575:         * stabs.c (struct bincl_file): Add next_stack field.
  576:         (push_bincl): Put the new file on both bincl_list and
  577:         bincl_stack.  Clear the file_types field.
  578:         (pop_bincl): Use the next_stack field when popping the stack.
  579:         Don't put the file on bincl_list.
  580:         (find_excl): Include the file name when warning about an unfound
  581:         N_EXCL.
  582: 
  583:         * debug.c (debug_type_samep): Don't crash if we are passed NULL.
  584: 
  585: Thu Feb  6 11:54:24 1997  Alan Modra  <alan@spri.levels.unisa.edu.au>
  586: 
  587:         * objcopy.1: Add missing space after .B.
  588: 
  589: Fri Jan 31 10:33:07 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
  590: 
  591:         * objdump.c (disassemble_data): Initialize `aux.require_sec'.
  592: 
  593: Wed Jan 29 13:21:21 1997  Ian Lance Taylor  <ian@cygnus.com>
  594: 
  595:         * objdump.c (objdump_print_value): Add skip_zeroes parameter.
  596:         Change all callers.
  597:         (objdump_print_addr_with_sym): Likewise.  Call objdump_print_value
  598:         to print address.
  599:         (objdump_print_addr): New static function.
  600:         (objdump_print_address): Just call objdump_print_addr.
  601:         (disassemble_bytes): Print real address, not function offset.
  602:         Skip a certain number of leading zeroes.
  603: 
  604:         * objdump.c (disassemble_zeroes): New static variable.
  605:         (usage): Mention --disassemble-zeroes.
  606:         (long_options): Add "disassemble-zeroes".
  607:         (disassemble_bytes): Check disassemble_zeroes.
  608: 
  609: Tue Jan 28 16:47:26 1997  Ian Lance Taylor  <ian@cygnus.com>
  610: 
  611:         * objdump.c (disassemble_bytes): Don't skip zeroes if the
  612:         disassembler has told us that we are in a branch delay slot.
  613: 
  614: Mon Jan 20 14:24:04 1997  Ian Lance Taylor  <ian@cygnus.com>
  615: 
  616:         * size.c (berkeley_sum): Rewrite.  Skip sections which are not
  617:         SEC_ALLOC.  Count SEC_READONLY sections as text.
  618: 
  619: Tue Jan 14 15:14:14 1997  Ian Lance Taylor  <ian@cygnus.com>
  620: 
  621:         * Makefile.in (maintainer-clean realclean): Remove *.info*, not
  622:         just *.info.  From H.J. Lu <hjl@lucon.org>.
  623: 
  624: Tue Dec 31 15:42:54 1996  Ian Lance Taylor  <ian@cygnus.com>
  625: 
  626:         * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
  627: 
  628: Fri Dec 27 11:19:26 1996  Ian Lance Taylor  <ian@cygnus.com>
  629: 
  630:         * configure.in: Work around bug in AC_FUNC_VFORK in autoconf 2.12.
  631:         * configure: Rebuild.
  632: 
  633: Thu Dec 19 13:11:20 1996  Ian Lance Taylor  <ian@cygnus.com>
  634: 
  635:         Based on patch from Andrew J Klossner <andrew@pogo.wv.tek.com>:
  636:         * objcopy.c (OPTION_WEAKEN): Define.
  637:         (copy_options): Add "weaken".
  638:         (copy_usage): Mention --weaken.
  639:         (weaken): New static variable.
  640:         (filter_symbols): Handle weaken.
  641:         (copy_object): Call filter_symbols if weaken.
  642:         (copy_main): Handle OPTION_WEAKEN.
  643:         * binutils.texi, objcopy.1: Document --weaken.
  644: 
  645: Wed Dec 18 22:49:13 1996  Stan Shebs  <shebs@andros.cygnus.com>
  646: 
  647:         * mpw-make.sed: Use NewFolderRecursive for installation.
  648: 
  649: Sat Dec  7 10:17:25 1996  Jeffrey A Law  (law@cygnus.com)
  650: 
  651:         * Makefile.in (install): Add "else true" clause to cater to
  652:         broken "make" on some systems.
  653: 
  654: Fri Dec  6 17:21:41 1996  Ian Lance Taylor  <ian@cygnus.com>
  655: 
  656:         * ieee.c (parse_ieee_bb): Always initialize namcopy to avoid gcc
  657:         warning about uninitialized variable.
  658:         (ieee_read_cxx_class): Likewise, for pf.
  659:         (ieee_enum_type): Likewise, for i.
  660: 
  661: Tue Nov 26 17:01:25 1996  Ian Lance Taylor  <ian@cygnus.com>
  662: 
  663:         * wrstabs.c (stab_array_type): Add casts when printing
  664:         bfd_signed_vma values.
  665: 
  666:         * configure: Rebuild with autoconf 2.12.
  667: 
  668: Mon Nov 25 16:53:18 1996  Ian Lance Taylor  <ian@cygnus.com>
  669: 
  670:         * objdump.c (disassemble_data): Don't crash if there is no
  671:         symbol.
  672: 
  673: Fri Nov 22 17:29:14 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
  674: 
  675:         * ar.c (open_inarch): Don't call bfd_openr with a null name.
  676: 
  677: Fri Nov  1 12:08:13 1996  Ian Lance Taylor  <ian@cygnus.com>
  678: 
  679:         * binutils.texi: Add section on reporting bugs.
  680: 
  681: Thu Oct 31 18:20:53 1996  Ian Lance Taylor  <ian@cygnus.com>
  682: 
  683:         * stabs.c (struct stab_handle): Add bincl_list field.
  684:         (parse_stab): Pass value to push_bincl.  Call find_excl for
  685:         N_EXCL.
  686:         (struct bincl_file): Add hash, file and file_types fields.
  687:         (push_bincl): Add hash parameter.  Save it in the new hash field.
  688:         Save the file number in the new file field.
  689:         (pop_bincl): Put the bincl_file on bincl_list, rather than freeing
  690:         it.  Save the file types in the new file_types field.
  691:         (find_excl): New static function.
  692: 
  693:         * ieee.c (ieee_lineno): Don't compare line number addresses to
  694:         info->highaddr (undo part of October 28 patch).
  695: 
  696: Tue Oct 29 16:40:22 1996  Ian Lance Taylor  <ian@cygnus.com>
  697: 
  698:         * objdump.c (objdump_print_value): Don't print the empty string
  699:         for zero.
  700: 
  701: Mon Oct 28 16:58:14 1996  Ian Lance Taylor  <ian@cygnus.com>
  702: 
  703:         * stabs.c (struct stab_handle): Add function_end field.
  704:         (start_stab): Initialize function_end.
  705:         (finish_stab): Pass info->function_end to debug_end_function.
  706:         (parse_stab): If info->function_end is set, use it as the address
  707:         which ends a function.
  708: