1 1.1 christos Mon Dec 29 16:58:05 1997 Ian Lance Taylor <ian (a] cygnus.com> 2 1.1 christos 3 1.1 christos From Matthew Bellantoni <matthew (a] chrysalis.com>: 4 1.1 christos * ar.c (get_pos_bfd): Add default_posname parameter. Change all 5 1.1 christos callers. 6 1.1 christos (replace_members): Default to replacing in the same position. 7 1.1 christos 8 1.1 christos Mon Dec 22 11:27:22 1997 Ian Lance Taylor <ian (a] cygnus.com> 9 1.1 christos 10 1.1 christos * rclex.l: Don't permit a comma in a STRING. 11 1.1 christos * rcparse.y (acc_entry): Warn if an inappropriate modifier is used 12 1.1 christos with a non VIRTKEY. 13 1.1 christos (acc_event): For a control character, set VIRTKEY, and force the 14 1.1 christos character to uppercase. 15 1.1 christos (acc_options): Don't require a comma separator. 16 1.1 christos 17 1.1 christos Tue Dec 9 13:25:42 1997 Michael Meissner <meissner (a] cygnus.com> 18 1.1 christos 19 1.1 christos * size.c (size_number): New function to provide size of field. 20 1.1 christos ({l,r}print_number): For octal and hex fields, print field using 21 1.1 christos '0' and '0x' suffixes. Do not include following tab. 22 1.1 christos (sysv_internal_sizer): Size section name, section size, and vma 23 1.1 christos address fields. 24 1.1 christos (sysv_internal_printer): Use calculated sizes for the columns. 25 1.1 christos (print_sysv_format): Size columns before printing. 26 1.1 christos (print_berkeley_format): Print tabs between numbers now that 27 1.1 christos {l,r}print_number doesn't. Print fields right justified. 28 1.1 christos 29 1.1 christos Mon Dec 8 11:22:04 1997 Nick Clifton <nickc (a] cygnus.com> 30 1.1 christos 31 1.1 christos * objdump.c (objdump_print_addr_with_sym): Remove call to 32 1.1 christos disasm_symaddr() as this function no longer exists. 33 1.1 christos 34 1.1 christos Tue Dec 2 10:23:50 1997 Nick Clifton <nickc (a] cygnus.com> 35 1.1 christos 36 1.1 christos * objdump.c (objdump_print_addr_with_sym): Call disasm_symaddr() 37 1.1 christos to allow backend to know which symbol has just been displayed. 38 1.1 christos 39 1.1 christos Tue Dec 2 13:06:46 1997 Ian Lance Taylor <ian (a] cygnus.com> 40 1.1 christos 41 1.1 christos * windres.h (ESCAPE_*): Define standard escape sequences. 42 1.1 christos * rclex.l (handle_quotes): Handle standard escape sequences. Warn 43 1.1 christos about an unrecognized escape character. 44 1.1 christos * windres.c (unicode_print): Print standard escape sequences. 45 1.1 christos * rcparse.y (acc_event): Initialize $$.next. 46 1.1 christos * resbin.c (bin_to_res_menuitems): Don't set MENUITEM_POPUP or 47 1.1 christos MENUITEM_ENDMENU in the menu item flags. 48 1.1 christos (bin_to_res_accelerators): Allocate a structure (the old code 49 1.1 christos never worked). 50 1.1 christos (res_to_bin_accelerator): Correct the test for setting ACC_LAST. 51 1.1 christos (res_to_bin_dialog): Save the extended style rather than saving 52 1.1 christos the style twice. Remove useless shadowing length variable. Set 53 1.1 christos the length of control data correctly. 54 1.1 christos * resrc.c (write_rc_dialog): Don't print the class or menu if the 55 1.1 christos string length is zero. 56 1.1 christos 57 1.1 christos Mon Nov 24 18:52:43 1997 Andreas Schwab <schwab (a] issan.informatik.uni-dortmund.de> 58 1.1 christos 59 1.1 christos * stabs.c (parse_stab_argtypes): Don't try to parse the name of a 60 1.1 christos destructor as mangled argument types. 61 1.1 christos 62 1.1 christos Mon Nov 10 17:51:41 1997 Gavin Koch <gavin (a] cygnus.com> 63 1.1 christos 64 1.1 christos * addr2line.c (translate_addresses): Use bfd_scan_vma rather 65 1.1 christos than strtol to scan addresses. 66 1.1 christos 67 1.1 christos Sun Nov 9 11:01:31 1997 Jeffrey A Law (law (a] cygnus.com) 68 1.1 christos 69 1.1 christos * Makefile.am (bin_PROGRAMS): Don't use line continuations here. 70 1.1 christos 71 1.1 christos Tue Nov 4 11:56:14 1997 Ian Lance Taylor <ian (a] cygnus.com> 72 1.1 christos 73 1.1 christos * objcopy.c (copy_section): Don't crash if there is no particular 74 1.1 christos information for a section. 75 1.1 christos 76 1.1 christos Mon Nov 3 12:36:19 1997 Ian Lance Taylor <ian (a] cygnus.com> 77 1.1 christos 78 1.1 christos * objcopy.c (parse_flags): Make flag check case insensitive. 79 1.1 christos Check for `contents' flag. Give an error for unrecognized flags. 80 1.1 christos (copy_section): If the contents flag was set for a section that 81 1.1 christos had no contents, zero out the new contents. 82 1.1 christos * binutils.texi (objcopy): Document contents section flag. 83 1.1 christos 84 1.1 christos Sun Nov 2 14:49:56 1997 Ian Lance Taylor <ian (a] cygnus.com> 85 1.1 christos 86 1.1 christos * objcopy.c: Move new struct and variable definitions to top of 87 1.1 christos file. Remove obsolete add_strip_symbol and is_strip_symbol 88 1.1 christos declarations. Add prototype declarations for add_specific_symbol 89 1.1 christos and is_specified_symbol. 90 1.1 christos 91 1.1 christos Mon Oct 20 15:31:43 1997 Klaus K"ampf <kkaempf (a] progis.de> 92 1.1 christos 93 1.1 christos * configure.com (HAVE_SBRK): Undefine. 94 1.1 christos 95 1.1 christos Tue Oct 14 16:14:35 1997 Nick Clifton <nickc (a] cygnus.com> 96 1.1 christos 97 1.1 christos * objdump.c (objdump_symbol_at_address): New function. Returns 98 1.1 christos true if a symbol can be found at the address passed in. 99 1.1 christos (disassemble_data): Set the symbol_at_address_func field to point 100 1.1 christos to objdump_symbol_at_address. 101 1.1 christos 102 1.1 christos Fri Oct 10 14:13:09 1997 Richard Henderson <rth (a] cygnus.com> 103 1.1 christos 104 1.1 christos * objcopy.c, objcopy.1, binutils.texi: "localize" is a better name 105 1.1 christos than "privatize". Update all references. 106 1.1 christos 107 1.1 christos Thu Oct 9 15:57:29 1997 Ian Lance Taylor <ian (a] cygnus.com> 108 1.1 christos 109 1.1 christos * binutils.texi (strip): Remove duplicate --target. From Marty 110 1.1 christos Leisner <leisner (a] sdsp.mc.xerox.com>. 111 1.1 christos 112 1.1 christos * nm.c (lineno_cache_bfd): New file static variable. 113 1.1 christos (lineno_cache_rel_bfd): New file static variable. 114 1.1 christos (display_archive): Clear lineno_cache_bfd and lineno_cache_rel_bfd 115 1.1 christos when closing a BFD. 116 1.1 christos (display_file): Likewise. 117 1.1 christos (print_symbol): Use lineno_cache_bfd and lineno_cache_rel_bfd 118 1.1 christos instead of cache_bfd and cache_rel_bfd. Make seccount static, and 119 1.1 christos only set it when setting relocs. 120 1.1 christos 121 1.1 christos Wed Oct 8 21:19:11 1997 Richard Henderson <rth (a] cygnus.com> 122 1.1 christos 123 1.1 christos * objcopy.c (keep_specific_list, privatize_specific_list, 124 1.1 christos weaken_specific_list): New variables. 125 1.1 christos (keep_symbols): Removed. 126 1.1 christos (add_specific_symbol): New function from the carcas of 127 1.1 christos add_strip_symbol. Takes a list as an argument. 128 1.1 christos (is_specified_symbol): Likewise from is_strip_symbol. 129 1.1 christos (filter_symbols): Honor the new privatize and weaken lists. 130 1.1 christos Optimize bfd_asymbol_name handling. 131 1.1 christos (copy_object, copy_options, copy_usage): Add privatize-symbol & 132 1.1 christos weaken-symbol options. 133 1.1 christos 134 1.1 christos * objcopy.1, binutils.texi: Update docs. 135 1.1 christos 136 1.1 christos Sun Oct 5 09:05:44 1997 Frank Ch. Eigler <fche (a] cygnus.com> 137 1.1 christos 138 1.1 christos * objdump.c (disassemble_data): Make "--prefix-addresses" 139 1.1 christos disassembly adjust to mixed-length instructions. 140 1.1 christos (objdump_print_addr_with_sym): Add "0x" prefix for hexadecimal 141 1.1 christos symbol-offsets in disassembly. 142 1.1 christos 143 1.1 christos Fri Oct 3 12:04:25 1997 Ian Lance Taylor <ian (a] cygnus.com> 144 1.1 christos 145 1.1 christos * objcopy.c (set_times): New static function, replacing 146 1.1 christos make_same_dates. 147 1.1 christos (strip_main): If preserve_dates, stat the input file before 148 1.1 christos copying it, and call set_times afterward. 149 1.1 christos (copy_main): Likewise. 150 1.1 christos 151 1.1 christos * wrstabs.c (write_stabs_in_sections_debugging_info): Cast p to 152 1.1 christos char * when calling strcpy and strlen. 153 1.1 christos 154 1.1 christos Wed Sep 24 11:34:05 1997 Ian Lance Taylor <ian (a] cygnus.com> 155 1.1 christos 156 1.1 christos * binutils.texi (ar cmdline): Document that q now works like r. 157 1.1 christos From Marty Leisner <leisner (a] sdsp.mc.xerox.com>. 158 1.1 christos 159 1.1 christos * binutils.texi (size): The object file argument is optional. 160 1.1 christos From Marty Leisner <leisner (a] sdsp.mc.xerox.com>. 161 1.1 christos 162 1.1 christos * aclocal.m4: Rebuild with new libtool. 163 1.1 christos * configure: Rebuild. 164 1.1 christos 165 1.1 christos Tue Aug 26 17:48:34 1997 Ian Lance Taylor <ian (a] cygnus.com> 166 1.1 christos 167 1.1 christos * Makefile.am (EXEEXT_FOR_BUILD): New variable. Use it in all 168 1.1 christos references to the sysinfo program. 169 1.1 christos * configure.in: Rebuild with new bfd/acinclude.m4. 170 1.1 christos * Makefile.in: Rebuild. 171 1.1 christos 172 1.1 christos Fri Aug 8 15:32:49 1997 Ian Lance Taylor <ian (a] cygnus.com> 173 1.1 christos 174 1.1 christos * windres.c: Include <time.h>. 175 1.1 christos (define_resource): Set a timestamp for the resource. 176 1.1 christos 177 1.1 christos Wed Aug 6 13:37:58 1997 Ian Lance Taylor <ian (a] cygnus.com> 178 1.1 christos 179 1.1 christos * configure.in: Define TARGET in header file. 180 1.1 christos * acconfig.h (TARGET): Add #undef. 181 1.1 christos * Makefile.am (version.o, bucomm.o): Remove special targets. 182 1.1 christos * bucomm.c (target): Remove. 183 1.1 christos * nm.c (program_name): Don't declare. 184 1.1 christos (target): Make static. 185 1.1 christos * size.c (target): Make static. 186 1.1 christos * configure, config.in, Makefile.in: Rebuild. 187 1.1 christos 188 1.1 christos Tue Aug 5 00:01:41 1997 Ian Lance Taylor <ian (a] cygnus.com> 189 1.1 christos 190 1.1 christos * Makefile.am (check-DEJAGNU): Export r. 191 1.1 christos (.dep1): Use $(INCLUDES) rather than $(ALL_CFLAGS). 192 1.1 christos * Makefile.in: Rebuild. 193 1.1 christos 194 1.1 christos * nlmheader.y: Use VERSIONK rather than VERSION. 195 1.1 christos 196 1.1 christos * Makefile.am (STRIP_PROG): Change from strip.new to strip-new. 197 1.1 christos (NM_PROG): Change from nm.new to nm-new. 198 1.1 christos (TOOL_PROGS, install-exec-local): Adjust accordingly. 199 1.1 christos * Makefile.in: Rebuild. 200 1.1 christos 201 1.1 christos Mon Aug 4 11:47:31 1997 Ian Lance Taylor <ian (a] cygnus.com> 202 1.1 christos 203 1.1 christos * configure.in: Remove AC_ARG_PROGRAM; it's invoked by 204 1.1 christos AM_INIT_AUTOMAKE. 205 1.1 christos * configure: Rebuild. 206 1.1 christos 207 1.1 christos * Makefile.am (install-exec-local): Create $(tooldir)/bin before 208 1.1 christos trying to install anything into it. 209 1.1 christos * Makefile.in: Rebuild. 210 1.1 christos 211 1.1 christos * Makefile.am (TOOL_PROGS): Use an explicit $(EXEEXT). 212 1.1 christos (install-exec-local): When handling $(noinst_PROGRAMS), only use 213 1.1 christos $(EXEEXT) on the installed file. When handling $(TOOL_PROGS), 214 1.1 christos handle $(EXEEXT) correctly. 215 1.1 christos * configure.in: Add an explicit $(EXEEXT) when substituting for 216 1.1 christos the name of a program to build. 217 1.1 christos * Makefile.in, configure: Rebuild. 218 1.1 christos 219 1.1 christos * aclocal.m4, configure, Makefile.in: Rebuild with new automake 220 1.1 christos patches. 221 1.1 christos 222 1.1 christos * deflex.l, defparse.y: Use VERSIONK rather than VERSION. 223 1.1 christos * rclex.l, rcparse.y: Likewise. 224 1.1 christos * Makefile.am (windres_SOURCES): Add $(BULIBS). 225 1.1 christos * Makefile.in: Rebuild. 226 1.1 christos 227 1.1 christos Fri Aug 1 13:08:39 1997 Ian Lance Taylor <ian (a] cygnus.com> 228 1.1 christos 229 1.1 christos * acinclude.m4: Include bfd/acinclude.m4, not bfd/acmacros.m4. 230 1.1 christos * aclocal.m4, configure: Rebuild with new libtool. 231 1.1 christos 232 1.1 christos Thu Jul 31 11:51:35 1997 Ian Lance Taylor <ian (a] cygnus.com> 233 1.1 christos 234 1.1 christos * Makefile.am: New file, based on old Makefile.in. 235 1.1 christos * acinclude.m4: New file, from old aclocal.m4. 236 1.1 christos * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove 237 1.1 christos shared library handling; now handled by libtool. Replace 238 1.1 christos AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC, 239 1.1 christos AC_PROG_LEX, AC_DECL_YYTEST, AM_MAINTAINER_MODE, AM_CYGWIN32, and 240 1.1 christos AM_EXEEXT. Replace AC_PROG_INSTALL with AM_PROG_INSTALL. Remove 241 1.1 christos stamp-h handling in AC_OUTPUT. 242 1.1 christos * acconfig.h: Mention PACKAGE and VERSION. 243 1.1 christos * stamp-h.in: New file. 244 1.1 christos * Makefile.in: Now built with automake. 245 1.1 christos * aclocal.m4: Now built with aclocal. 246 1.1 christos * config.in, configure: Rebuild. 247 1.1 christos 248 1.1 christos From Ton van Overbeek <tvoverbe (a] wk.estec.esa.nl>: 249 1.1 christos * rcparse.y (dialog): Default menu and class to be named. 250 1.1 christos (styles): If FONT is seen, set DS_SETFONT in dialog style. 251 1.1 christos * resbin.c (res_to_bin_dialog): Correct computation of font 252 1.1 christos information length. 253 1.1 christos 254 1.1 christos Wed Jul 30 11:21:06 1997 Ian Lance Taylor <ian (a] cygnus.com> 255 1.1 christos 256 1.1 christos From Ton van Overbeek <tvoverbe (a] wk.estec.esa.nl>: 257 1.1 christos * resbin.c (res_to_bin_menu): Correct computation of menu 258 1.1 christos vs. menuex length. 259 1.1 christos * resrc.c (define_stringtable): Add 1 to resource ID. 260 1.1 christos 261 1.1 christos Tue Jul 29 11:06:03 1997 Ian Lance Taylor <ian (a] cygnus.com> 262 1.1 christos 263 1.1 christos * resbin.c (bin_to_res_string): Correct adjustment of data and 264 1.1 christos length. From Ton van Overbeek <tvoverbe (a] wk.estec.esa.nl>. 265 1.1 christos 266 1.1 christos Tue Jul 22 18:01:23 1997 Ian Lance Taylor <ian (a] cygnus.com> 267 1.1 christos 268 1.1 christos * nlmconv.c (link_inputs): Call libiberty pexecute function. 269 1.1 christos (pexecute) [multiple versions]: Remove. 270 1.1 christos 271 1.1 christos Tue Jul 22 16:19:34 1997 Robert Hoehne <robert.hoehne (a] Mathematik.TU-Chemnitz.DE> 272 1.1 christos 273 1.1 christos * bucomm.c (make_tempname): If we might be using a DOS filesystem, 274 1.1 christos check for a backslash as well as a slash. 275 1.1 christos 276 1.1 christos Thu Jun 26 13:53:17 1997 Ian Lance Taylor <ian (a] cygnus.com> 277 1.1 christos 278 1.1 christos * windres.c (main): Quit if we didn't get any resources. 279 1.1 christos (usage): Fix --yydebug usage message. 280 1.1 christos * rescoff.c (write_coff_file): Don't free the relocation array 281 1.1 christos until after we've closed the BFD. 282 1.1 christos (read_coff_rsrc): Quit rather than try to read standard input. 283 1.1 christos (write_coff_file): Quit rather than try to write to standard 284 1.1 christos output. 285 1.1 christos * rcparse.y: Add a couple of missing semicolons (accepted by bison 286 1.1 christos but not byacc). 287 1.1 christos * binutils.texi: Document windres. 288 1.1 christos 289 1.1 christos Wed Jun 25 20:57:06 1997 Ian Lance Taylor <ian (a] cygnus.com> 290 1.1 christos 291 1.1 christos * resbin.c: New file. 292 1.1 christos * rclex.l, rcparse.y, rescoff.c, resrc.c, windres.c, windres.h: 293 1.1 christos Numerous fixes and improvements. 294 1.1 christos * Makefile.in: Rebuild dependencies. 295 1.1 christos (CFILES): Add resbin.c. 296 1.1 christos (WINDRES_OBJS): Add resbin.o. 297 1.1 christos 298 1.1 christos Sun Jun 22 17:29:41 1997 Ian Lance Taylor <ian (a] cygnus.com> 299 1.1 christos 300 1.1 christos First stab at Windows resource compiler: 301 1.1 christos * windres.h: New file. 302 1.1 christos * windres.c: New file. 303 1.1 christos * resrc.c: New file. 304 1.1 christos * rcparse.y: New file. 305 1.1 christos * rclex.l: New file. 306 1.1 christos * rescoff.c: New file. 307 1.1 christos * configure.in: Define and substitute BUILD_WINDRES. 308 1.1 christos * configure: Rebuild. 309 1.1 christos * Makefile.in: Rebuild dependencies. 310 1.1 christos (WINDRES_PROG): New variable. 311 1.1 christos (PROGS): Add @BUILD_WINDRES@. 312 1.1 christos (HFILES): Add dlltool.h and windres.h. 313 1.1 christos (CFILES): Add windres.c and resrc.c. 314 1.1 christos (GENERATED_CFILES): Add rcparse.c and rclex.c. 315 1.1 christos (WINDRES_OBJS): New variable. 316 1.1 christos $(WINDRES_PROG): New target. 317 1.1 christos (rcparse.c, rcparse.h, rclex.c): New targets. 318 1.1 christos 319 1.1 christos Thu Jun 12 12:27:51 1997 Ian Lance Taylor <ian (a] cygnus.com> 320 1.1 christos 321 1.1 christos * dlltool.c (export_type): Add data field. 322 1.1 christos (def_exports): Add data parameter. Change all callers. 323 1.1 christos (dump_def_info): Print data field. 324 1.1 christos (gen_def_file): Likewise. 325 1.1 christos (make_one_lib_file): Handle data field by not emitting simple 326 1.1 christos label and not emitting anything in SEC_TEXT. 327 1.1 christos (dtab): Print data field. 328 1.1 christos (process_duplicates): Merge data field. 329 1.1 christos * dlltool.h (def_exports): Update declaration. 330 1.1 christos * defparse.y (expline): Accept opt_DATA. Pass it to def_exports. 331 1.1 christos (opt_DATA): New non-terminal. 332 1.1 christos 333 1.1 christos Wed Jun 11 17:15:47 1997 Ian Lance Taylor <ian (a] cygnus.com> 334 1.1 christos 335 1.1 christos * dlltool.h: New file. 336 1.1 christos * deflex.l: Include dlltool.h and libiberty.h. Don't declare 337 1.1 christos strdup. Use xstrdup rather than strdup. 338 1.1 christos * defparse.y: Include bfd.h, bucomm.h, and dlltool.h. 339 1.1 christos * dlltool.c: Include dlltool.h and time.h. Make a lot of 340 1.1 christos variables and functions static. Make a lot of char * variables 341 1.1 christos and parameters const. Add declarations for static functions. Do 342 1.1 christos some reindenting. Hide more PowerPC stuff inside DLLTOOL_PPC. 343 1.1 christos 344 1.1 christos Wed Jun 11 12:05:52 1997 H.J. Lu <hjl (a] gnu.ai.mit.edu> 345 1.1 christos 346 1.1 christos * ar.c (bfd_special_undocumented_glue): Add const. 347 1.1 christos 348 1.1 christos Mon May 12 22:09:35 1997 Bob Manson <manson (a] charmed.cygnus.com> 349 1.1 christos 350 1.1 christos * Makefile.in (check): Pass CC_FOR_TARGET and CFLAGS_FOR_TARGET 351 1.1 christos to runtest. 352 1.1 christos 353 1.1 christos Mon May 12 13:14:22 1997 Ian Lance Taylor <ian (a] cygnus.com> 354 1.1 christos 355 1.1 christos * configure.in: Don't clear OPCODES when --enable-commonbfdlib is 356 1.1 christos used on HP/UX. 357 1.1 christos * configure: Rebuild. 358 1.1 christos 359 1.1 christos Fri Apr 25 14:22:08 1997 H.J. Lu <hjl (a] gnu.ai.mit.edu> 360 1.1 christos 361 1.1 christos * Makefile.in (maintainer-clean realclean): Change *.info* 362 1.1 christos to binutils.info* to save sysroff.info. 363 1.1 christos 364 1.1 christos Tue Apr 15 13:42:22 1997 Ian Lance Taylor <ian (a] cygnus.com> 365 1.1 christos 366 1.1 christos * Makefile.in (INSTALL): Set to @INSTALL@. 367 1.1 christos (INSTALL_XFORM, INSTALL_XFORM1): Remove. 368 1.1 christos (install): Depend upon installdirs. Use $(program_transform_name) 369 1.1 christos directly, rather than using $(INSTALL_XFORM) and 370 1.1 christos $(INSTALL_XFORM1). 371 1.1 christos (installdirs): New target. 372 1.1 christos (install-info): Run mkinstalldirs. 373 1.1 christos 374 1.1 christos Mon Apr 14 11:52:39 1997 Ian Lance Taylor <ian (a] cygnus.com> 375 1.1 christos 376 1.1 christos * Makefile.in (INSTALL): Change install.sh to install-sh. 377 1.1 christos 378 1.1 christos From Thomas Graichen <graichen (a] rzpd.de>: 379 1.1 christos * Makefile.in: Always use $(SHELL) when running move-if-change. 380 1.1 christos * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub. 381 1.1 christos * configure: Rebuild. 382 1.1 christos 383 1.1 christos Fri Apr 4 13:28:02 1997 Ian Lance Taylor <ian (a] cygnus.com> 384 1.1 christos 385 1.1 christos * configure.in: Add AC_FUNC_ALLOCA. 386 1.1 christos * configure, config.in: Rebuild. 387 1.1 christos * bucomm.h: Add alloca handling, copied from gas/as.h. 388 1.1 christos * dlltool.c: Add #pragma alloca for AIX to start of file. 389 1.1 christos * nlmconv.c: Likewise. 390 1.1 christos 391 1.1 christos * Makefile.in (distclean): Remove site.exp and site.bak. Remove 392 1.1 christos everything that clean removes. 393 1.1 christos 394 1.1 christos Thu Apr 3 13:18:39 1997 Ian Lance Taylor <ian (a] cygnus.com> 395 1.1 christos 396 1.1 christos * Makefile.in (VERSION): Set to 2.8.1. 397 1.1 christos 398 1.1 christos * Branched binutils 2.8. 399 1.1 christos 400 1.1 christos Tue Apr 1 16:21:44 1997 Klaus Kaempf <kkaempf (a] progis.de> 401 1.1 christos 402 1.1 christos * configure.com: New file. 403 1.1 christos * config.h-vms: Remove file. 404 1.1 christos * makefile.vms: Update for new configure scheme. 405 1.1 christos 406 1.1 christos Mon Mar 31 15:30:43 1997 Philippe De Muyter <phdm (a] info.ucl.ac.be> 407 1.1 christos 408 1.1 christos * objcopy.c (make_same_dates): Use statbuf, not buf, if not 409 1.1 christos HAVE_GOOD_UTIME_H. 410 1.1 christos 411 1.1 christos Fri Mar 28 17:57:53 1997 Alan Modra <alan (a] spri.levels.unisa.edu.au> 412 1.1 christos 413 1.1 christos * Makefile.in ($(OBJDUMP_PROG)): Don't link against BFDLIB twice. 414 1.1 christos * configure.in: Add AC_ARG_ENABLE for commonbfdlib. If it is set, 415 1.1 christos set OPCODES to empty. 416 1.1 christos * configure: Rebuild. 417 1.1 christos 418 1.1 christos Thu Mar 27 16:03:02 1997 Ian Lance Taylor <ian (a] cygnus.com> 419 1.1 christos 420 1.1 christos Based on patch from Marty Leisner <leisner (a] sdsp.mc.xerox.com>: 421 1.1 christos * objcopy.c: Include <utime.h> or <sys/time.h>. 422 1.1 christos (strip_options): Add "preserve-dates". 423 1.1 christos (copy_options): Likewise. 424 1.1 christos (copy_usage): Mention -p and --preserve-dates. 425 1.1 christos (strip_usage): Likewise. 426 1.1 christos (make_same_dates): New static function. 427 1.1 christos (strip_main): Handle -p. 428 1.1 christos (copy_main): Likewise. 429 1.1 christos * binutils.texi, strip.1, objcopy.1: Document new option. 430 1.1 christos 431 1.1 christos addr2line.c contributed by Ulrich Lauther 432 1.1 christos <Ulrich.Lauther (a] zfe.siemens.de>: 433 1.1 christos * addr2line.c: New file. 434 1.1 christos * Makefile.in: Rebuild dependencies. 435 1.1 christos (ADDR2LINE_PROG): New variable. 436 1.1 christos (MANPAGES): Add addr2line. 437 1.1 christos (PROGS): Add $(ADDR2LINE_PROG). 438 1.1 christos (CFILES): Add addr2line.c. 439 1.1 christos ($(ADDR2LINE_PROG)): New target. 440 1.1 christos * binutils.texi: Document addr2line. 441 1.1 christos * addr2line.1: New file. 442 1.1 christos 443 1.1 christos * version.c (print_version): Update copyright date. 444 1.1 christos 445 1.1 christos Mon Mar 24 10:52:45 1997 Andreas Schwab <schwab (a] issan.informatik.uni-dortmund.de> 446 1.1 christos 447 1.1 christos * objdump.c (disassemble_data): Don't exit if a file cannot be 448 1.1 christos disassembled, instead just return. 449 1.1 christos 450 1.1 christos Thu Mar 20 21:16:51 1997 Jeffrey A Law (law (a] cygnus.com) 451 1.1 christos 452 1.1 christos * size.c (usage): Make definition match its prototype. 453 1.1 christos (display_bfd, lprint_number, rprint_number): Likewise. 454 1.1 christos (print_berkeley_format, sysv_internal_printer): Likewise. 455 1.1 christos (print_sysv_format): Likewise. 456 1.1 christos * nm.c (set_print_radix, set_output_format): Likewise. 457 1.1 christos * objcopy.c (filter_bytes): Likewise. 458 1.1 christos 459 1.1 christos Tue Mar 18 16:39:55 1997 H.J. Lu <hjl (a] lucon.org> 460 1.1 christos 461 1.1 christos * Many files: Add function prototypes. 462 1.1 christos * ar.c (mri_emul, get_pos_bfd): Make static. 463 1.1 christos * arlex.l: Include "libiberty.h". Don't declare strdup. Use 464 1.1 christos xstrdup rather than strdup. 465 1.1 christos * arparse.y (yyerror): Make argument const. Correct typo. 466 1.1 christos * arsup.c (strdup): Don't declare. 467 1.1 christos (ar_save): Use xstrdup rather than strdup. 468 1.1 christos * filemode.c: Include "bucomm.h". 469 1.1 christos * nm.c (usage): Make static. 470 1.1 christos (print_symname): Make format and name const. 471 1.1 christos * objcopy.c (cat): Remove. 472 1.1 christos (copy_archive): Make output_target const. Use concat, not cat. 473 1.1 christos (copy_file, simple_copy, smart_rename): Make arguments const. 474 1.1 christos * objdump.c (read_section_stabs): Likewise. 475 1.1 christos (print_section_stabs): Likewise. 476 1.1 christos (display_target_tables): Don't declare getenv. 477 1.1 christos * strings.c (strings_object_file): Change file to const. 478 1.1 christos (print_strings): Change filename to const. 479 1.1 christos * Makefile.in: Rebuild dependencies. 480 1.1 christos 481 1.1 christos Tue Mar 18 11:37:24 1997 Ian Lance Taylor <ian (a] cygnus.com> 482 1.1 christos 483 1.1 christos * configure.in: Add BFD_NEED_DECLARATION(getenv). 484 1.1 christos * acconfig.h: Add NEED_DECLARATION_GETENV. 485 1.1 christos * bucomm.h (getenv): Declare if NEED_DECLARATION_GETENV. 486 1.1 christos * configure, config.in: Rebuild. 487 1.1 christos * nlmconv.c (getenv): Don't declare. 488 1.1 christos 489 1.1 christos * Makefile.in: Rebuild dependencies. 490 1.1 christos 491 1.1 christos Sat Mar 15 15:35:56 1997 Ian Lance Taylor <ian (a] cygnus.com> 492 1.1 christos 493 1.1 christos Based on patches from Jamie Lokier <jamie (a] rebellion.co.uk>: 494 1.1 christos * objdump.c: Include "demangle.h". 495 1.1 christos (do_demangle): New static variable. 496 1.1 christos (usage): Mention -C/--demangle. 497 1.1 christos (long_options): Add "demangle". 498 1.1 christos (objdump_print_symname): New static function. 499 1.1 christos (objdump_print_addr_with_sym): Use objdump_print_symname. 500 1.1 christos (disassemble_bytes): Likewise. 501 1.1 christos (dump_reloc_set): Likewise. 502 1.1 christos (dump_symbols): Demangle symbol name. 503 1.1 christos (main): Handle -C. 504 1.1 christos * binutils.texi, objdump.1: Document -C/--demangle. 505 1.1 christos 506 1.1 christos * objdump.c (usage): Mention --no-show-raw-insn. 507 1.1 christos (long_options): Add "no-show-raw-insn". 508 1.1 christos (disassemble_bytes): Handle --no-show-raw-insn. 509 1.1 christos * binutils.texi, objdump.1: Document --no-show-raw-insn. 510 1.1 christos 511 1.1 christos Wed Mar 12 11:42:00 1997 Andreas Schwab <schwab (a] issan.informatik.uni-dortmund.de> 512 1.1 christos 513 1.1 christos * rddbg.c (free_saved_stabs): Set the strings to NULL after being 514 1.1 christos freed. 515 1.1 christos 516 1.1 christos Fri Feb 28 17:18:45 1997 Ian Lance Taylor <ian (a] cygnus.com> 517 1.1 christos 518 1.1 christos * bucomm.c (set_default_bfd_target): New function. 519 1.1 christos * bucomm.h (set_default_bfd_target): Declare. 520 1.1 christos * ar.c (main): Call set_default_bfd_target. 521 1.1 christos * nlmconv.c (main): Likewise. 522 1.1 christos * nm.c (main): Likewise. 523 1.1 christos * objcopy.c (main): Likewise. 524 1.1 christos * objdump.c (main): Likewise. 525 1.1 christos * size.c (main): Likewise. 526 1.1 christos * strings.c (main): Likewise. 527 1.1 christos * Makefile.in (bucomm.o): New target, to define TARGET. 528 1.1 christos 529 1.1 christos Tue Feb 25 21:28:38 1997 Ian Lance Taylor <ian (a] cygnus.com> 530 1.1 christos 531 1.1 christos * objdump.c (adjust_section_vma): New static variable. 532 1.1 christos (usage): Mention --adjust-section-vma. 533 1.1 christos (OPTION_ADJUST_VMA): Define. 534 1.1 christos (long_options): Add "addjust-vma". 535 1.1 christos (display_bfd): If adjust_section_vma is not 0, add it to all the 536 1.1 christos section addresses. 537 1.1 christos (main): Handle OPTION_ADJUST_VMA. 538 1.1 christos * binutils.texi, objdump.1: Document --adjust-vma. 539 1.1 christos 540 1.1 christos Fri Feb 14 18:46:47 1997 Ian Lance Taylor <ian (a] cygnus.com> 541 1.1 christos 542 1.1 christos * nm.c (print_symbol): Cache the BFD as well as the symbols and 543 1.1 christos relocs, and don't try to use the symbols or relocs with a 544 1.1 christos different BFD. 545 1.1 christos 546 1.1 christos Thu Feb 13 21:34:43 1997 Klaus Kaempf (kkaempf (a] progis.de) 547 1.1 christos 548 1.1 christos * config.h-vms: sbrk() is provided on openVMS/Alpha. 549 1.1 christos * makefile.vms: allow compiling with current gcc snapshot. 550 1.1 christos 551 1.1 christos Thu Feb 13 20:14:40 1997 Ian Lance Taylor <ian (a] cygnus.com> 552 1.1 christos 553 1.1 christos * arsup.c, coffgrok.c, dlltool.c, nlmconv.c: Use xmalloc rather 554 1.1 christos than malloc. 555 1.1 christos 556 1.1 christos Wed Feb 12 16:12:02 1997 Ian Lance Taylor <ian (a] cygnus.com> 557 1.1 christos 558 1.1 christos * objdump.c (disassemble_data): Correct VMA argument to 559 1.1 christos find_symbol_for_address. Improve handling of code with no symbol 560 1.1 christos followed by code with a symbol. 561 1.1 christos 562 1.1 christos Wed Feb 12 12:16:47 1997 Andreas Schwab <schwab (a] issan.informatik.uni-dortmund.de> 563 1.1 christos 564 1.1 christos * objdump.c (disassemble_bytes): Make output of raw instructions 565 1.1 christos work better for non-standard values of bytes_per_chunk and 566 1.1 christos bytes_per_line. 567 1.1 christos 568 1.1 christos Thu Feb 6 14:14:59 1997 Martin M. Hunt <hunt (a] pizza.cygnus.com> 569 1.1 christos 570 1.1 christos * objdump.c (disassemble_bytes): Added code to allow some control 571 1.1 christos over the way raw instructions are displayed. 572 1.1 christos 573 1.1 christos Thu Feb 6 12:36:03 1997 Ian Lance Taylor <ian (a] cygnus.com> 574 1.1 christos 575 1.1 christos * stabs.c (struct bincl_file): Add next_stack field. 576 1.1 christos (push_bincl): Put the new file on both bincl_list and 577 1.1 christos bincl_stack. Clear the file_types field. 578 1.1 christos (pop_bincl): Use the next_stack field when popping the stack. 579 1.1 christos Don't put the file on bincl_list. 580 1.1 christos (find_excl): Include the file name when warning about an unfound 581 1.1 christos N_EXCL. 582 1.1 christos 583 1.1 christos * debug.c (debug_type_samep): Don't crash if we are passed NULL. 584 1.1 christos 585 1.1 christos Thu Feb 6 11:54:24 1997 Alan Modra <alan (a] spri.levels.unisa.edu.au> 586 1.1 christos 587 1.1 christos * objcopy.1: Add missing space after .B. 588 1.1 christos 589 1.1 christos Fri Jan 31 10:33:07 1997 Andreas Schwab <schwab (a] issan.informatik.uni-dortmund.de> 590 1.1 christos 591 1.1 christos * objdump.c (disassemble_data): Initialize `aux.require_sec'. 592 1.1 christos 593 1.1 christos Wed Jan 29 13:21:21 1997 Ian Lance Taylor <ian (a] cygnus.com> 594 1.1 christos 595 1.1 christos * objdump.c (objdump_print_value): Add skip_zeroes parameter. 596 1.1 christos Change all callers. 597 1.1 christos (objdump_print_addr_with_sym): Likewise. Call objdump_print_value 598 1.1 christos to print address. 599 1.1 christos (objdump_print_addr): New static function. 600 1.1 christos (objdump_print_address): Just call objdump_print_addr. 601 1.1 christos (disassemble_bytes): Print real address, not function offset. 602 1.1 christos Skip a certain number of leading zeroes. 603 1.1 christos 604 1.1 christos * objdump.c (disassemble_zeroes): New static variable. 605 1.1 christos (usage): Mention --disassemble-zeroes. 606 1.1 christos (long_options): Add "disassemble-zeroes". 607 1.1 christos (disassemble_bytes): Check disassemble_zeroes. 608 1.1 christos 609 1.1 christos Tue Jan 28 16:47:26 1997 Ian Lance Taylor <ian (a] cygnus.com> 610 1.1 christos 611 1.1 christos * objdump.c (disassemble_bytes): Don't skip zeroes if the 612 1.1 christos disassembler has told us that we are in a branch delay slot. 613 1.1 christos 614 1.1 christos Mon Jan 20 14:24:04 1997 Ian Lance Taylor <ian (a] cygnus.com> 615 1.1 christos 616 1.1 christos * size.c (berkeley_sum): Rewrite. Skip sections which are not 617 1.1 christos SEC_ALLOC. Count SEC_READONLY sections as text. 618 1.1 christos 619 1.1 christos Tue Jan 14 15:14:14 1997 Ian Lance Taylor <ian (a] cygnus.com> 620 1.1 christos 621 1.1 christos * Makefile.in (maintainer-clean realclean): Remove *.info*, not 622 1.1 christos just *.info. From H.J. Lu <hjl (a] lucon.org>. 623 1.1 christos 624 1.1 christos Tue Dec 31 15:42:54 1996 Ian Lance Taylor <ian (a] cygnus.com> 625 1.1 christos 626 1.1 christos * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. 627 1.1 christos 628 1.1 christos Fri Dec 27 11:19:26 1996 Ian Lance Taylor <ian (a] cygnus.com> 629 1.1 christos 630 1.1 christos * configure.in: Work around bug in AC_FUNC_VFORK in autoconf 2.12. 631 1.1 christos * configure: Rebuild. 632 1.1 christos 633 1.1 christos Thu Dec 19 13:11:20 1996 Ian Lance Taylor <ian (a] cygnus.com> 634 1.1 christos 635 1.1 christos Based on patch from Andrew J Klossner <andrew (a] pogo.wv.tek.com>: 636 1.1 christos * objcopy.c (OPTION_WEAKEN): Define. 637 1.1 christos (copy_options): Add "weaken". 638 1.1 christos (copy_usage): Mention --weaken. 639 1.1 christos (weaken): New static variable. 640 1.1 christos (filter_symbols): Handle weaken. 641 1.1 christos (copy_object): Call filter_symbols if weaken. 642 1.1 christos (copy_main): Handle OPTION_WEAKEN. 643 1.1 christos * binutils.texi, objcopy.1: Document --weaken. 644 1.1 christos 645 1.1 christos Wed Dec 18 22:49:13 1996 Stan Shebs <shebs (a] andros.cygnus.com> 646 1.1 christos 647 1.1 christos * mpw-make.sed: Use NewFolderRecursive for installation. 648 1.1 christos 649 1.1 christos Sat Dec 7 10:17:25 1996 Jeffrey A Law (law (a] cygnus.com) 650 1.1 christos 651 1.1 christos * Makefile.in (install): Add "else true" clause to cater to 652 1.1 christos broken "make" on some systems. 653 1.1 christos 654 1.1 christos Fri Dec 6 17:21:41 1996 Ian Lance Taylor <ian (a] cygnus.com> 655 1.1 christos 656 1.1 christos * ieee.c (parse_ieee_bb): Always initialize namcopy to avoid gcc 657 1.1 christos warning about uninitialized variable. 658 1.1 christos (ieee_read_cxx_class): Likewise, for pf. 659 1.1 christos (ieee_enum_type): Likewise, for i. 660 1.1 christos 661 1.1 christos Tue Nov 26 17:01:25 1996 Ian Lance Taylor <ian (a] cygnus.com> 662 1.1 christos 663 1.1 christos * wrstabs.c (stab_array_type): Add casts when printing 664 1.1 christos bfd_signed_vma values. 665 1.1 christos 666 1.1 christos * configure: Rebuild with autoconf 2.12. 667 1.1 christos 668 1.1 christos Mon Nov 25 16:53:18 1996 Ian Lance Taylor <ian (a] cygnus.com> 669 1.1 christos 670 1.1 christos * objdump.c (disassemble_data): Don't crash if there is no 671 1.1 christos symbol. 672 1.1 christos 673 1.1 christos Fri Nov 22 17:29:14 1996 Andreas Schwab <schwab (a] issan.informatik.uni-dortmund.de> 674 1.1 christos 675 1.1 christos * ar.c (open_inarch): Don't call bfd_openr with a null name. 676 1.1 christos 677 1.1 christos Fri Nov 1 12:08:13 1996 Ian Lance Taylor <ian (a] cygnus.com> 678 1.1 christos 679 1.1 christos * binutils.texi: Add section on reporting bugs. 680 1.1 christos 681 1.1 christos Thu Oct 31 18:20:53 1996 Ian Lance Taylor <ian (a] cygnus.com> 682 1.1 christos 683 1.1 christos * stabs.c (struct stab_handle): Add bincl_list field. 684 1.1 christos (parse_stab): Pass value to push_bincl. Call find_excl for 685 1.1 christos N_EXCL. 686 1.1 christos (struct bincl_file): Add hash, file and file_types fields. 687 1.1 christos (push_bincl): Add hash parameter. Save it in the new hash field. 688 1.1 christos Save the file number in the new file field. 689 1.1 christos (pop_bincl): Put the bincl_file on bincl_list, rather than freeing 690 1.1 christos it. Save the file types in the new file_types field. 691 1.1 christos (find_excl): New static function. 692 1.1 christos 693 1.1 christos * ieee.c (ieee_lineno): Don't compare line number addresses to 694 1.1 christos info->highaddr (undo part of October 28 patch). 695 1.1 christos 696 1.1 christos Tue Oct 29 16:40:22 1996 Ian Lance Taylor <ian (a] cygnus.com> 697 1.1 christos 698 1.1 christos * objdump.c (objdump_print_value): Don't print the empty string 699 1.1 christos for zero. 700 1.1 christos 701 1.1 christos Mon Oct 28 16:58:14 1996 Ian Lance Taylor <ian (a] cygnus.com> 702 1.1 christos 703 1.1 christos * stabs.c (struct stab_handle): Add function_end field. 704 1.1 christos (start_stab): Initialize function_end. 705 1.1 christos (finish_stab): Pass info->function_end to debug_end_function. 706 1.1 christos (parse_stab): If info->function_end is set, use it as the address 707 1.1 christos which ends a function. 708 1.1 christos 709 1.1 christos * ieee.c (ieee_array_type): Remember the correct size. 710 1.1 christos 711 1.1 christos * ieee.c (ieee_finish_compilation_unit): Permit coalescing ranges 712 1.1 christos that are up to 0x1000 bytes apart, not just 64. 713 1.1 christos (ieee_add_bb11_blocks): Don't bother to emit a BB11 that is less 714 1.1 christos than 0x100 bytes. 715 1.1 christos (ieee_lineno): Only emit line numbers that are less than 716 1.1 christos info->highaddr. 717 1.1 christos 718 1.1 christos Fri Oct 25 12:12:17 1996 Ian Lance Taylor <ian (a] cygnus.com> 719 1.1 christos 720 1.1 christos * ieee.c (struct ieee_defined_enum): Add defined field. 721 1.1 christos (ieee_enum_type): If the enum tag has been seen before but not 722 1.1 christos defined, reuse the same type index, and define it. 723 1.1 christos (ieee_tag_type): If this enum has not been defined, add an 724 1.1 christos undefined entry to the list of enums. 725 1.1 christos 726 1.1 christos * objdump.c (disassemble_bytes): Let the disassembler override the 727 1.1 christos number of bytes printed on a line. 728 1.1 christos 729 1.1 christos Thu Oct 24 16:42:10 1996 Ian Lance Taylor <ian (a] cygnus.com> 730 1.1 christos 731 1.1 christos * objdump.c (prefix_addresses): New static variable. 732 1.1 christos (long_options): Add "prefix-addresses". 733 1.1 christos (compare_symbols): Sort BSF_FUNCTION symbols before other 734 1.1 christos symbols. 735 1.1 christos (find_symbol_for_address): New static function, broken out of 736 1.1 christos objdump_print_address. 737 1.1 christos (objdump_print_addr_with_sym): New static function, broken out of 738 1.1 christos objdump_print_address. 739 1.1 christos (objdump_print_address): Call new functions. 740 1.1 christos (disassemble_bytes): New static function, broken out of 741 1.1 christos disassemble_data. Change disassembly format, unless 742 1.1 christos prefix_addresses is set. 743 1.1 christos (disassemble_data): Call disassemble_bytes. Unless 744 1.1 christos prefix_addresses is set, disassemble in chunks headed by a 745 1.1 christos symbol. 746 1.1 christos * binutils.texi, objdump.1: Document --prefix-addresses. 747 1.1 christos 748 1.1 christos * rddbg.c (read_section_stabs_debugging_info): Preserve the 749 1.1 christos backslash when concatenating multiple stabs strings. 750 1.1 christos 751 1.1 christos Thu Oct 10 11:36:31 1996 Doug Evans <dje (a] canuck.cygnus.com> 752 1.1 christos 753 1.1 christos * dlltool.c (scan_open_obj_file): Fix loop exit test. 754 1.1 christos Add missing parameter to def_exports. 755 1.1 christos 756 1.1 christos Tue Oct 8 12:06:17 1996 Ian Lance Taylor <ian (a] cygnus.com> 757 1.1 christos 758 1.1 christos * Makefile.in (LEX_OPTIONS): Set to empty string. -I -Cem is the 759 1.1 christos default for flex, and is not recognized by lex. 760 1.1 christos 761 1.1 christos Thu Oct 3 17:41:23 1996 Ian Lance Taylor <ian (a] cygnus.com> 762 1.1 christos 763 1.1 christos * binutils.texi (Target Selection): Document that you can now 764 1.1 christos specify targets using configuration triplets. 765 1.1 christos 766 1.1 christos * ar.c (usage): Declare. Make sure all callers pass an argument. 767 1.1 christos 768 1.1 christos Thu Oct 3 15:39:42 1996 Jason Molenda (crash (a] godzilla.cygnus.co.jp) 769 1.1 christos 770 1.1 christos * Makefile.in (clean): Remove config.log. 771 1.1 christos 772 1.1 christos Wed Oct 2 15:49:16 1996 Klaus Kaempf <kkaempf (a] progis.de> 773 1.1 christos 774 1.1 christos * makefile.vms: Bump version date. 775 1.1 christos 776 1.1 christos Tue Oct 1 15:00:59 1996 Ian Lance Taylor <ian (a] cygnus.com> 777 1.1 christos 778 1.1 christos * version.c (print_version): New function. 779 1.1 christos * bucomm.h (print_version): Declare. 780 1.1 christos * ar.c (program_version): Don't declare. 781 1.1 christos (do_show_version): Remove. 782 1.1 christos (usage): Add help parameter. Print bug report address. 783 1.1 christos (main): Set is_ranlib at start. Check for --help and --version. 784 1.1 christos Call print_version, not do_show_version. 785 1.1 christos * nlmconv.c (program_version): Don't declare. 786 1.1 christos (main): Call print_version. 787 1.1 christos (show_usage): Print bug report address. 788 1.1 christos * nm.c (program_version, print_version): Don't declare. 789 1.1 christos (usage): Print bug report address. 790 1.1 christos (main): Call print_version. 791 1.1 christos * objcopy.c (program_version): Don't declare. 792 1.1 christos (copy_usage): Print bug report address. 793 1.1 christos (strip_usage): Likewise. 794 1.1 christos (strip_main): Call print_version. 795 1.1 christos (copy_main): Likewise. 796 1.1 christos * objdump.c (program_version): Don't declare. 797 1.1 christos (usage): Print bug report address. 798 1.1 christos (main): Call print_version. 799 1.1 christos * size.c (program_version): Don't declare. 800 1.1 christos (usage): Print bug report address. 801 1.1 christos (main): Call print_version. 802 1.1 christos * strings.c (program_version): Don't declare. 803 1.1 christos (main): Call print_version. 804 1.1 christos (usage): Print bug report address. 805 1.1 christos * Makefile.in: Update dependencies. 806 1.1 christos 807 1.1 christos Thu Sep 19 14:53:15 1996 Ian Lance Taylor <ian (a] cygnus.com> 808 1.1 christos 809 1.1 christos * ieee.c: Revert Monday's reflocalp patch, and apply this patch 810 1.1 christos instead: 811 1.1 christos (write_ieee_debugging_info): Write a dummy type at the end of the 812 1.1 christos global type block. 813 1.1 christos 814 1.1 christos Mon Sep 16 15:30:54 1996 Ian Lance Taylor <ian (a] cygnus.com> 815 1.1 christos 816 1.1 christos * ieee.c (struct ieee_write_type): Add reflocalp field. 817 1.1 christos (ieee_pointer_type): Set reflocalp after pushing type. 818 1.1 christos (ieee_function_type): If reflocalp is set, make this type local. 819 1.1 christos (ieee_range_type, ieee_array_type, ieee_set_type): Likewise. 820 1.1 christos (ieee_const_type, ieee_volatile_type): Likewise. 821 1.1 christos (ieee_struct_field, ieee_class_baseclass): Likewise. 822 1.1 christos 823 1.1 christos * ieee.c (struct ieee_info): Add global_types field. 824 1.1 christos (parse_ieee_bb): When starting a BB1, initialize the types field 825 1.1 christos to the global_types field. 826 1.1 christos (parse_ieee_be): When ending a BB2, copy the types field to the 827 1.1 christos global_types field. 828 1.1 christos 829 1.1 christos Fri Sep 13 17:32:21 1996 Ian Lance Taylor <ian (a] cygnus.com> 830 1.1 christos 831 1.1 christos * objcopy.c (change_leading_char): New static variable. 832 1.1 christos (OPTION_CHANGE_LEADING_CHAR): Define. 833 1.1 christos (copy_options): Add "change-leading-char". 834 1.1 christos (copy_usage): Mention --change-leading-char. 835 1.1 christos (filter_symbols): Add obfd parameter. Change all callers. 836 1.1 christos Implement change_leading_char. 837 1.1 christos (copy_object): Call filter_symbols if change_leading_char. 838 1.1 christos (copy_main): Handle OPTION_CHANGE_LEADING_CHAR. 839 1.1 christos * binutils.texi, objcopy.1: Document --change-leading-char. 840 1.1 christos 841 1.1 christos Tue Sep 3 14:05:29 1996 Ian Lance Taylor <ian (a] cygnus.com> 842 1.1 christos 843 1.1 christos * ieee.c (ieee_enum_type): Don't check index into a NULL names 844 1.1 christos array. 845 1.1 christos * nm.c (sort_symbols_by_size): Always initialize next. 846 1.1 christos * rdcoff.c (parse_coff_type): Warn about an incomprehensible 847 1.1 christos type rather than crashing. 848 1.1 christos * rddbg.c (read_symbol_stabs_debugging_info): Initialize f. 849 1.1 christos * stabs.c (parse_stab_members): Set context in all cases. 850 1.1 christos 851 1.1 christos Thu Aug 29 16:56:52 1996 Michael Meissner <meissner (a] tiktok.cygnus.com> 852 1.1 christos 853 1.1 christos * configure.in (i[345]86-*-*): Recognize i686 for pentium pro. 854 1.1 christos * configure: Regenerate. 855 1.1 christos 856 1.1 christos Thu Aug 29 11:29:20 1996 Ian Lance Taylor <ian (a] cygnus.com> 857 1.1 christos 858 1.1 christos * objdump.c (L_tmpnam): Never define. 859 1.1 christos (display_target_list): Use choose_temp_base instead of tmpnam. 860 1.1 christos (display_info_table): Likewise. 861 1.1 christos 862 1.1 christos Tue Aug 27 18:15:01 1996 Ian Lance Taylor <ian (a] cygnus.com> 863 1.1 christos 864 1.1 christos * stabs.c (parse_stab): An N_FUN symbol with an empty string 865 1.1 christos indicates the end of a function. 866 1.1 christos 867 1.1 christos Thu Aug 22 17:08:00 1996 Ian Lance Taylor <ian (a] cygnus.com> 868 1.1 christos 869 1.1 christos * wrstabs.c (struct string_hash_entry): Add next field. 870 1.1 christos (struct stab_write_handle): Change strings to a pointer to 871 1.1 christos string_hash_entry. Add last_strings field. Remove strings_alloc 872 1.1 christos field. 873 1.1 christos (string_hash_newfunc): Initialize next field. 874 1.1 christos (stab_write_symbol): Copy string into hash table rather than into 875 1.1 christos buffer. Keep a list of hash table entries. 876 1.1 christos (write_stabs_in_sections_debugging_info): Initialize last_string. 877 1.1 christos Copy strings from list of hash table entries in memory. 878 1.1 christos (stab_modify_type): If the entry on the stack is a definition, 879 1.1 christos make a new definition rather than failing an assert. 880 1.1 christos (stab_array_type): The size is only zero if high is strictly less 881 1.1 christos than low. 882 1.1 christos 883 1.1 christos * ieee.c (struct ieee_info): Add saw_filename field. 884 1.1 christos (parse_ieee): Initialize saw_filename. 885 1.1 christos (parse_ieee_bb): Set saw_filename for a BB1 or BB2. In a BB1, 886 1.1 christos discard the current variables and types. In a BB10, if no 887 1.1 christos filename has been seen, call debug_set_filename. 888 1.1 christos (parse_ieee_ty): In case 'g', the type is optional. 889 1.1 christos 890 1.1 christos * prdbg.c (pr_fix_visibility): Don't abort on 891 1.1 christos DEBUG_VISIBILITY_IGNORE. 892 1.1 christos 893 1.1 christos * debug.c (debug_name_type): Correct error message. 894 1.1 christos 895 1.1 christos * configure.in: Substitute HLDENV. 896 1.1 christos * configure: Rebuild. 897 1.1 christos * Makefile.in (HLDENV): New variable. Use it whenever linking a 898 1.1 christos program. 899 1.1 christos 900 1.1 christos Thu Aug 15 19:30:41 1996 Stan Shebs <shebs (a] andros.cygnus.com> 901 1.1 christos 902 1.1 christos * mpw-make.sed: Add symbolic doublequotes around the version 903 1.1 christos number. 904 1.1 christos 905 1.1 christos Thu Aug 8 12:27:52 1996 Klaus Kaempf <kkaempf (a] progis.de> 906 1.1 christos 907 1.1 christos * makefile.vms: Add better support for DEC C compilation. 908 1.1 christos Add new macros as in Makefile.in. 909 1.1 christos 910 1.1 christos Wed Aug 7 14:27:33 1996 Philippe De Muyter <phdm (a] info.ucl.ac.be> 911 1.1 christos 912 1.1 christos * configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk. 913 1.1 christos * acconfig.h (NEED_DECLARATION_STRSTR): New macro. 914 1.1 christos (NEED_DECLARATION_SBRK): New macro. 915 1.1 christos * configure, config.in: Rebuild. 916 1.1 christos * bucomm.h (strstr): Declare if NEED_DECLARATION_STRSTR. 917 1.1 christos (sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK. 918 1.1 christos 919 1.1 christos * prdbg.c (pr_end_struct_type): Avoid using a string constant in 920 1.1 christos assert, for the benefit of broken assert macros. 921 1.1 christos 922 1.1 christos Fri Jul 26 14:06:50 1996 Ian Lance Taylor <ian (a] cygnus.com> 923 1.1 christos 924 1.1 christos * objdump.c (disassemble_data): Set disasm_info.flavour from 925 1.1 christos abfd. 926 1.1 christos 927 1.1 christos Tue Jul 23 13:59:54 1996 Ian Lance Taylor <ian (a] cygnus.com> 928 1.1 christos 929 1.1 christos * dlltool.c (secdata): In non DLLTOOL_PPC case, change alignment 930 1.1 christos of .text section to 2. 931 1.1 christos 932 1.1 christos Mon Jul 22 08:46:15 1996 Stu Grossman (grossman (a] lisa.cygnus.com) 933 1.1 christos 934 1.1 christos * objdump.c (dump_section_stabs): Fix test for stabs sections 935 1.1 christos ending with numbers. This fixes a problem with .stab being 936 1.1 christos confused with .stab.index. 937 1.1 christos 938 1.1 christos Wed Jul 10 13:32:28 1996 Ian Lance Taylor <ian (a] cygnus.com> 939 1.1 christos 940 1.1 christos * stabs.c (stab_demangle_fund_type): Return a void * for a 941 1.1 christos template, rather than simply aborting. 942 1.1 christos 943 1.1 christos Mon Jul 8 15:28:05 1996 Ian Lance Taylor <ian (a] cygnus.com> 944 1.1 christos 945 1.1 christos * ar.c (open_inarch): Add file parameter. Change all callers. If 946 1.1 christos this is a newly created archive, set the target based on the 947 1.1 christos file. 948 1.1 christos * arsup.h (open_inarch): Update declaration. 949 1.1 christos 950 1.1 christos Thu Jul 4 12:00:55 1996 Ian Lance Taylor <ian (a] cygnus.com> 951 1.1 christos 952 1.1 christos * Makefile.in (VERSION): Set to cygnus-2.7.1. 953 1.1 christos 954 1.1 christos * Released binutils 2.7. 955 1.1 christos 956 1.1 christos * rdcoff.c (parse_coff): Get address to pass to debug_end_function 957 1.1 christos from function size, not value of .ef symbol. From Ning 958 1.1 christos Mosberger-Tang <ning (a] AZStarNet.com>. 959 1.1 christos 960 1.1 christos Sat Jun 29 21:18:09 1996 Ian Lance Taylor <ian (a] cygnus.com> 961 1.1 christos 962 1.1 christos * objcopy.c (strip_main): Add -o option, and handle it. 963 1.1 christos (strip_usage): Mention -o. 964 1.1 christos * binutils.texi, strip.1: Mention -o. 965 1.1 christos 966 1.1 christos Mon Jun 24 17:19:02 1996 Jason Molenda (crash (a] godzilla.cygnus.co.jp) 967 1.1 christos 968 1.1 christos * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, 969 1.1 christos INSTALL_PROGRAM, INSTALL_DATA): Use autoconf set values. 970 1.1 christos (docdir): Removed. 971 1.1 christos * configure.in (AC_PREREQ): Autoconf 2.5 or higher. 972 1.1 christos 973 1.1 christos Mon Jun 24 11:59:13 1996 Ian Lance Taylor <ian (a] cygnus.com> 974 1.1 christos 975 1.1 christos * objdump.c (endian): New static variable. 976 1.1 christos (usage): Mention -EB/-EL/--endian. 977 1.1 christos (long_options): Add "endian". 978 1.1 christos (disassemble_data): If endianness was specified, replace 979 1.1 christos abfd->xvec with a copy of itself with the given endianness. 980 1.1 christos (main): Handle -EB/-EL/--endian. 981 1.1 christos * binutils.texi, objdump.1: Mention -EB/-EL/--endian. 982 1.1 christos 983 1.1 christos * objdump.c: Make most variables and functions static. 984 1.1 christos 985 1.1 christos * configure.in: On alpha*-*-osf*, link against libbfd.a if not 986 1.1 christos using shared libraries. 987 1.1 christos * configure: Rebuild with autoconf 2.10. 988 1.1 christos 989 1.1 christos Sun Jun 23 14:47:36 1996 Kim Knuttila <krk (a] cygnus.com> 990 1.1 christos 991 1.1 christos * dlltool.c (secdata): Changed .rdata to .reldata so .reloc will work. 992 1.1 christos (make_one_lib_file): Removed cruft. (#if 1) 993 1.1 christos 994 1.1 christos Wed Jun 19 14:46:38 1996 Ian Lance Taylor <ian (a] cygnus.com> 995 1.1 christos 996 1.1 christos * objdump.c (stabs): Change from struct internal_nlist * to 997 1.1 christos bfd_byte *. 998 1.1 christos (print_section_stabs): Fetch stabs information directly, rather 999 1.1 christos than assuming that struct internal_nlist is the right size. 1000 1.1 christos 1001 1.1 christos * binutils.texi: Document change to binary format: file position 1002 1.1 christos based on load address, not section VMA. 1003 1.1 christos 1004 1.1 christos * bucomm.h: Define SEEK_SET, SEEK_CUR, and SEEK_END if they are 1005 1.1 christos not already defined. 1006 1.1 christos 1007 1.1 christos Tue Jun 18 18:25:00 1996 Ian Lance Taylor <ian (a] cygnus.com> 1008 1.1 christos 1009 1.1 christos * Makefile.in (DISTSTUFF): Add deflex.c. 1010 1.1 christos 1011 1.1 christos Tue Jun 18 15:03:44 1996 Klaus Kaempf <kkaempf (a] progis.de> 1012 1.1 christos 1013 1.1 christos * config.h-vms, makefile.vms: New files. 1014 1.1 christos 1015 1.1 christos Mon Jun 17 09:47:31 1996 Ian Lance Taylor <ian (a] cygnus.com> 1016 1.1 christos 1017 1.1 christos * dlltool.c (make_one_lib_file): Use BFD_RELOC_RVA rather than 1018 1.1 christos BFD_RELOC_32 in IDATA7. 1019 1.1 christos 1020 1.1 christos Wed Jun 12 11:52:06 1996 Ian Lance Taylor <ian (a] cygnus.com> 1021 1.1 christos 1022 1.1 christos * nm.c (struct get_relocs_info): Define. 1023 1.1 christos (line_numbers): New static variable. 1024 1.1 christos (long_options): Add "line-numbers". 1025 1.1 christos (usage): Mention -l and --line-numbers. 1026 1.1 christos (main): Handle -l. 1027 1.1 christos (print_symbol): Print line numbers if requested. 1028 1.1 christos (get_relocs): New static function. 1029 1.1 christos * binutils.texi, nm.1: Document -l/--line-numbers. 1030 1.1 christos 1031 1.1 christos Tue Jun 11 20:12:15 1996 Ian Lance Taylor <ian (a] cygnus.com> 1032 1.1 christos 1033 1.1 christos * objdump.c (dump_reloc_set): Add sec parameter. Change all 1034 1.1 christos callers. If with_line_numbers is set, display line numbers of 1035 1.1 christos relocation entries. 1036 1.1 christos * binutils.texi, objdump.1: Document -l with -r. 1037 1.1 christos 1038 1.1 christos Mon Jun 10 23:42:59 1996 Ian Lance Taylor <ian (a] cygnus.com> 1039 1.1 christos 1040 1.1 christos * ar.c (open_inarch): Report BFD error message if an archive can 1041 1.1 christos not be recognized. List matching formats if the file is 1042 1.1 christos ambiguously recognized. 1043 1.1 christos (ranlib_touch): Likewise. 1044 1.1 christos 1045 1.1 christos Thu Jun 6 13:56:14 1996 Ian Lance Taylor <ian (a] cygnus.com> 1046 1.1 christos 1047 1.1 christos * README: Add notes on how to build if you don't have ar. 1048 1.1 christos 1049 1.1 christos * Makefile.in: Remove old incorrect setting of CC. 1050 1.1 christos 1051 1.1 christos Tue Jun 4 10:52:49 1996 Tom Tromey <tromey (a] csk3.cygnus.com> 1052 1.1 christos 1053 1.1 christos * Makefile.in (install): Don't check to see if tooldir exists. 1054 1.1 christos Make $(tooldir) and $(tooldir)/bin. 1055 1.1 christos 1056 1.1 christos Mon Jun 3 17:40:23 1996 Michael Meissner <meissner (a] tiktok.cygnus.com> 1057 1.1 christos 1058 1.1 christos * strings.c (main): Make main an int function, not void. 1059 1.1 christos 1060 1.1 christos Fri May 31 13:59:24 1996 Ian Lance Taylor <ian (a] cygnus.com> 1061 1.1 christos 1062 1.1 christos * nm.c (filter_symbols): Check for BSF_WEAK as well as 1063 1.1 christos BSF_GLOBAL. 1064 1.1 christos * objcopy.c (filter_symbols): Likewise. 1065 1.1 christos 1066 1.1 christos Wed May 8 16:57:20 1996 Ian Lance Taylor <ian (a] cygnus.com> 1067 1.1 christos 1068 1.1 christos * objcopy.c (copy_object): Make clear that it is only a warning 1069 1.1 christos when the output file can not represent the architecture. 1070 1.1 christos 1071 1.1 christos Fri May 3 11:30:17 1996 Ian Lance Taylor <ian (a] cygnus.com> 1072 1.1 christos 1073 1.1 christos * objdump.c (disassemble_data): Don't refer to bytes past the end 1074 1.1 christos of data. 1075 1.1 christos 1076 1.1 christos Wed Apr 24 14:10:21 1996 Ian Lance Taylor <ian (a] cygnus.com> 1077 1.1 christos 1078 1.1 christos * rddbg.c (read_symbol_stabs_debugging_info): Move call to 1079 1.1 christos free_saved_stabs outside the loop over the symbols. 1080 1.1 christos 1081 1.1 christos Tue Apr 23 12:56:11 1996 Ian Lance Taylor <ian (a] cygnus.com> 1082 1.1 christos 1083 1.1 christos * objdump.c (compare_symbols): Sort symbols whose names start with 1084 1.1 christos `.' after other symbols. If no other decision can be made, sort 1085 1.1 christos symbols by name. 1086 1.1 christos 1087 1.1 christos Thu Apr 18 16:02:11 1996 Ian Lance Taylor <ian (a] cygnus.com> 1088 1.1 christos 1089 1.1 christos * dep-in.sed: Substitute $(BFDDIR) for @BFDDIR@. 1090 1.1 christos * Makefile.in: Rebuild dependencies. 1091 1.1 christos (dep.sed): Substitute $(BFDDIR) for @BFDDIR@. 1092 1.1 christos 1093 1.1 christos Tue Apr 16 13:50:22 1996 Ian Lance Taylor <ian (a] cygnus.com> 1094 1.1 christos 1095 1.1 christos * rdcoff.c: New file. 1096 1.1 christos * rddbg.c (read_debugging_info): Read COFF symbols if COFF flavour 1097 1.1 christos and no stabs were found. 1098 1.1 christos * budbg.h (parse_coff): Declare. 1099 1.1 christos * Makefile.in: Rebuild dependencies. 1100 1.1 christos (CFILES): Add rdcoff.c. 1101 1.1 christos (DEBUG_OBJS): Add rdcoff.o. 1102 1.1 christos 1103 1.1 christos Mon Apr 15 15:55:01 1996 Doug Evans <dje (a] canuck.cygnus.com> 1104 1.1 christos 1105 1.1 christos * nlmconv.c (choose_temp_base{,_try}): Delete, in libiberty now. 1106 1.1 christos (link_inputs): Update call to choose_temp_base. 1107 1.1 christos 1108 1.1 christos Mon Apr 8 14:40:05 1996 Ian Lance Taylor <ian (a] cygnus.com> 1109 1.1 christos 1110 1.1 christos * configure.in: Permit --enable-shared to specify a list of 1111 1.1 christos directories. 1112 1.1 christos * configure: Rebuild. 1113 1.1 christos 1114 1.1 christos Fri Mar 29 16:11:33 1996 Ian Lance Taylor <ian (a] cygnus.com> 1115 1.1 christos 1116 1.1 christos * objdump.c (dump_section_header): Print the SEC_LINK_ONCE flag 1117 1.1 christos and the SEC_LINK_DUPLICATES field. 1118 1.1 christos 1119 1.1 christos Fri Mar 29 11:35:55 1996 J.T. Conklin (jtc (a] lisa.cygnus.com) 1120 1.1 christos 1121 1.1 christos * nlmconv.1: Changed to be recognized by catman -w on Solaris. 1122 1.1 christos 1123 1.1 christos Thu Mar 28 14:17:02 1996 Ian Lance Taylor <ian (a] cygnus.com> 1124 1.1 christos 1125 1.1 christos * wrstabs.c (stab_enum_type): Set buf before using it. 1126 1.1 christos 1127 1.1 christos Fri Mar 22 15:49:08 1996 Ian Lance Taylor <ian (a] cygnus.com> 1128 1.1 christos 1129 1.1 christos * stabs.c (struct stab_handle): Add field abfd. 1130 1.1 christos (start_stab): Add abfd parameter. 1131 1.1 christos (parse_stab_string): Skip the symbol leading char when searching 1132 1.1 christos for the value of a global symbol. 1133 1.1 christos * budbg.h (start_stab): Update declaration. 1134 1.1 christos * rddbg.c (read_section_stabs_debugging_info): Pass abfd to 1135 1.1 christos start_stab. 1136 1.1 christos (read_symbol_stabs_debugging_info): Likewise. 1137 1.1 christos 1138 1.1 christos Thu Mar 21 12:40:48 1996 Ian Lance Taylor <ian (a] cygnus.com> 1139 1.1 christos 1140 1.1 christos * wrstabs.c (stab_function_type): Output an empty typedef for an 1141 1.1 christos unused argument, rather than making up a meaningless name. 1142 1.1 christos (stab_variable): Use N_RSYM for a DEBUG_REGISTER variable. 1143 1.1 christos 1144 1.1 christos * ieee.c (struct ieee_info): Add global_vars field. 1145 1.1 christos (parse_ieee_be): When ending the global typedef block, copy the 1146 1.1 christos variables into info->global_vars. 1147 1.1 christos (parse_ieee_atn): Don't require an NN record for a pmisc ATN. 1148 1.1 christos (ieee_read_reference): Search the global variables after the local 1149 1.1 christos variables. 1150 1.1 christos 1151 1.1 christos Wed Mar 20 18:08:19 1996 Andreas Schwab <schwab (a] issan.informatik.uni-dortmund.de> 1152 1.1 christos 1153 1.1 christos * objdump.c (disassemble_data): Make sure sym_name is always set. 1154 1.1 christos (dump_section_header): Always put a space after the section name. 1155 1.1 christos (dump_bfd_header): Terminate output with newline. 1156 1.1 christos 1157 1.1 christos Wed Mar 20 16:35:20 1996 Ian Lance Taylor <ian (a] cygnus.com> 1158 1.1 christos 1159 1.1 christos * wrstabs.c: New file. 1160 1.1 christos * budbg.h (write_stabs_in_sections_debugging_info): Declare. 1161 1.1 christos * objcopy.c (write_debugging_info): For COFF or ELF, output stabs 1162 1.1 christos in sections. 1163 1.1 christos * Makefile.in: Rebuild dependencies. 1164 1.1 christos (CFILES): Add wrstabs.c. 1165 1.1 christos (WRITE_DEBUG_OBJS): New variable. 1166 1.1 christos ($(OBJCOPY_PROG)): Use $(WRITE_DEBUG_OBJS), not $(DEBUG_OBJS). 1167 1.1 christos ($(STRIP_PROG)): Likewise. 1168 1.1 christos 1169 1.1 christos * stabs.c (parse_stab_members): Make type stub detection more like 1170 1.1 christos gdb. 1171 1.1 christos 1172 1.1 christos * ieee.c (struct ieee_handle): Add fields complex_float_index and 1173 1.1 christos complex_double_index. 1174 1.1 christos (ieee_complex_type): Cache type index in complex_float_index and 1175 1.1 christos complex_double_index, depending upon size. Set size on type stack 1176 1.1 christos to size * 2. 1177 1.1 christos 1178 1.1 christos * ieee.c (ieee_empty_type): Use builtin_unknown, not 0. 1179 1.1 christos (ieee_void_type): Use builtin_void, not 1. 1180 1.1 christos 1181 1.1 christos * ieee.c (parse_ieee_ty): Handle 'V' type code. 1182 1.1 christos (parse_ieee_atn): Don't require two numbers for type 10. 1183 1.1 christos 1184 1.1 christos * ieee.c (parse_ieee_be): Add one to offset at end of function or 1185 1.1 christos block. 1186 1.1 christos 1187 1.1 christos * ieee.c (struct ieee_block): Add field skip. 1188 1.1 christos (parse_ieee_bb): Don't call debug_record_function for __XRYCPP 1189 1.1 christos function, and set skip field. 1190 1.1 christos (parse_ieee_be): Don't call debug_end_function if skip is set. 1191 1.1 christos 1192 1.1 christos * debug.c (struct debug_handle): Add fields current_write_lineno 1193 1.1 christos and current_write_lineno_index. 1194 1.1 christos (debug_write): Initialize current_write_lineno and 1195 1.1 christos current_write_lineno_index for each unit. Call 1196 1.1 christos debug_write_linenos rather than writing out the line numbers 1197 1.1 christos directly. 1198 1.1 christos (debug_write_function): Call debug_write_linenos. 1199 1.1 christos (debug_write_block): Likewise. 1200 1.1 christos (debug_write_linenos): New static function. 1201 1.1 christos 1202 1.1 christos * debug.c (debug_write_type): For DEBUG_KIND_FUNCTION, push return 1203 1.1 christos type before arguments. 1204 1.1 christos 1205 1.1 christos Mon Mar 18 18:05:33 1996 Ian Lance Taylor <ian (a] cygnus.com> 1206 1.1 christos 1207 1.1 christos * configure.in: Add AC_FUNC_VFORK. 1208 1.1 christos * configure, config.in: Rebuild. 1209 1.1 christos * dlltool.c, nlmconv.c: Include <vfork.h> if HAVE_VFORK_H is 1210 1.1 christos defined. 1211 1.1 christos 1212 1.1 christos * stabs.c (parse_stab_range_type): A complex type is defined as a 1213 1.1 christos subrange of itself with the high bound zero. 1214 1.1 christos * ieee.c (ieee_complex_type): Don't crash on sizes of 12 or 16. 1215 1.1 christos 1216 1.1 christos Tue Mar 12 12:09:43 1996 Ian Lance Taylor <ian (a] cygnus.com> 1217 1.1 christos 1218 1.1 christos * ieee.c (ieee_write_undefined_tag): Switch to global_types even 1219 1.1 christos if it is not empty. 1220 1.1 christos (ieee_tag_type): For an enum, look through info->enums. 1221 1.1 christos 1222 1.1 christos * configure: Rebuild with autoconf 2.8. 1223 1.1 christos 1224 1.1 christos * debug.c (debug_type_samep): Don't loop endlessly in 1225 1.1 christos DEBUG_KIND_ENUM case. From Eric Baur <ecb (a] nexen.com>. 1226 1.1 christos 1227 1.1 christos Mon Mar 11 12:35:03 1996 Ian Lance Taylor <ian (a] cygnus.com> 1228 1.1 christos 1229 1.1 christos * rddbg.c (read_section_stabs_debugging_info): Call save_stab for 1230 1.1 christos each stab entry, call stab_context on an error, and call 1231 1.1 christos free_saved_stabs before rturning. 1232 1.1 christos (read_symbol_stabs_debugging_info): Likewise. 1233 1.1 christos (SAVE_STABS_COUNT): Define. 1234 1.1 christos (struct saved_stab): Define. 1235 1.1 christos (saved_stabs, saved_stabs_index): New static variables. 1236 1.1 christos (save_stab, stab_context, free_saved_stabs): New static functios. 1237 1.1 christos 1238 1.1 christos * objdump.c (stab_name): Remove. 1239 1.1 christos (struct stab_print): Remove. 1240 1.1 christos (stab_print): Remove. 1241 1.1 christos (dump_stabs): Don't initialize stab_name. 1242 1.1 christos (print_section_stabs): Call bfd_get_stab_name rather than using 1243 1.1 christos the stab_name array. 1244 1.1 christos 1245 1.1 christos Tue Feb 27 19:52:01 1996 Ian Lance Taylor <ian (a] cygnus.com> 1246 1.1 christos 1247 1.1 christos * prdbg.c (pr_int_constant): Initialize info correctly. 1248 1.1 christos (pr_float_constant): Likewise. 1249 1.1 christos 1250 1.1 christos Mon Feb 26 18:11:37 1996 Stan Shebs <shebs (a] andros.cygnus.com> 1251 1.1 christos 1252 1.1 christos * mpw-make.sed: Update to handle shared library support. 1253 1.1 christos 1254 1.1 christos Sat Feb 24 11:21:49 1996 Alan Modra <alan (a] spri.levels.unisa.edu.au>: 1255 1.1 christos 1256 1.1 christos * Makefile.in ($(OBJDUMP_PROG)): Search $(BFDLIB) before 1257 1.1 christos $(OPCODES). 1258 1.1 christos 1259 1.1 christos Thu Feb 15 12:44:45 1996 Ian Lance Taylor <ian (a] cygnus.com> 1260 1.1 christos 1261 1.1 christos * configure.in: Don't tamper with LDFLAGS. Call AC_PROG_CC before 1262 1.1 christos configure.host. 1263 1.1 christos * configure: Rebuild. 1264 1.1 christos 1265 1.1 christos * configure.in: Substitute RPATH_ENVVAR. 1266 1.1 christos * configure: Rebuild. 1267 1.1 christos * Makefile.in (RPATH_ENVVAR): New variable. 1268 1.1 christos (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH. 1269 1.1 christos 1270 1.1 christos * objcopy.c (smart_rename): Rather than doing chmod then chown, do 1271 1.1 christos chmod without setuid, then chown, then chmod with setuid. 1272 1.1 christos 1273 1.1 christos Wed Feb 14 16:46:42 1996 Martin Anantharaman <martin (a] mail.imech.uni-duisburg.de> 1274 1.1 christos 1275 1.1 christos * arsup.c (map_over_list): Reindent. Don't assume that the 1276 1.1 christos function does not delete the BFD. 1277 1.1 christos (ar_addlib_doer): Don't set prev->next if prev is NULL. 1278 1.1 christos 1279 1.1 christos Wed Feb 14 15:12:17 1996 Ian Lance Taylor <ian (a] cygnus.com> 1280 1.1 christos 1281 1.1 christos * ieee.c (ieee_regno_to_genreg): Convert register numbers for m68k 1282 1.1 christos and i960. 1283 1.1 christos (ieee_genreg_to_regno): Likewise. 1284 1.1 christos 1285 1.1 christos Mon Feb 12 14:19:59 1996 Ian Lance Taylor <ian (a] cygnus.com> 1286 1.1 christos 1287 1.1 christos * ieee.c: Extensive changes to write code to put types in the 1288 1.1 christos global type block when possible, to output ranges for all memory 1289 1.1 christos occupied by the module, and to improve efficiency. 1290 1.1 christos 1291 1.1 christos * debug.c (struct debug_handle): Remove class_mark field. Add 1292 1.1 christos id_list and compare_list fields. 1293 1.1 christos (struct debug_class_id): Define. 1294 1.1 christos (struct debug_type_compare_list): Define. 1295 1.1 christos (debug_write): Initialize info->id_list 1296 1.1 christos (debug_write_name): Remove reference to info->class_mark. 1297 1.1 christos (debug_write_type): Get id for all structs and classes. Simplify 1298 1.1 christos test for whether struct has already been written. 1299 1.1 christos (debug_write_class_type): Get id for all classes. Simplify test 1300 1.1 christos for whether class has already been written. 1301 1.1 christos (debug_write_block): Don't write out blocks other than the top 1302 1.1 christos level block if they have no local variables. 1303 1.1 christos (debug_set_class_id): New static function. 1304 1.1 christos (debug_type_samep): New static function. 1305 1.1 christos (debug_class_type_samep): New static function. 1306 1.1 christos * prdbg.c (pr_start_struct_type): Always print id. 1307 1.1 christos (pr_start_class_type): Likewise. 1308 1.1 christos (pr_tag_type): Likewise. 1309 1.1 christos 1310 1.1 christos * stabs.c (struct stab_handle): Add syms and symcount fields. 1311 1.1 christos (start_stab): Add syms and symcount parameters. Change all 1312 1.1 christos callers. 1313 1.1 christos (parse_stab_string): Look up global variables in the symbol table 1314 1.1 christos to get the right value. 1315 1.1 christos * budbg.h (start_stab): Update declaration. 1316 1.1 christos * rddbg.c (read_section_stabs_debugging_info): Add syms and 1317 1.1 christos symcount parameters. Change all callers. 1318 1.1 christos 1319 1.1 christos * stabs.c (parse_stab_array_type): If the index type is 0, use 1320 1.1 christos int. 1321 1.1 christos 1322 1.1 christos Wed Feb 7 14:17:45 1996 Ian Lance Taylor <ian (a] cygnus.com> 1323 1.1 christos 1324 1.1 christos * ieee.c (ieee_start_compilation_unit): Clear modified and 1325 1.1 christos modified_alloc fields of info. 1326 1.1 christos 1327 1.1 christos * configure.in: Check for --enable-shared. Substitute new 1328 1.1 christos variables BFDLIB and OPCODES. 1329 1.1 christos * configure: Rebuild. 1330 1.1 christos * Makefile.in (BFDLIB): Set to @BFDLIB@. 1331 1.1 christos (OPCODES): Set to @OPCODES@. 1332 1.1 christos 1333 1.1 christos Mon Feb 5 16:18:42 1996 Ian Lance Taylor <ian (a] cygnus.com> 1334 1.1 christos 1335 1.1 christos Support for building bfd and opcodes as shared libraries, based on 1336 1.1 christos patches from Alan Modra <alan (a] spri.levels.unisa.edu.au>: 1337 1.1 christos * configure.in (HLDFLAGS): New substitution. 1338 1.1 christos * configure: Rebuild. 1339 1.1 christos * Makefile.in (HLDFLAGS): New variable. Make all links use 1340 1.1 christos $(HLDFLAGS) before $(CFLAGS) and $(LDFLAGS). 1341 1.1 christos (BFDLIB_DEP): New variable. Replace all occurrences of $(BFD) as 1342 1.1 christos a dependency with $(BFDLIB_DEP). Remove $(BFD) as a dependency if 1343 1.1 christos there is also a dependency on $(ADDL_DEPS). 1344 1.1 christos (BFDLIB): Rename from BFD; change all uses; set to -L../bfd -lbfd. 1345 1.1 christos (OPCODES_DEP): New variable. Replace all occurrends of $(OPCODES) 1346 1.1 christos as a dependency with $(OPCODES_DEP). 1347 1.1 christos (OPCODES): Set to -L../opcodes -lopcodes. 1348 1.1 christos (ADDL_DEPS): New variable. Replace all occurrences of 1349 1.1 christos $(ADDL_LIBS) as a dependency with $(ADDL_DEPS). 1350 1.1 christos (check): Set LD_LIBRARY_PATH in the environment. 1351 1.1 christos (config.status): Depend upon BFD configure.host and config.bfd. 1352 1.1 christos 1353 1.1 christos Fri Feb 2 17:02:59 1996 Doug Evans <dje (a] charmed.cygnus.com> 1354 1.1 christos 1355 1.1 christos * objdump.c: #include stdarg.h or varargs.h. 1356 1.1 christos (objdump_print_value): Change FILE* arg to struct disassemble_info*. 1357 1.1 christos All callers updated. Use fprintf_func. 1358 1.1 christos (objdump_print_address): Consistently use fprintf_func. 1359 1.1 christos (objdump_sprintf): New function. 1360 1.1 christos (disassemble_data): Print insn into a buffer, print raw insn ourselves, 1361 1.1 christos then print insn mnemonic. 1362 1.1 christos 1363 1.1 christos Fri Feb 2 16:48:55 1996 Ian Lance Taylor <ian (a] cygnus.com> 1364 1.1 christos 1365 1.1 christos * configure: Regenerate. 1366 1.1 christos 1367 1.1 christos Thu Feb 1 09:38:18 1996 Steve Chamberlain <sac (a] slash.cygnus.com> 1368 1.1 christos 1369 1.1 christos * configure.in (i[3-6]86-*-win32): Becomes i[3-6]86-*-cygwin32. 1370 1.1 christos (powerpc*-*-cygwin32): New. 1371 1.1 christos * configure: Regenerated. 1372 1.1 christos 1373 1.1 christos Wed Jan 31 13:22:03 1996 Richard Henderson <rth (a] tamu.edu> 1374 1.1 christos 1375 1.1 christos * Makefile.in (distclean): Remove $(DEMANGLER_PROG).1. 1376 1.1 christos 1377 1.1 christos Mon Jan 29 17:36:29 1996 Ian Lance Taylor <ian (a] cygnus.com> 1378 1.1 christos 1379 1.1 christos Based on patches from H J Lu <hjl (a] zoom.com>: 1380 1.1 christos * objcopy.c (remove_leading_char): New static variable. 1381 1.1 christos (OPTION_REMOVE_LEADING_CHAR): Define. 1382 1.1 christos (copy_usage): Mention --remove-leading-char. 1383 1.1 christos (filter_symbols): If remove_leading_char, and the first character 1384 1.1 christos of a global symbol matches the symbol leading char of the BFD, 1385 1.1 christos remove the first character. 1386 1.1 christos (copy_object): Filter the symbols if remove_leading_char is set. 1387 1.1 christos (copy_main): Handle --remove-leading-char. 1388 1.1 christos * binutils.texi, objcopy.1: Document --remove-leading-char. 1389 1.1 christos 1390 1.1 christos Sat Jan 27 15:40:13 1996 Michael Meissner <meissner (a] tiktok.cygnus.com> 1391 1.1 christos 1392 1.1 christos * objdump.c (fprintf): Add prototype to avoid compiler warning on 1393 1.1 christos SunOS. 1394 1.1 christos 1395 1.1 christos Fri Jan 26 11:53:42 1996 Ian Lance Taylor <ian (a] cygnus.com> 1396 1.1 christos 1397 1.1 christos * binutils.texi (nm): Improve documentation on symbol types. 1398 1.1 christos (objdump): Reference the stabs manual from the discussion of the 1399 1.1 christos --stabs option. 1400 1.1 christos 1401 1.1 christos Thu Jan 25 11:21:46 1996 Raymond Jou <rjou (a] mexican.cygnus.com> 1402 1.1 christos 1403 1.1 christos * mpw-make.sed: Add a "stamps" target. 1404 1.1 christos 1405 1.1 christos Thu Jan 25 13:51:44 1996 Ian Lance Taylor <ian (a] cygnus.com> 1406 1.1 christos 1407 1.1 christos * objdump.c (dump_headers, dump_section_header): Change objdump -h 1408 1.1 christos output to be simpler and to include section file offsets. 1409 1.1 christos 1410 1.1 christos Wed Jan 24 12:06:05 1996 Ian Lance Taylor <ian (a] cygnus.com> 1411 1.1 christos 1412 1.1 christos * stabs.c (parse_stab_members): Don't adjust voffset. 1413 1.1 christos 1414 1.1 christos * ieee.c (ieee_read_cxx_class): Don't multiply voffset by 4. 1415 1.1 christos (struct ieee_write_type): Add name field. 1416 1.1 christos (struct ieee_type_class): Remove name field. Change all uses to 1417 1.1 christos use new name field in type instead. 1418 1.1 christos (struct ieee_name_type): Likewise. 1419 1.1 christos (ieee_start_struct_type): Initialize name field of type. 1420 1.1 christos (ieee_start_class_type): Don't initialize classdef entry of tag. 1421 1.1 christos (ieee_class_method_var): Don't adjust voffset. 1422 1.1 christos (ieee_end_class_type): Likewise. 1423 1.1 christos (ieee_tag_type): Initialize new name field of type. 1424 1.1 christos (ieee_typdef): Set name after copying in type information. 1425 1.1 christos 1426 1.1 christos * debug.c (VOFFSET_STATIC_METHOD): Define as -1, not 1. 1427 1.1 christos 1428 1.1 christos * ieee.c (struct ieee_modified_type): Define. 1429 1.1 christos (struct ieee_handle): Add modified and modified_alloc fields. 1430 1.1 christos (ieee_get_modified_info): New static function. 1431 1.1 christos (ieee_pointer_type): Cache type index. 1432 1.1 christos (ieee_const_type): Likewise. 1433 1.1 christos (ieee_volatile_type): Likewise. 1434 1.1 christos 1435 1.1 christos * ieee.c (ieee_define_named_type): When creating a tag for an 1436 1.1 christos anonymous struct, copy the name into memory. 1437 1.1 christos (ieee_tag_type): Likewise. 1438 1.1 christos * debug.c (debug_write_type): Only check and set id field for an 1439 1.1 christos unnamed object. 1440 1.1 christos (debug_write_class_type): Likewise. 1441 1.1 christos 1442 1.1 christos * ieee.c: Various changes to write out types for functions and 1443 1.1 christos references, and to not write out unnecessary function types. 1444 1.1 christos 1445 1.1 christos * ieee.c (struct ieee_var): Remove variable field. Add kind 1446 1.1 christos field, and define some enum constants for it. 1447 1.1 christos (parse_ieee_ty): Set kind field of variable for 'x' and 'X' types. 1448 1.1 christos (parse_ieee_atn): Make an indirect slot for an external variable, 1449 1.1 christos although we otherwise don't record it. Set kind field rather than 1450 1.1 christos variable field of pvar. 1451 1.1 christos (ieee_read_cxx_class): Try to get the type of a static member. 1452 1.1 christos (ieee_read_reference): Check kind field rather than variable 1453 1.1 christos field. 1454 1.1 christos 1455 1.1 christos Tue Jan 23 15:54:18 1996 Ian Lance Taylor <ian (a] cygnus.com> 1456 1.1 christos 1457 1.1 christos * ieee.c: Various changes to handle reading C++ reference type 1458 1.1 christos information. 1459 1.1 christos 1460 1.1 christos * debug.h (enum debug_var_kind): Add DEBUG_VAR_ILLEGAL. 1461 1.1 christos (enum debug_parm_kind): Add DEBUG_PARM_ILLEGAL. 1462 1.1 christos * debug.c (debug_get_parameter_types): Handle DEBUG_KIND_FUNCTION. 1463 1.1 christos 1464 1.1 christos * ieee.c: Various changes to write out definitions of C++ classes. 1465 1.1 christos 1466 1.1 christos * debug.c (debug_append_filename): Remove. 1467 1.1 christos * debug.h (debug_append_filename): Don't declare. 1468 1.1 christos 1469 1.1 christos * stabs.c (struct stab_handle): Remove last_type field. Add 1470 1.1 christos so_string and so_value fields. 1471 1.1 christos (finish_stab): Call stab_emit_pending_vars before calling 1472 1.1 christos debug_end_function. Don't warn about pending variables. 1473 1.1 christos (parse_stab): Accumulate N_SO strings until a non N_SO symbol is 1474 1.1 christos seen, rather than calling debug_append_filename. Call 1475 1.1 christos stab_emit_pending_vars before calling debug_end_function. Don't 1476 1.1 christos set info->last_type. 1477 1.1 christos 1478 1.1 christos Tue Jan 23 09:53:54 1996 Doug Evans <dje (a] charmed.cygnus.com> 1479 1.1 christos 1480 1.1 christos * objdump.c (disassemble_data): Handle unknown endianness. 1481 1.1 christos Pass fprintf to INIT_DISASSEMBLE_INFO. 1482 1.1 christos 1483 1.1 christos Mon Jan 22 16:46:43 1996 Doug Evans <dje (a] charmed.cygnus.com> 1484 1.1 christos 1485 1.1 christos Add new option --show-raw-insn. 1486 1.1 christos * objdump.c (show_raw_insn): New global. 1487 1.1 christos (usage): Update. 1488 1.1 christos (long_options): Update. 1489 1.1 christos (disassemble_data): Set disasm_info.flags if --show-raw-insn. 1490 1.1 christos 1491 1.1 christos * objdump.c (disassemble_data): Set new arch,mach,endian fields in 1492 1.1 christos disasm_info. 1493 1.1 christos 1494 1.1 christos Mon Jan 22 19:29:36 1996 Ian Lance Taylor <ian (a] cygnus.com> 1495 1.1 christos 1496 1.1 christos * ieee.c: Extensive changes to pass a single info argument around 1497 1.1 christos in the reading routines, rather than several arguments. Add code 1498 1.1 christos to read C++ debugging records. 1499 1.1 christos 1500 1.1 christos * debug.h (debug_get_type_size): Declare. 1501 1.1 christos (debug_get_field_name): Declare. 1502 1.1 christos (debug_get_field_bitpos): Declare. 1503 1.1 christos (debug_get_field_bitsize): Declare. 1504 1.1 christos (debug_get_field_visibility): Declare. 1505 1.1 christos (debug_get_field_physname): Declare. 1506 1.1 christos * debug.c (debug_get_real_type): Handle DEBUG_KIND_TAGGED. 1507 1.1 christos (debug_get_type_size): New function. 1508 1.1 christos (debug_get_field_name): New function. 1509 1.1 christos (debug_get_field_bitpos): New function. 1510 1.1 christos (debug_get_field_bitsize): New function. 1511 1.1 christos (debug_get_field_visibility): New function. 1512 1.1 christos (debug_get_field_physname): New function. 1513 1.1 christos (debug_write_type): Make sure we pass the real kind, not INDIRECT, 1514 1.1 christos to tag_type. Pass the name recursively for INDIRECT. 1515 1.1 christos 1516 1.1 christos Fri Jan 19 12:31:57 1996 Ian Lance Taylor <ian (a] cygnus.com> 1517 1.1 christos 1518 1.1 christos * debug.h (struct debug_write_fns): Remove ellipsis_type. Add int 1519 1.1 christos and boolean parameters to function_type. Add boolean parameter to 1520 1.1 christos method_type. 1521 1.1 christos (debug_make_ellipsis_type): Don't declare. 1522 1.1 christos (debug_make_function_type): Add debug_type * and boolean 1523 1.1 christos parameters. Change all callers. 1524 1.1 christos (debug_make_method_type): Add boolean parameter. Change all 1525 1.1 christos callers. 1526 1.1 christos (debug_get_parameter_types): Add boolean * parameter. Change all 1527 1.1 christos callers. 1528 1.1 christos (debug_get_target_type): Declare. 1529 1.1 christos * debug.c (struct debug_function_type): Add fields arg_types and 1530 1.1 christos varargs. 1531 1.1 christos (struct debug_method_type): Add field varargs. 1532 1.1 christos (debug_ellipsis_type, ELLIPSIS_P): Remove. 1533 1.1 christos (debug_make_ellipsis_type): Remove. 1534 1.1 christos (debug_make_function_type): Add arg_types and varargs parameters. 1535 1.1 christos (debug_make_method_type): Add varargs parameter. 1536 1.1 christos (debug_get_parameter_types): Add pvarargs parameter. 1537 1.1 christos (debug_get_target_type): New function. 1538 1.1 christos (debug_write_type): In case DEBUG_KIND_FUNCTION, push argument 1539 1.1 christos types and pass count to function_type. In DEBUG_KIND_METHOD, use 1540 1.1 christos a signed int for the count, don't call ellipsis_type, and pass 1541 1.1 christos varargs to method_type. 1542 1.1 christos * stabs.c (struct stab_demangle_info): Add varargs field. 1543 1.1 christos (stab_demangle_argtypes): Add pvarargs parameter. Change all 1544 1.1 christos callers. 1545 1.1 christos (stab_demangle_args): Likewise. 1546 1.1 christos (stab_demangle_type): In case 'F', pick up argument types. 1547 1.1 christos * prdbg.c (pr_ellipsis_type): Remove. 1548 1.1 christos (pr_function_type): Add argcount and varargs parameters. 1549 1.1 christos (pr_method_type): Add varargs parameter. 1550 1.1 christos * ieee.c (ieee_ellipsis_type): Remove. 1551 1.1 christos (ieee_function_type): Add argcount and varargs parameters. 1552 1.1 christos (ieee_method_type): Add varargs parameter. Remove most of 1553 1.1 christos function body, and just call ieee_function_type. 1554 1.1 christos 1555 1.1 christos * stabs.c: Include "demangle.h". Added several new static 1556 1.1 christos functions not listed below to demangle argument types; they are 1557 1.1 christos all called via stab_demangle_argtypes. 1558 1.1 christos (finish_stab): If the kind of an undefined tag is 1559 1.1 christos DEBUG_KIND_ILLEGAL, use DEBUG_KIND_STRUCT instead. Warn if there 1560 1.1 christos are any pending variable. 1561 1.1 christos (parse_stab): Don't close the function when the block depth goes 1562 1.1 christos to zero. Pass value to debug_end_function. 1563 1.1 christos (parse_stab_string): In case 'T', pass the name to 1564 1.1 christos parse_stab_type. 1565 1.1 christos (parse_stab_type): In case 'x', use stab_find_tagged_type. In 1566 1.1 christos case '#', handle functions with variable numbers of arguments. 1567 1.1 christos (parse_stab_struct_type): Add tagname parameter. Change all 1568 1.1 christos callers. 1569 1.1 christos (parse_stab_members): Add tagname and typenums parameters. Change 1570 1.1 christos all callers. If the type of a method is a stub, call 1571 1.1 christos parse_stab_argtypes to demangle the argument types and get the 1572 1.1 christos physical name of the function. 1573 1.1 christos (parse_stab_argtypes): New static function. 1574 1.1 christos (stab_record_variable): For a DEBUG_GLOBAL or DEBUG_STATIC 1575 1.1 christos variable, call debug_record_variable immediately. 1576 1.1 christos (stab_find_tagged_type): New static function. 1577 1.1 christos 1578 1.1 christos * debug.h (enum debug_type_kind): Add DEBUG_KIND_ILLEGAL. 1579 1.1 christos (struct debug_write_fns): Add field ellipsis_type. Add id 1580 1.1 christos parameter to start_struct_type, start_class_type, and tag_type. 1581 1.1 christos (debug_make_ellipsis_type): Declare. 1582 1.1 christos (debug_find_named_type): Declare. 1583 1.1 christos (debug_get_type_kind): Declare. 1584 1.1 christos (debug_get_return_type): Declare. 1585 1.1 christos (debug_get_parameter_types): Declare. 1586 1.1 christos (debug_get_fields): Declare. 1587 1.1 christos (debug_get_field_type): Declare. 1588 1.1 christos * debug.c (struct debug_handle): Add fields class_id and base_id. 1589 1.1 christos (struct debug_class_type): Add field id. 1590 1.1 christos (struct debug_method_variant): Rename argtypes to physname. 1591 1.1 christos Change all uses. 1592 1.1 christos (debug_ellipsis_type): New static variable. 1593 1.1 christos (ELLIPSIS_P): New macro. 1594 1.1 christos (debug_make_ellipsis_type): New function. 1595 1.1 christos (debug_make_method_variant): Rename argtypes to physname. 1596 1.1 christos (debug_make_static_method_variant): Likewise. 1597 1.1 christos (debug_name_type): Always put types in the global namespace. 1598 1.1 christos (debug_find_named_type): New function. 1599 1.1 christos (debug_find_tagged_type): Treat DEBUG_KIND_ILLEGAL specially, 1600 1.1 christos rather than DEBUG_KIND_VOID. 1601 1.1 christos (debug_get_real_type): New static function. 1602 1.1 christos (debug_get_type_kind): New function. 1603 1.1 christos (debug_get_return_type): New function. 1604 1.1 christos (debug_get_parameter_types): New function. 1605 1.1 christos (debug_get_fields): New function. 1606 1.1 christos (debug_get_field_type): New function. 1607 1.1 christos (debug_write): Initialize base_id. 1608 1.1 christos (debug_write_type): Pass new id argument to tag_type. Handle 1609 1.1 christos DEBUG_KIND_ILLEGAL. Use id for DEBUG_KIND_STRUCT and 1610 1.1 christos DEBUG_KIND_UNION. Handle ellipsis for method arguments. 1611 1.1 christos (debug_write_class_type): Don't dereference kclass if it is NULL. 1612 1.1 christos Use id. 1613 1.1 christos * prdbg.c (pr_fns): Add pr_ellipsis_type. 1614 1.1 christos (pr_ellipsis_type): New static function. 1615 1.1 christos (pr_pointer_type): If this is a pointer to an array, parenthesize 1616 1.1 christos it correctly. 1617 1.1 christos (pr_start_struct_type): Add id parameter. 1618 1.1 christos (pr_start_class_type): Likewise. 1619 1.1 christos (pr_tag_type): Likewise. 1620 1.1 christos (pr_fix_visibility): Add the visibility to the top of the stack, 1621 1.1 christos not the second element on the stack. 1622 1.1 christos (pr_struct_field): Pop the stack before calling pr_fix_visibility. 1623 1.1 christos (pr_class_static_member): Likewise. 1624 1.1 christos (pr_class_start_method): Don't push a type, just set the method 1625 1.1 christos name in the type on the top of the stack. 1626 1.1 christos (pr_class_end_method): Don't pop the stack. 1627 1.1 christos (pr_class_method_variant): Rename argtypes parameter to physname. 1628 1.1 christos Append const and volatile rather than prepending them. Add a 1629 1.1 christos space after the physname. 1630 1.1 christos (pr_class_static_method_variant): Likewise. 1631 1.1 christos * ieee.c (ieee_fns): Add ieee_ellipsis_type. 1632 1.1 christos (ieee_define_named_type): Use DEBUG_KIND_ILLEGAL rather than 1633 1.1 christos DEBUG_KIND_VOID. 1634 1.1 christos (write_ieee_debugging_info): Likewise. 1635 1.1 christos (ieee_typdef): Likewise. 1636 1.1 christos (ieee_ellipsis_type): New static function. 1637 1.1 christos (ieee_start_struct_type): Add id parameter. 1638 1.1 christos (ieee_start_class_type): Likewise. 1639 1.1 christos (ieee_tag_type): Likewise. 1640 1.1 christos (ieee_class_method_variant): Rename name to physname. 1641 1.1 christos (ieee_class_static_method_variant): Likewise. 1642 1.1 christos 1643 1.1 christos * Makefile.in (DEBUG_OBJS): Remove prdbg.o. 1644 1.1 christos ($(OBJDUMP_PROG)): Depend upon, and link against, prdbg.o. 1645 1.1 christos 1646 1.1 christos Thu Jan 18 17:35:06 1996 Kim Knuttila <krk (a] cygnus.com> 1647 1.1 christos 1648 1.1 christos * dlltool.c (make_tail): Changed the order of the sections to avoid 1649 1.1 christos an alignment problem. 1650 1.1 christos 1651 1.1 christos Wed Jan 17 14:23:00 1996 J.T. Conklin <jtc (a] rtl.cygnus.com> 1652 1.1 christos 1653 1.1 christos * srconv.c (wr_du): Set du.stackfrmt to 0. 1654 1.1 christos (wr_un, wr_sc): Emit all sections, even those with 0 size. 1655 1.1 christos 1656 1.1 christos Tue Jan 16 16:15:49 1996 J.T. Conklin <jtc (a] rtl.cygnus.com> 1657 1.1 christos 1658 1.1 christos * srconv.c (wr_hd): Space size within segment was being 1659 1.1 christos stored in segment identifier field. 1660 1.1 christos 1661 1.1 christos Tue Jan 16 12:07:25 1996 Stan Shebs <shebs (a] andros.cygnus.com> 1662 1.1 christos 1663 1.1 christos * mpw-config.in (BUILD_NLMCONV, BUILD_SRCONV, SYSINFO_PROG, 1664 1.1 christos BUILD_DLLTOOL): Put definitions for these into makefile when 1665 1.1 christos configuring, instead of always clearing in mpw-make.sed. 1666 1.1 christos * mpw-make.sed: Edit out any host_alias or target_alias settings, 1667 1.1 christos fix pathname to BFD internal include files, remove dependency 1668 1.1 christos calculation rules. 1669 1.1 christos 1670 1.1 christos Thu Jan 11 17:31:38 1996 Michael Meissner <meissner (a] tiktok.cygnus.com> 1671 1.1 christos 1672 1.1 christos * objdump.c (dump_section_header): Add new section flags 1673 1.1 christos SEC_{EXCLUDE,SORT_ENTRIES}. 1674 1.1 christos 1675 1.1 christos Thu Jan 11 11:45:34 1996 Ian Lance Taylor <ian (a] cygnus.com> 1676 1.1 christos 1677 1.1 christos * objcopy.c (filter_symbols): NULL terminate the output symbols. 1678 1.1 christos (copy_object): Allocate space for a possible extra NULL pointer. 1679 1.1 christos 1680 1.1 christos * debug.c (debug_make_undefined_tagged_type): Make sure we are 1681 1.1 christos given a kind of type we can handle. 1682 1.1 christos (debug_write_type): Handle undefined enums and structs. 1683 1.1 christos (debug_write_class_type): Handle undefined classes. 1684 1.1 christos * prdbg.c (pr_enum_type): Handle an undefined enum. 1685 1.1 christos * ieee.c (ieee_enum_type): Likewise. 1686 1.1 christos 1687 1.1 christos Wed Jan 10 15:33:18 1996 Ian Lance Taylor <ian (a] cygnus.com> 1688 1.1 christos 1689 1.1 christos * Makefile.in: Updated dependencies. 1690 1.1 christos (ALLOCA, MALLOC): Remove variables. 1691 1.1 christos (ADDL_LIBS): Remove $(MALLOC) from definition. 1692 1.1 christos * alloca.c, gmalloc.c: Remove. 1693 1.1 christos 1694 1.1 christos Mon Jan 8 18:02:29 1996 Ian Lance Taylor <ian (a] cygnus.com> 1695 1.1 christos 1696 1.1 christos * ieee.c: Add global function write_ieee_debugging_info and a 1697 1.1 christos bunch of static functions and structs used to write out IEEE 1698 1.1 christos debugging information. 1699 1.1 christos * budbg.h (write_ieee_debugging_info): Declare. 1700 1.1 christos 1701 1.1 christos * ieee.c (struct ieee_type): Add pslot field. 1702 1.1 christos (enum builtin_types): Define. 1703 1.1 christos (ieee_builtin_type): For a pointer, return a pointer to the named 1704 1.1 christos type. Use enum values rather than numbers. 1705 1.1 christos (ieee_alloc_type): New static function. 1706 1.1 christos (ieee_read_type_index): Use ieee_alloc_type. 1707 1.1 christos (parse_ieee_bb): Likewise. 1708 1.1 christos (parse_ieee_ty): Likewise. Use ieee_builtin_type for array range, 1709 1.1 christos rather than making a new integer type. Store the new type in the 1710 1.1 christos slot, if there is one. 1711 1.1 christos (parse_ieee_atn): Treat ATN10 as defining a register variable. 1712 1.1 christos (ieee_regno_to_genreg): Rename from ieee_regno_to_gen. Change all 1713 1.1 christos callers. 1714 1.1 christos (ieee_genreg_to_regno): New static function. 1715 1.1 christos 1716 1.1 christos * stabs.c (parse_stab_type): Add new typename parameter. Change 1717 1.1 christos all callers. 1718 1.1 christos (parse_stab_range_type): Add new typename parameter. Change all 1719 1.1 christos callers. 1720 1.1 christos 1721 1.1 christos * debug.h (struct debug_write_fns): Add tag parameter to 1722 1.1 christos enum_type, start_struct_type, and start_class_type. 1723 1.1 christos * debug.c (debug_write_type): Pass any tag name to 1724 1.1 christos start_struct_type, debug_write_class_type, and enum_type. If 1725 1.1 christos DEBUG_KIND_TAGGED, pass the name in the recursive call. 1726 1.1 christos (debug_write_class_type): Accept a new tag parameter, and pass it 1727 1.1 christos to start_class_type. 1728 1.1 christos * prdbg.c (pop_type): Don't remove '+' character. 1729 1.1 christos (pr_enum_type): Accept and use tag parameter. 1730 1.1 christos (pr_start_struct_type): Likewise. 1731 1.1 christos (pr_start_class_type): Likewise. 1732 1.1 christos (pr_class_baseclass): Adjust algorithm used to find where to put 1733 1.1 christos the baseclass name. 1734 1.1 christos (pr_tag): Don't bother to insert the tag name. 1735 1.1 christos 1736 1.1 christos * objcopy.c: Include budbg.h. 1737 1.1 christos (convert_debugging): New static variable. 1738 1.1 christos (OPTION_DEBUGGING): Define. 1739 1.1 christos (copy_options): Add "debugging". 1740 1.1 christos (copy_usage): Mention --debugging. 1741 1.1 christos (is_strip_section): Skip debugging sections if convert_debugging. 1742 1.1 christos (setup_section, copy_section): Likewise. 1743 1.1 christos (filter_symbols): Skip debugging symbols if convert_debugging. 1744 1.1 christos (copy_object): If convert_debugging, read and write debugging 1745 1.1 christos information. 1746 1.1 christos (write_debugging_info): New static function. 1747 1.1 christos (copy_main): Handle --debugging. 1748 1.1 christos * Makefile.in (DEBUG_OBJS): New variable. 1749 1.1 christos ($(OBJCOPY_PROG)): Depend upon and link against $(DEBUG_OBJS). 1750 1.1 christos ($(STRIP_PROG)): Likewise. 1751 1.1 christos (OBJDUMP_OBJS): Remove variable. 1752 1.1 christos ($(OBJDUMP_PROG)): Use objdump.o $(DEBUG_OBJS) rather than 1753 1.1 christos $(OBJDUMP_OBJS). 1754 1.1 christos * binutils.texi, objcopy.1: Document --debugging. 1755 1.1 christos 1756 1.1 christos Thu Jan 4 16:31:21 1996 Ian Lance Taylor <ian (a] cygnus.com> 1757 1.1 christos 1758 1.1 christos * ieee.c: New file with code to read IEEE debugging information. 1759 1.1 christos * budbg.h (parse_ieee): Declare. 1760 1.1 christos * rddbg.c (read_debugging_info): Handle IEEE flavour files. 1761 1.1 christos (read_ieee_debugging_info): New static function. 1762 1.1 christos * Makefile.in: Rebuild dependencies. 1763 1.1 christos (CFILES): Add ieee.c. 1764 1.1 christos (OBJDUMP_OBJS): Add ieee.o. 1765 1.1 christos 1766 1.1 christos * bucomm.h (xrealloc): Change type of first parameter from char * 1767 1.1 christos to PTR. 1768 1.1 christos 1769 1.1 christos Tue Jan 2 17:44:07 1996 Ian Lance Taylor <ian (a] cygnus.com> 1770 1.1 christos 1771 1.1 christos * Makefile.in: Add targets to automatically rebuild dependencies. 1772 1.1 christos Remove targets which just listed dependencies of .o files. 1773 1.1 christos (DEP): New variable. 1774 1.1 christos (HFILES, GENERATED_HFILES): New variables. 1775 1.1 christos (CFILES, GENERATED_CFILES): New variables. 1776 1.1 christos (underscore.c): Don't do anything, just depend upon stamp-under. 1777 1.1 christos (stamp-under): New target; do what underscore.c used to do. 1778 1.1 christos (nlmconv.o): Depend upon sym.h and ecoff.h. 1779 1.1 christos (.dep, .dep1, dep.sed, dep, dep-in): New targets. 1780 1.1 christos (stage1, stage2, stage3, against, comparison): Remove. 1781 1.1 christos (de-stage1, de-stage2, de-stage3): Remove. 1782 1.1 christos (clean, distclean): Remove stamp-under and dep.sed. 1783 1.1 christos * dep-in.sed: New file. 1784 1.1 christos 1785 1.1 christos Implement generic debugging support. Implement a stabs reader and 1786 1.1 christos a generic printer. 1787 1.1 christos * budbg.h, debug.c, debug.h, prdbg.c, rddbg.c, stabs.c: New files. 1788 1.1 christos * objdump.c: Include "debug.h" and "budbg.h". 1789 1.1 christos (dump_debugging): New global variable. 1790 1.1 christos (usage): Mention --debugging. 1791 1.1 christos (long_options): Add "debugging". 1792 1.1 christos (display_bfd): Handle --debugging. 1793 1.1 christos * Makefile.in (OBJDUMP_OBJS): New variable. 1794 1.1 christos ($(OBJDUMP_PROG)): Use $(OBJDUMP_OBJS). 1795 1.1 christos * binutils.texi, objdump.1: Document --debugging. 1796 1.1 christos 1797 1.1 christos Sat Dec 30 09:59:51 1995 Jeffrey A Law (law (a] cygnus.com) 1798 1.1 christos 1799 1.1 christos * nm.c ( long_options): Add "--defined-only" option. 1800 1.1 christos (usage): Update for new "--defined-only" option. 1801 1.1 christos (filter_symbols): Handle "--defined-only". 1802 1.1 christos 1803 1.1 christos Fri Dec 29 16:04:56 1995 Ian Lance Taylor <ian (a] cygnus.com> 1804 1.1 christos 1805 1.1 christos * arparse.y: Include "bucomm.h", not <sysdep.h>. 1806 1.1 christos * nlmheader.y: Don't include "sysdep.h". 1807 1.1 christos 1808 1.1 christos Tue Dec 26 18:23:18 1995 Ian Lance Taylor <ian (a] cygnus.com> 1809 1.1 christos 1810 1.1 christos * nm.c (print_symdef_entry): Check return value of 1811 1.1 christos bfd_get_elt_at_index. 1812 1.1 christos 1813 1.1 christos Sat Dec 23 11:03:16 1995 Michael Meissner <meissner (a] tiktok.cgynsu.com> 1814 1.1 christos 1815 1.1 christos * configure.in (DLLTOOL_DEFS): Build dlltool for PowerPC if target 1816 1.1 christos is powerpc*-*-win* in addition to powerpc*-*-*pe*. 1817 1.1 christos 1818 1.1 christos Fri Dec 15 16:30:57 1995 Ian Lance Taylor <ian (a] cygnus.com> 1819 1.1 christos 1820 1.1 christos * objdump.c (endian_string): New static function. 1821 1.1 christos (display_target_list): Use it. 1822 1.1 christos * nlmconv.c (main): Use new bfd_big_endian macro. 1823 1.1 christos 1824 1.1 christos Fri Dec 15 07:51:34 1995 steve chamberlain <sac (a] slash.cygnus.com> 1825 1.1 christos 1826 1.1 christos * dlltool.c (fill_ordinals): Start from 1 if no other instructions 1827 1.1 christos given. 1828 1.1 christos 1829 1.1 christos Tue Dec 12 12:05:21 1995 Ian Lance Taylor <ian (a] cygnus.com> 1830 1.1 christos 1831 1.1 christos * Makefile.in (clean): Remove $(DEMANGLER_PROG).1. From Ronald 1832 1.1 christos F. Guilmette <rfg (a] monkeys.com>. 1833 1.1 christos 1834 1.1 christos Mon Dec 11 14:33:05 1995 Stan Shebs <shebs (a] andros.cygnus.com> 1835 1.1 christos 1836 1.1 christos * mac-binutils.r: Fix copyright and version strings. 1837 1.1 christos 1838 1.1 christos * Makefile.in (version): Remove, no longer used. 1839 1.1 christos 1840 1.1 christos Fri Dec 1 14:41:56 1995 Stan Shebs <shebs (a] andros.cygnus.com> 1841 1.1 christos 1842 1.1 christos * mpw-make.sed (install, install-only): Edit in Mac-specific 1843 1.1 christos install procedure. 1844 1.1 christos 1845 1.1 christos Thu Nov 30 20:26:02 1995 Kim Knuttila <krk (a] cygnus.com> 1846 1.1 christos 1847 1.1 christos * dlltool.c (ppc_jtab): The binary glue for PowerPC dll linkage, 1848 1.1 christos including the return instruction. 1849 1.1 christos sinfo: added a preferred alignment field. 1850 1.1 christos (secdata): section data for the PowerPC version. 1851 1.1 christos (make_one_lib_file): More symbols, More sections (pdata, rdata) 1852 1.1 christos (make_tail): Use idata$6 instead of idata$7 for ppc. Also added a 1853 1.1 christos NULL idata$3 descriptor (temporary). 1854 1.1 christos 1855 1.1 christos Tue Nov 28 17:23:44 1995 Doug Evans <dje (a] canuck.cygnus.com> 1856 1.1 christos 1857 1.1 christos * dlltool.c (fill_ordinals): Don't reference d_export_vec if 1858 1.1 christos there are no exported functions. 1859 1.1 christos 1860 1.1 christos Mon Nov 27 13:05:59 1995 Ian Lance Taylor <ian (a] cygnus.com> 1861 1.1 christos 1862 1.1 christos * configure: Regenerate with autoconf 2.7. 1863 1.1 christos 1864 1.1 christos Wed Nov 22 13:17:15 1995 Ian Lance Taylor <ian (a] cygnus.com> 1865 1.1 christos 1866 1.1 christos * dlltool.c (fill_ordinals): Start assigning ordinals at 1. 1867 1.1 christos 1868 1.1 christos * Makefile.in (EXPECT): Use $$r, not $${rootme}. 1869 1.1 christos (check): Set r, not rootme. 1870 1.1 christos 1871 1.1 christos Tue Nov 21 18:04:09 1995 Ian Lance Taylor <ian (a] cygnus.com> 1872 1.1 christos 1873 1.1 christos * configure.in: Use BFD_NEED_DECLARATION. 1874 1.1 christos * acconfig.h: Put NEED_DECLARATION_FPRINTF in @TOP@ section. 1875 1.1 christos * configure, config.in: Rebuild with autoconf 2.6. 1876 1.1 christos 1877 1.1 christos Fri Nov 17 10:34:37 1995 Ian Lance Taylor <ian (a] cygnus.com> 1878 1.1 christos 1879 1.1 christos * Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not 1880 1.1 christos $(host_canonical) and $(target_canonical). 1881 1.1 christos 1882 1.1 christos Thu Nov 16 03:39:20 1995 Ken Raeburn <raeburn (a] cygnus.com> 1883 1.1 christos 1884 1.1 christos Version 2.6 released. 1885 1.1 christos * Makefile.in (VERSION): Update to 2.6. 1886 1.1 christos 1887 1.1 christos Wed Nov 15 12:14:17 1995 Ian Lance Taylor <ian (a] cygnus.com> 1888 1.1 christos 1889 1.1 christos * Makefile.in (CC_FOR_TARGET): Define. 1890 1.1 christos (check): Pass CC and CFLAGS to runtest. 1891 1.1 christos 1892 1.1 christos * nm.c (display_rel_file): Don't require a DYNAMIC object when 1893 1.1 christos dumping the dynamic symbol table. 1894 1.1 christos 1895 1.1 christos * objdump.c (compare_symbols): Sort global symbols before local 1896 1.1 christos symbols before debugging symbols. 1897 1.1 christos (objdump_print_address): Don't futz around looking for a global 1898 1.1 christos symbol with the same value. 1899 1.1 christos 1900 1.1 christos Tue Nov 14 17:19:11 1995 Ian Lance Taylor <ian (a] cygnus.com> 1901 1.1 christos 1902 1.1 christos * dlltool.c: Use FOPEN_* macros rather than "r" or "w". 1903 1.1 christos 1904 1.1 christos * dlltool.c (fill_ordinals): Correct memset call. 1905 1.1 christos 1906 1.1 christos Sun Nov 12 12:56:05 1995 Stan Shebs <shebs (a] andros.cygnus.com> 1907 1.1 christos 1908 1.1 christos * mpw-make.sed (DEMANGLER_PROG): Edit out attempts to do anything 1909 1.1 christos with the man page. 1910 1.1 christos 1911 1.1 christos Fri Nov 10 11:41:22 1995 Ian Lance Taylor <ian (a] cygnus.com> 1912 1.1 christos 1913 1.1 christos * objcopy.c (setup_section): Copy the section lma independently of 1914 1.1 christos the vma. 1915 1.1 christos 1916 1.1 christos Wed Nov 8 11:33:00 1995 Ian Lance Taylor <ian (a] cygnus.com> 1917 1.1 christos 1918 1.1 christos * arsup.c (ar_open): Cast malloc return value. 1919 1.1 christos 1920 1.1 christos Tue Nov 7 09:01:26 1995 Kim Knuttila <krk (a] cygnus.com> 1921 1.1 christos 1922 1.1 christos * configure.in, configure (DLLTOOL_DEFS): Added ppc target. 1923 1.1 christos * dlltool.c (MPPC): Added basic PPC definitions. 1924 1.1 christos 1925 1.1 christos Tue Nov 7 14:02:57 1995 Ian Lance Taylor <ian (a] cygnus.com> 1926 1.1 christos 1927 1.1 christos * configure.in: Don't treat rs6000-*-lynx* specially. 1928 1.1 christos * configure: Rebuild. 1929 1.1 christos * config/rslynx: Remove. 1930 1.1 christos * Makefile.in: Remove @target_makefile_fragment@. 1931 1.1 christos 1932 1.1 christos Mon Nov 6 15:00:50 1995 Ian Lance Taylor <ian (a] cygnus.com> 1933 1.1 christos 1934 1.1 christos * bucomm.h: Include <sys/types.h>. 1935 1.1 christos * ar.c: Don't include <sys/types.h> or <stdio.h>. 1936 1.1 christos * bucomm.c, dlltool.c, nlmconv.c, objcopy.c, objdump.c: Likewise. 1937 1.1 christos 1938 1.1 christos Fri Nov 3 12:38:09 1995 Ian Lance Taylor <ian (a] cygnus.com> 1939 1.1 christos 1940 1.1 christos * objdump.c: Include <sys/types.h>. 1941 1.1 christos 1942 1.1 christos Permit user to override DEMANGLER_PROG from command line. From 1943 1.1 christos Manfred Hollstein <manfred (a] lts.sel.alcatel.de>. 1944 1.1 christos * Makefile.in ($(DEMANGLER_PROG)): Depend upon 1945 1.1 christos $(DEMANGLER_PROG).1. 1946 1.1 christos (install): Don't depend upon $(DEMANGLER_PROG).1. Only install 1947 1.1 christos $(DEMANGLER_PROG).1 if $(DEMANGLER_PROG) is not empty. 1948 1.1 christos 1949 1.1 christos Wed Nov 1 15:04:57 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred (a] lts.sel.alcatel.de> 1950 1.1 christos 1951 1.1 christos * Makefile.in (syslex.o): add -I$(srcdir) if compiling in a 1952 1.1 christos separate directory. 1953 1.1 christos 1954 1.1 christos Mon Oct 30 14:24:18 1995 Ian Lance Taylor <ian (a] cygnus.com> 1955 1.1 christos 1956 1.1 christos * objdump.c (objdump_print_value): New static function. 1957 1.1 christos (objdump_print_address): Use it. If we need the right section for 1958 1.1 christos the symbol, and we can't find it, print an offset from the section 1959 1.1 christos rather than using a symbol from some other section. 1960 1.1 christos 1961 1.1 christos Thu Oct 26 10:23:14 1995 steve chamberlain <sac (a] slash.cygnus.com> 1962 1.1 christos 1963 1.1 christos * dlltool.c (no_idata4, no_idata5): New. 1964 1.1 christos (arm_jtab): Use correct encoding of jump instruction. 1965 1.1 christos (usage, main, make_head, make_tail): Act on no_idata4, no_idata5. 1966 1.1 christos 1967 1.1 christos Wed Oct 25 12:10:07 1995 Stan Shebs <shebs (a] andros.cygnus.com> 1968 1.1 christos 1969 1.1 christos * mpw-make.sed: Edit paths to generated y.tab.[ch] files. 1970 1.1 christos 1971 1.1 christos Fri Oct 20 18:40:34 1995 Ian Lance Taylor <ian (a] cygnus.com> 1972 1.1 christos 1973 1.1 christos * binutils.texi: Change --with-targets to --enable-targets. 1974 1.1 christos 1975 1.1 christos Thu Oct 19 17:47:41 1995 Fred Fish <fnf (a] cygnus.com> 1976 1.1 christos 1977 1.1 christos * Makefile.in: Remove extraneous tab on otherwise empty line, 1978 1.1 christos which confuses many non-GNU versions of "make". 1979 1.1 christos 1980 1.1 christos Wed Oct 18 16:31:58 1995 steve chamberlain <sac (a] slash.cygnus.com> 1981 1.1 christos 1982 1.1 christos * dlltool.c (i386_jtab, arm_jtab): New 1983 1.1 christos (gen_lib_file): Rewritten to use bfd. 1984 1.1 christos 1985 1.1 christos Fri Oct 13 16:10:07 1995 Michael Meissner <meissner (a] tiktok.cygnus.com> 1986 1.1 christos 1987 1.1 christos * Makefile.in (install): Don't give error message if dlltool 1988 1.1 christos wasn't built. 1989 1.1 christos 1990 1.1 christos Fri Oct 13 11:04:37 1995 steve chamberlain <sac (a] slash.cygnus.com> 1991 1.1 christos 1992 1.1 christos * deflex.l: Allow quoting of IDs. 1993 1.1 christos * defparse.y (%union): string deleted. 1994 1.1 christos (command): DESCRIPTION takes ID. 1995 1.1 christos * dlltool.c (gen_def_file): Quote outgoing name if 1996 1.1 christos necessary. Preserve NONAME. 1997 1.1 christos (gen_lib_file): Run ranlib. 1998 1.1 christos (workout_prefix): Deleted. 1999 1.1 christos (main, usage, long_options): Add --as, --ranlib, --ar options. 2000 1.1 christos 2001 1.1 christos Wed Oct 11 13:36:13 1995 steve chamberlain <sac (a] slash.cygnus.com> 2002 1.1 christos 2003 1.1 christos * dlltool.c (mtable): HOW_ALIGN_LONG, new. 2004 1.1 christos (d_ord): Deleted. 2005 1.1 christos (d_low_ord, d_high_ord, d_named_funcs): New. 2006 1.1 christos (gen_exp_file): Create noname entries correctly. 2007 1.1 christos (gen_lib_file): Dump exports alphabetically. 2008 1.1 christos (process_duplicates): Count nonamed functions. 2009 1.1 christos (fill_ordinals): Keep track of highest ord too. 2010 1.1 christos (mangle_defs): Create alphabetically ordered list of names. 2011 1.1 christos 2012 1.1 christos Tue Oct 10 09:39:09 1995 steve chamberlain <sac (a] slash.cygnus.com> 2013 1.1 christos 2014 1.1 christos * Makefile.in (TOOL_PROGS): Include DLLTOOL_PROG. 2015 1.1 christos 2016 1.1 christos Mon Oct 9 13:06:31 1995 steve chamberlain <sac (a] slash.cygnus.com> 2017 1.1 christos 2018 1.1 christos * dlltool.c (add_underscore): New. 2019 1.1 christos (xlate): Use new name. 2020 1.1 christos (main, usage): Update. 2021 1.1 christos 2022 1.1 christos Fri Oct 6 14:08:51 1995 Ken Raeburn <raeburn (a] cygnus.com> 2023 1.1 christos 2024 1.1 christos * sysinfo.y: Eliminate unused terminals "[" and "]" and unused 2025 1.1 christos nonterminal "name". One s/r conflict remains. 2026 1.1 christos 2027 1.1 christos Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab (a] issan.informatik.uni-dortmund.de> 2028 1.1 christos 2029 1.1 christos * nm.c (print_symname): Don't try to demangle an empty 2030 1.1 christos name. 2031 1.1 christos * objdump.c (slurp_symtab): Reset symcount if there are 2032 1.1 christos no symbols. 2033 1.1 christos (slurp_dynamic_symtab): Likewise, for dynsymcount. 2034 1.1 christos (disassemble_data): Fix memory leak: free sorted_syms when done. 2035 1.1 christos (display_bfd): Likewise, for syms and dynsyms. 2036 1.1 christos (dump_relocs): Don't print header before possibly generating an 2037 1.1 christos error message. 2038 1.1 christos (dump_dynamic_relocs): Likewise. 2039 1.1 christos 2040 1.1 christos * ar.1, nm.1, objdump.1, size.1, strings.1, strip.1: Fix typos and 2041 1.1 christos formatting bugs. 2042 1.1 christos 2043 1.1 christos Fri Oct 6 12:00:25 1995 Ian Lance Taylor <ian (a] cygnus.com> 2044 1.1 christos 2045 1.1 christos * ar.c (do_quick_append): Comment out. 2046 1.1 christos (replace_members): Add quick argument. 2047 1.1 christos (main): Don't call do_quick_append. 2048 1.1 christos (open_inarch): Don't call quick_append to create an empty archive. 2049 1.1 christos Instead call bfd_openw/bfd_set_format/bfd_close. 2050 1.1 christos 2051 1.1 christos Thu Oct 5 20:53:08 1995 Ken Raeburn <raeburn (a] cygnus.com> 2052 1.1 christos 2053 1.1 christos * bucomm.c: Always include time.h. 2054 1.1 christos 2055 1.1 christos Thu Oct 5 17:25:21 1995 Ian Lance Taylor <ian (a] cygnus.com> 2056 1.1 christos 2057 1.1 christos * objdump.c (compare_symbols): Sort gnu_compiled and gcc2_compiled 2058 1.1 christos symbols after other symbols with the same value. Likewise for 2059 1.1 christos symbols which look like file names. 2060 1.1 christos (objdump_print_address): Always chose the first reasonable symbol 2061 1.1 christos with a given value. 2062 1.1 christos 2063 1.1 christos Tue Oct 3 22:38:55 1995 Ian Lance Taylor <ian (a] cygnus.com> 2064 1.1 christos 2065 1.1 christos * arsup.c (ar_save): Use rename, not unlink/link/unlink. 2066 1.1 christos 2067 1.1 christos Mon Oct 2 12:10:25 1995 Ian Lance Taylor <ian (a] cygnus.com> 2068 1.1 christos 2069 1.1 christos * strings.c (main): Exit with zero status if no files are given 2070 1.1 christos and standard input is read. 2071 1.1 christos 2072 1.1 christos Thu Sep 28 20:03:07 1995 Stan Shebs <shebs (a] andros.cygnus.com> 2073 1.1 christos 2074 1.1 christos * mpw-config.in: Calculate underscore and put into makefile 2075 1.1 christos fragment, generate config.h. 2076 1.1 christos * mpw-make.sed: New file, sed commands to edit Unix makefile 2077 1.1 christos into MPW syntax. 2078 1.1 christos * mpw-make.in: Remove. 2079 1.1 christos * mac-binutils.r: New file, Mac resources. 2080 1.1 christos 2081 1.1 christos Thu Sep 28 15:49:00 1995 steve chamberlain <sac (a] slash.cygnus.com> 2082 1.1 christos 2083 1.1 christos * dlltool.c: (gen_exp_file): Always emit a .reloc section if 2084 1.1 christos relocatable. 2085 1.1 christos (imp_name_lab): New. 2086 1.1 christos (gen_def_file): New. 2087 1.1 christos (gen_lib_file): Use imp_name_lab. 2088 1.1 christos (main): Initialize imp_name_lab. 2089 1.1 christos 2090 1.1 christos Mon Sep 25 12:05:34 1995 Ian Lance Taylor <ian (a] cygnus.com> 2091 1.1 christos 2092 1.1 christos * configure.in: Call AC_HEADER_SYS_WAIT. 2093 1.1 christos * configure: Rebuild. 2094 1.1 christos * config.in: Rebuild. 2095 1.1 christos * dlltool.c: Include "libiberty.h" and "bucomm.h". Don't include 2096 1.1 christos <stdio.h>, <stdlib.h>, or <string.h>. Don't include <wait.h>. 2097 1.1 christos Include <sys/types.h>. Use HAVE_SYS_WAIT_H to control whether to 2098 1.1 christos include <sys/wait.h> or define the wait macros by hand. Don't 2099 1.1 christos declare xmalloc. 2100 1.1 christos (gen_lib_file): Don't assume that sprintf returns the number of 2101 1.1 christos characters; use strlen instead. 2102 1.1 christos 2103 1.1 christos Fri Sep 22 17:16:41 1995 Ian Lance Taylor <ian (a] cygnus.com> 2104 1.1 christos 2105 1.1 christos * objdump.c (disassemble_data): Don't use the old BFD based 2106 1.1 christos disassembler interface. Make info a const pointer. 2107 1.1 christos 2108 1.1 christos Wed Sep 13 18:33:44 1995 Ian Lance Taylor <ian (a] cygnus.com> 2109 1.1 christos 2110 1.1 christos * objdump.c (start_address): New variable. 2111 1.1 christos (stop_address): New variable. 2112 1.1 christos (usage): Mention --start-address and --stop-address. 2113 1.1 christos (OPTION_START_ADDRESS, OPTION_STOP_ADDRESS): Define. 2114 1.1 christos (long_options): Add "start-address" and "stop-address". 2115 1.1 christos (disassemble_data): Handle start_address and stop_address. 2116 1.1 christos (dump_data, dump_reloc_set): Likewise. 2117 1.1 christos (main): Don't set seenflag for -l. Handle OPTION_START_ADDRESS 2118 1.1 christos and OPTION_STOP_ADDRESS. 2119 1.1 christos * objcopy.c (parse_vma): Move to bucomm.c. 2120 1.1 christos * bucomm.c (parse_vma): New function, moved in from objcopy.c. 2121 1.1 christos * bucomm.h (parse_vma): Declare. 2122 1.1 christos * binutils.texi, objdump.1: Document new objdump options. 2123 1.1 christos 2124 1.1 christos Tue Sep 12 12:37:39 1995 Ian Lance Taylor <ian (a] cygnus.com> 2125 1.1 christos 2126 1.1 christos * Makefile.in (maintainer-clean): New target. 2127 1.1 christos 2128 1.1 christos * ar.c (replace_members): Don't call write_archive if nothing 2129 1.1 christos changed. 2130 1.1 christos 2131 1.1 christos * objdump.c (disassemble_data): Add casts to avoid gcc warnings. 2132 1.1 christos 2133 1.1 christos Thu Sep 7 12:12:17 1995 Ian Lance Taylor <ian (a] cygnus.com> 2134 1.1 christos 2135 1.1 christos * config.in: Rename from config.h.in. 2136 1.1 christos * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. 2137 1.1 christos Check for config.h:config.in when creating stamp-h. 2138 1.1 christos * configure: Rebuild. 2139 1.1 christos * Makefile.in (stamp-h): Depend upon config.in rather than 2140 1.1 christos config.h.in. Set CONFIG_HEADERS to config.h:config.in when 2141 1.1 christos calling config.status. 2142 1.1 christos 2143 1.1 christos * Makefile.in (distclean): Remove config.h, stamp-h, and 2144 1.1 christos config.log. 2145 1.1 christos 2146 1.1 christos * nm.c (value_format): Initialize based on BFD64 and 2147 1.1 christos BFD_HOST_64BIT_LONG. 2148 1.1 christos (print_radix): New static variable. 2149 1.1 christos (set_print_radix): Set print_radix. Adjust changes to 2150 1.1 christos value_format. 2151 1.1 christos (print_value): New static function, to print 64 bit octal and 2152 1.1 christos decimal values correctly. 2153 1.1 christos (print_symbol_info_bsd): Check BFD64, not BFD_HOST_64_BIT. Use 2154 1.1 christos print_value. 2155 1.1 christos (print_symbol_info_sysv): Use print_value. 2156 1.1 christos (print_symbol_info_posix): Likewise. 2157 1.1 christos 2158 1.1 christos Wed Sep 6 15:02:55 1995 Ian Lance Taylor <ian (a] cygnus.com> 2159 1.1 christos 2160 1.1 christos * Makefile.in (*.o): Remove incorrect dependencies on 2161 1.1 christos $(BFDDIR)/hosts/std-host.h. 2162 1.1 christos 2163 1.1 christos * Makefile.in (INSTALL_DATA): Add -m 644. 2164 1.1 christos (INSTALL_XFORM1): Likewise. 2165 1.1 christos (CC_FOR_BUILD): Set to @CC_FOR_BUILD@ rather than $(CC). 2166 1.1 christos (mostlyclean): Remove config.log. 2167 1.1 christos (distclean): Remove config.cache. 2168 1.1 christos 2169 1.1 christos * configure.in: Call BFD_CC_FOR_BUILD and BFD_BINARY_FOPEN. 2170 1.1 christos * configure: Rebuild. 2171 1.1 christos 2172 1.1 christos Tue Sep 5 20:22:42 1995 Ian Lance Taylor <ian (a] cygnus.com> 2173 1.1 christos 2174 1.1 christos * configure.in: Rewrite to use autoconf. 2175 1.1 christos * aclocal.m4: New file. 2176 1.1 christos * configure: New file, built by autoconf. 2177 1.1 christos * acconfig.h: New file. 2178 1.1 christos * config.h.in: New file, built by autoheader. 2179 1.1 christos * Makefile.in: Various changes for new configure script. Also: 2180 1.1 christos (PROGS): Remove $(SYSINFO_PROG). 2181 1.1 christos (ALL_CFLAGS): Remove $(TDEFINES). 2182 1.1 christos (version.o): Use $(ALL_CFLAGS). 2183 1.1 christos (cplus-dem.o, dlltool.o, nlmconv.o): Likewise. 2184 1.1 christos (sysdump.o): Depend upon bucomm.h and config.h. 2185 1.1 christos (srconv.o, arsup.o, strings.o): Depend upon config.h. 2186 1.1 christos (filemode.o): Don't depend upon ../bfd/sysdep.h. 2187 1.1 christos (bucomm.o): Depend upon config.h, not ../bfd/sysdep.h. 2188 1.1 christos (size.o, objdump.o, nm.o, ar.o, objcopy.o): Likewise. 2189 1.1 christos (nlmheader.o, nlmconv.o): Likewise. 2190 1.1 christos (distclean): Don't remove sysdep.h. 2191 1.1 christos * bucomm.h: Include "ansidecl.h", <stdio.h>, and "config.h". 2192 1.1 christos Include "fopen-same.h" or "fopen-bin.h", based on 2193 1.1 christos USE_BINARY_FOPEN. Include <errno.h>, and declare errno if it is 2194 1.1 christos not a macro. Include <unistd.h>, <string.h>, <strings.h>, 2195 1.1 christos <stdlib.h>, and <fcntl.h> if they are present. Declare strchr, 2196 1.1 christos strrchr, and strstr if no string header file exists. Include 2197 1.1 christos <sys/file.h> if it exists and <fcntl.h> does not. Define 2198 1.1 christos O_RDONLY and O_RDWR if necessary. 2199 1.1 christos * ar.c: Don't include "sysdep.h". Do include <sys/types.h> and 2200 1.1 christos <sys/stat.h>. Use HAVE_GOOD_UTIME_H rather than POSIX_UTIME. Use 2201 1.1 christos HAVE_UTIMES rather than !USE_UTIME. Don't include <errno.h>, and 2202 1.1 christos don't declare errno. 2203 1.1 christos * arsup.c: Don't include <sysdep.h>. 2204 1.1 christos * bucomm.c: Don't include "sysdep.h". Include <stdio.h>, 2205 1.1 christos <sys/types.h>, and <sys/stat.h>. Include <time.h> if it defines 2206 1.1 christos time_t. Define time_t if necessary. 2207 1.1 christos * coffdump.c: Don't include "sysdep.h". 2208 1.1 christos * coffgrok.c, filemode.c, nlmconv.c, size.c: Likewise. 2209 1.1 christos * srconv.c, strings.c: Likewise. 2210 1.1 christos * nm.c: Don't include "sysdep.h". Don't try to define HAVE_SBRK. 2211 1.1 christos * objcopy.c: Don't include "sysdep.h". Include <sys/types.h> and 2212 1.1 christos <sys/stat.h>. 2213 1.1 christos (simple_copy): Use creat rather than assuming that O_CREAT is 2214 1.1 christos defined. 2215 1.1 christos * objdump.c: Don't include "sysdep.h". Use 2216 1.1 christos NEED_DECLARATION_PRINTF rather than !FPRINTF_ALREADY_DECLARED. 2217 1.1 christos * sysdump.c: Include "bfd.h" and "bucomm.h". Don't include 2218 1.1 christos "sysdep.h" or <stdlib.h>. 2219 1.1 christos (dump_symbol_info): Rename from symbol_info. Change all callers. 2220 1.1 christos 2221 1.1 christos Mon Sep 4 14:30:00 1995 Ian Lance Taylor <ian (a] cygnus.com> 2222 1.1 christos 2223 1.1 christos * configure.in (host_makefile_frag): Don't set. Substitute for 2224 1.1 christos @CC@, @CFLAGS@, @HDEFINES@ and @LDFLAGS@ in Makefile. 2225 1.1 christos * Makefile.in (AR_FLAGS): Set to rc rather than qv. 2226 1.1 christos (CC): Define as @CC@. 2227 1.1 christos (CFLAGS): Set to @CFLAGS@. 2228 1.1 christos (LDFLAGS): Define as @LDFLAGS@. 2229 1.1 christos (ALL_CFLAGS): Use @HDEFINES@ rather than $(HDEFINES). 2230 1.1 christos 2231 1.1 christos * configure.in: Don't bother to call config.bfd for each target. 2232 1.1 christos Just call it for the default target, and use the shell variable to 2233 1.1 christos decide whether underscores are used. 2234 1.1 christos 2235 1.1 christos Thu Aug 31 19:21:48 1995 Jason Molenda (crash (a] phydeaux.cygnus.com) 2236 1.1 christos 2237 1.1 christos * configure.in: match i[3-6]86-*-win32, not just i386-*-win32. 2238 1.1 christos 2239 1.1 christos Thu Aug 31 16:30:22 1995 steve chamberlain <sac (a] slash.cygnus.com> 2240 1.1 christos 2241 1.1 christos * dlltool.c (add_indirect): New. 2242 1.1 christos (asm_prefix): New 2243 1.1 christos (gen_exp_file): Timestamp should be 0. Insert prefix when 2244 1.1 christos needed. New code for indirection. 2245 1.1 christos (gen_lib_file): Timestamp should be 0. Insert prefix 2246 1.1 christos when needed. 2247 1.1 christos (usage): Document --add-indirect. 2248 1.1 christos (main): Cope with new option. 2249 1.1 christos 2250 1.1 christos * objdump.c (dump_private_headers): New. 2251 1.1 christos (usage): Document new option. 2252 1.1 christos (long_option): Add private-headers. 2253 1.1 christos (dump_bfd_private_header): New. 2254 1.1 christos (main): Cope with new option. 2255 1.1 christos 2256 1.1 christos Thu Aug 31 04:09:16 1995 Doug Evans <dje (a] canuck.cygnus.com> 2257 1.1 christos 2258 1.1 christos * dlltool.c (run): Add missing 3rd arg to waitpid. 2259 1.1 christos 2260 1.1 christos Wed Aug 30 11:02:11 1995 steve chamberlain <sac (a] slash.cygnus.com> 2261 1.1 christos 2262 1.1 christos * Makefile.in (TOOL_PROGS): Include dlltool if needed. 2263 1.1 christos 2264 1.1 christos Tue Aug 29 13:25:21 1995 steve chamberlain <sac (a] slash.cygnus.com> 2265 1.1 christos 2266 1.1 christos * dlltool.c (rva): Deleted. 2267 1.1 christos (rvaafter, rva_before): Use new assembler pseudo. 2268 1.1 christos (flush_page, gen_exp_file, gen_lib_file): Use new way of RVAing. 2269 1.1 christos (gen_exp_file): Don't generate .edata if no need. 2270 1.1 christos (gen_lib_file): Don't make timestamp. 2271 1.1 christos Put _iname in idata$7. 2272 1.1 christos (workout_prefix): Fix memory initialization bug. 2273 1.1 christos (usage): Tidy up, delete many single char options. 2274 1.1 christos (main): rva option is gone. 2275 1.1 christos 2276 1.1 christos Mon Aug 21 18:41:28 1995 steve chamberlain <sac (a] slash.cygnus.com> 2277 1.1 christos 2278 1.1 christos * dlltool.c (options): image-base is a synonym for rva. 2279 1.1 christos (gen_lib_file): Put dll name into ibase$7. 2280 1.1 christos 2281 1.1 christos Sun Aug 20 09:59:00 1995 steve chamberlain <sac (a] slash.cygnus.com> 2282 1.1 christos 2283 1.1 christos Modified to generate archives and objects rather than .s files. 2284 1.1 christos * dlltool.c (run) New function. 2285 1.1 christos (gen_exp_file, gen_lib_file): Use run. 2286 1.1 christos (workout_prefix): New. 2287 1.1 christos (usage): Document new options. 2288 1.1 christos (main): Parse new options. 2289 1.1 christos 2290 1.1 christos Wed Aug 16 16:26:52 1995 steve chamberlain <sac (a] slash.cygnus.com> 2291 1.1 christos 2292 1.1 christos * dlltool.c (gen_exp_file): Fix RVA handling. 2293 1.1 christos (rva_s, rva_n): Delete. 2294 1.1 christos 2295 1.1 christos Fri Aug 11 18:27:18 1995 Ian Lance Taylor <ian (a] cygnus.com> 2296 1.1 christos 2297 1.1 christos * nm.c (main): Ignore -e. 2298 1.1 christos 2299 1.1 christos Thu Aug 10 17:35:00 1995 Ken Raeburn <raeburn (a] cygnus.com> 2300 1.1 christos 2301 1.1 christos * Makefile.in (config.texi): New target. Write out a setting for 2302 1.1 christos texinfo variable VERSION. 2303 1.1 christos (binutils.dvi, binutils.info): Depend on it. 2304 1.1 christos * binutils.texi: Include it, and reference @value{VERSION} instead 2305 1.1 christos of explicitly specifying 2.2(!). 2306 1.1 christos 2307 1.1 christos Thu Aug 10 16:07:53 1995 Ian Lance Taylor <ian (a] cygnus.com> 2308 1.1 christos 2309 1.1 christos * coffgrok.c (do_type): Handle array dimensions the same way gdb 2310 1.1 christos does. 2311 1.1 christos 2312 1.1 christos Tue Aug 8 17:10:42 1995 steve chamberlain <sac (a] slash.cygnus.com> 2313 1.1 christos 2314 1.1 christos * dlltool.c (mtable): New fields. 2315 1.1 christos (ASM_RVA_BEFORE, ASM_RVA_AFTER): New. 2316 1.1 christos (flush_page): Use new macros. 2317 1.1 christos 2318 1.1 christos Sat Aug 5 00:16:37 1995 Jeff Law (law (a] snake.cs.utah.edu) 2319 1.1 christos 2320 1.1 christos * objcopy.c (mark_symbols_used_in_relocations): Handle sections 2321 1.1 christos with no relocations. 2322 1.1 christos * coffgrok.c (do_sections_p1): Likewise. 2323 1.1 christos 2324 1.1 christos Mon Jul 31 12:51:06 1995 Ian Lance Taylor <ian (a] cygnus.com> 2325 1.1 christos 2326 1.1 christos * strings.c (print_strings): For compatibility with existing 2327 1.1 christos strings programs, print strings which are not terminated with a 2328 1.1 christos null byte or a newline. 2329 1.1 christos * binutils.texi, strings.1: Update documentation accordingly. 2330 1.1 christos 2331 1.1 christos * ar.c (replace_members): For compatibility with existing ar 2332 1.1 christos programs, permit users to add the same file multiple times. 2333 1.1 christos 2334 1.1 christos Tue Jul 25 11:21:53 1995 Ian Lance Taylor <ian (a] cygnus.com> 2335 1.1 christos 2336 1.1 christos * strings.c (DATA_FLAGS): Remove SEC_DATA. 2337 1.1 christos (main): If no file names are given, scan standard input. 2338 1.1 christos * binutils.texi, strings.1: strings now scans non-data sections by 2339 1.1 christos default. 2340 1.1 christos 2341 1.1 christos Mon Jul 24 13:52:28 1995 J.T. Conklin <jtc (a] rtl.cygnus.com> 2342 1.1 christos 2343 1.1 christos * srconv.c (wr_hd): Set afl field to 4 for bfd_arch_sh. 2344 1.1 christos (writeINT): When size == -2, use 2 bytes for the h8300 and 4 bytes 2345 1.1 christos for the sh. 2346 1.1 christos 2347 1.1 christos * sysdump.c (fillup): Return size - 1, the last byte is a checksum 2348 1.1 christos and shouldn't be counted. 2349 1.1 christos * sysroff.info (hd): Changed segment identifier from a byte to a 1 2350 1.1 christos bit field. The sysroff 2.0-01 specification seems to be in error 2351 1.1 christos here. Reduce width of following "spare" field from 4 to 3 bits. 2352 1.1 christos (rl): Changed order and width of first 4 bitfields to correspond 2353 1.1 christos to sysroff specification. 2354 1.1 christos (dln_head, dln_inside, dln_tail): Removed. 2355 1.1 christos 2356 1.1 christos Tue Jul 18 23:00:03 1995 Fred Fish <fnf (a] cygnus.com> 2357 1.1 christos 2358 1.1 christos * nm.c (sort_symbols_by_size): Enclose expression being casted 2359 1.1 christos in parens so result is casted, not just first operand. Can't 2360 1.1 christos do pointer arithmetic on void* pointers. 2361 1.1 christos 2362 1.1 christos Fri Jul 14 13:42:42 1995 J.T. Conklin <jtc (a] rtl.cygnus.com> 2363 1.1 christos 2364 1.1 christos * sysdump.c (dh): Changed format of output to be 16 hex digits 2365 1.1 christos followed by 16 ascii characters, similar to Emacs' hexl-mode, 2366 1.1 christos to make it easier to read. 2367 1.1 christos (xcalloc): fix typo. 2368 1.1 christos 2369 1.1 christos Thu Jul 13 15:27:44 1995 J.T. Conklin <jtc (a] rtl.cygnus.com> 2370 1.1 christos 2371 1.1 christos * srconv.c (wr_tr): Write out handcrafted tr block. 2372 1.1 christos (walk_tree_symbol): Use evallen and evalue instead of 2373 1.1 christos vallen & value because of corresponding changes in 2374 1.1 christos sysroff.info. 2375 1.1 christos 2376 1.1 christos * sysdump.c (sysroff_swap_tr_in, sysroff_print_tr_out): New 2377 1.1 christos functions. 2378 1.1 christos 2379 1.1 christos * sysroff.info (tr): the tr block is a special case --- a block 2380 1.1 christos without contents --- which can't be handled by generated code. 2381 1.1 christos (den, dpp): only first byte is present for DENend, DPPend. 2382 1.1 christos (dsy): describe a conditional portion of block, rename some fields. 2383 1.1 christos (dps): describe a conditional portion of block. 2384 1.1 christos (dfl): removed. 2385 1.1 christos 2386 1.1 christos * sysinfo.y (yyerror): write error message to standard error. 2387 1.1 christos 2388 1.1 christos Thu Jul 13 10:43:59 1995 Ian Lance Taylor <ian (a] cygnus.com> 2389 1.1 christos 2390 1.1 christos * Makefile.in (DISTSTUFF): Add arparse.h and sysinfo.h. 2391 1.1 christos (mostlyclean): Remove y.output. 2392 1.1 christos (clean): Remove sysroff, sysroff.c, sysroff.h, and sysinfo. 2393 1.1 christos 2394 1.1 christos * nlmconv.c (powerpc_mangle_relocs): Cast memset arg to size_t. 2395 1.1 christos * objcopy.c (copy_object): Likewise. 2396 1.1 christos 2397 1.1 christos * nm.c (HAVE_SBRK): Define except on amigados and WINDOWS_NT. 2398 1.1 christos (struct size_sym): Define. 2399 1.1 christos (show_stats): New static variable. 2400 1.1 christos (long_options): Add undocumented option "stats". 2401 1.1 christos (main): Print memory stats if requested. 2402 1.1 christos (sort_bfd, sort_dynamic, sort_x, sort_y): New static variables. 2403 1.1 christos (numeric_forward): Use minisymbols rather than asymbols. 2404 1.1 christos (non_numeric_forward): Likewise. 2405 1.1 christos (size_forward1): Rename from size_forward. Use minisymbols. 2406 1.1 christos (size_forward2): New static function. 2407 1.1 christos (sort_symbols_by_size): Take new arguments dynamic, size, and 2408 1.1 christos symsizep. Use minisymbols. Don't store the size back in the 2409 1.1 christos symbol; store in a newly allocate struct size_sym array. 2410 1.1 christos (display_rel_file): Read minisymbols rather than asymbols. Set 2411 1.1 christos sort_* variables. Call print_size_symbols if sorting by size. 2412 1.1 christos (filter_symbols): Take new arguments dynamic and size. Use 2413 1.1 christos minisymbols. 2414 1.1 christos (print_symbols): Likewise. Call print_symbol for actual printing. 2415 1.1 christos (print_size_symbols): New static function. 2416 1.1 christos (print_symbol): New static function. 2417 1.1 christos 2418 1.1 christos Wed Jul 12 10:43:05 1995 Ian Lance Taylor <ian (a] cygnus.com> 2419 1.1 christos 2420 1.1 christos * objdump.c (dump_section_stabs): Only print each stabs section 2421 1.1 christos once. 2422 1.1 christos (compare_relocs): Make it clear to gcc that this always returns a 2423 1.1 christos value. 2424 1.1 christos 2425 1.1 christos Wed Jul 12 10:40:23 1995 H.J. Lu <hjl (a] nynexst.com> 2426 1.1 christos 2427 1.1 christos * objcopy.c (simple_copy): Preserve errno on failure. 2428 1.1 christos (smart_rename): Print error mesage if simple_copy fails. 2429 1.1 christos 2430 1.1 christos Tue Jul 11 13:10:52 1995 J.T. Conklin <jtc (a] rtl.cygnus.com> 2431 1.1 christos 2432 1.1 christos * sysdump.c: re-indented file. 2433 1.1 christos (module): read blocks sequentially instead of trying to parse 2434 1.1 christos them, as that would require changing the parser recognize the 2435 1.1 christos difference between a DPSstart and DPSend block. 2436 1.1 christos (getone): Add break's between switch blocks as appropriate. 2437 1.1 christos (object_body_list): parse blocks according to sysroff spec. 2438 1.1 christos 2439 1.1 christos Mon Jul 10 12:37:25 1995 J.T. Conklin <jtc (a] poseidon.cygnus.com> 2440 1.1 christos 2441 1.1 christos * sysroff.info: re-indented file, prior formatting was confusing 2442 1.1 christos because it was indentation did not reflect nesting of conditional 2443 1.1 christos records. Change "space size within segment" record in hd record 2444 1.1 christos from bit to byte. 2445 1.1 christos 2446 1.1 christos * sysinfo.y (cond_it_field): Use xcalloc instead of calloc. 2447 1.1 christos 2448 1.1 christos * srconv.c (wr_cs): Reformatted cs header array, tag each byte 2449 1.1 christos with a comment describing the field. 2450 1.1 christos (wr_unit_info): Use SEEK_SET macro instead of constant 0. 2451 1.1 christos (main): Use FOPEN_WB macro instead of literal "wb". 2452 1.1 christos * sysroff.info: Remove fdl (dfl) field from cs block. Compare 2453 1.1 christos ptr->type with ED_TYPE_CONST instead of constant 2 in ed block. 2454 1.1 christos 2455 1.1 christos Tue Jul 4 14:48:42 1995 Ian Lance Taylor <ian (a] cygnus.com> 2456 1.1 christos 2457 1.1 christos * nm.c (size_forward): Check yf against yn, not xn. 2458 1.1 christos 2459 1.1 christos * objcopy.c (copy_archive): Record all output BFD's, and close 2460 1.1 christos them before unlinking them and removing the temporary directory, 2461 1.1 christos to avoid NFS problems. 2462 1.1 christos 2463 1.1 christos * ar.c (replace_members): In verbose messages, use 'r' when 2464 1.1 christos replacing a member, and 'a' when adding one. 2465 1.1 christos 2466 1.1 christos * ar.c (ar_truncate): New static variable. 2467 1.1 christos (normalize): Change return type to const char *. Add abfd 2468 1.1 christos argument. Change all callers. If ar_truncate, chop the filename 2469 1.1 christos to abfd->ar_max_namelen. 2470 1.1 christos (main): For the 'f' modifier, set ar_truncate to true. Don't 2471 1.1 christos change quick_append to replace if ar_truncate is true. 2472 1.1 christos (do_quick_append): If ar_truncate, set BFD_TRADITIONAL_FORMAT. 2473 1.1 christos (write_archive): Likewise. 2474 1.1 christos * binutils.texi, ar.1: Document 'f' modifier. 2475 1.1 christos 2476 1.1 christos * objcopy.c (enum strip_action): Define strip_unneeded. 2477 1.1 christos (OPTION_STRIP_UNNEEDED): Define. 2478 1.1 christos (strip_options): Add "strip-unneeded". 2479 1.1 christos (copy_options): Likewise. 2480 1.1 christos (copy_usage): Mention --strip-unneeded. 2481 1.1 christos (strip_usage): Likewise. 2482 1.1 christos (is_strip_section): Strip debugging sections if strip_unneeded. 2483 1.1 christos (filter_symbols): If strip_unneeded, only keep BSF_KEEP symbols. 2484 1.1 christos (copy_object): If strip_all, discard symbols without checking 2485 1.1 christos discard_locals. 2486 1.1 christos (copy_object): Call filter_symbols if strip_unneeded. 2487 1.1 christos (setup_section): Strip debugging sections if strip_unneeded. 2488 1.1 christos (copy_section): Likewise. 2489 1.1 christos (strip_main): Handle OPTION_STRIP_UNNEEDED. 2490 1.1 christos (copy_main): Likewise. 2491 1.1 christos * binutils.texi, objcopy.1, strip.1: Document --strip-unneeded. 2492 1.1 christos 2493 1.1 christos Mon Jul 3 14:16:47 1995 Steve Chamberlain <sac (a] slash.cygnus.com> 2494 1.1 christos 2495 1.1 christos * configure.in (i386-*-win32): New configuration. 2496 1.1 christos * dlltool.c (killat, xlate, usage, long_options, main): 2497 1.1 christos Understand and cope with -k option. 2498 1.1 christos 2499 1.1 christos Sat Jul 1 12:25:15 1995 Fred Fish <fnf (a] cygnus.com> 2500 1.1 christos 2501 1.1 christos * ar.c: (extract_file): Change "#if POSIX_UTIME" to 2502 1.1 christos "#ifdef POSIX_UTIME" to match other tests of POSIX_UTIME 2503 1.1 christos and avoid lossage when POSIX_UTIME is not defined at all. 2504 1.1 christos 2505 1.1 christos Wed Jun 28 17:51:24 1995 Steve Chamberlain <sac (a] slash.cygnus.com> 2506 1.1 christos 2507 1.1 christos * ar.c: (print_contents.c, extract_file, do_quick_append): 2508 1.1 christos Malloc buffers rather than allocate on stack (so it works 2509 1.1 christos on NT). 2510 1.1 christos * deflex.l: Names can have an @ in them. 2511 1.1 christos * dlltool.c: Loads of stuff. Can now generate .imp files which 2512 1.1 christos work with NT .dlls. 2513 1.1 christos 2514 1.1 christos Thu Jun 22 19:10:50 1995 Stan Shebs <shebs (a] andros.cygnus.com> 2515 1.1 christos 2516 1.1 christos * mpw-make.in (demangle.c.o): Remove. 2517 1.1 christos (arparse.h): Depend on arparse.c instead of arparse.y. 2518 1.1 christos 2519 1.1 christos Wed Jun 21 17:32:45 1995 Ken Raeburn <raeburn (a] cujo.cygnus.com> 2520 1.1 christos 2521 1.1 christos * Makefile.in (DISTSTUFF): Don't include info here. 2522 1.1 christos (diststuff): Include it here. 2523 1.1 christos (realclean): Remove *.info. 2524 1.1 christos 2525 1.1 christos * objdump.c (compare_relocs): If relocation entries have the same 2526 1.1 christos address, keep them in file order. 2527 1.1 christos 2528 1.1 christos Mon Jun 19 09:06:49 1995 Steve Chamberlain <sac (a] slash.cygnus.com> 2529 1.1 christos 2530 1.1 christos * dlltool.c: Change names of generated files. .*.s-> -*.s 2531 1.1 christos 2532 1.1 christos * objdump.c (dump_section_stabs): Check for names 2533 1.1 christos which are supersets of selected names. 2534 1.1 christos 2535 1.1 christos Wed Jun 14 19:43:52 1995 Doug Evans <dje (a] canuck.cygnus.com> 2536 1.1 christos 2537 1.1 christos * dlltool.c (mtable, ARM jump): Must redirect via pc offsetable ptr. 2538 1.1 christos 2539 1.1 christos Wed Jun 14 13:27:22 1995 Steve Chamberlain <sac (a] slash.cygnus.com> 2540 1.1 christos 2541 1.1 christos * deflex.l, defparse.y, dlltool.c: New files. 2542 1.1 christos * Makefile.in, configure.in: Support for them. 2543 1.1 christos 2544 1.1 christos Mon Jun 12 11:27:54 1995 Steve Chamberlain <sac (a] slash.cygnus.com> 2545 1.1 christos 2546 1.1 christos * sysdump.c: Include sysdep.h 2547 1.1 christos (main): Open input with FOPEN_RB. 2548 1.1 christos 2549 1.1 christos Fri Jun 9 17:26:11 1995 Michael Meissner <meissner (a] tiktok.cygnus.com> 2550 1.1 christos 2551 1.1 christos * objdump.c (wide_output): New flag variable. 2552 1.1 christos (usage): Print new -w, --wide options. 2553 1.1 christos (long_options): Add --wide support. 2554 1.1 christos (dump_section_header): If --wide, don't print a newline between 2555 1.1 christos the section's first line and the flags. 2556 1.1 christos (objdump_print_address): Use unsigned comparisons for the binary 2557 1.1 christos search, not signed. 2558 1.1 christos (disassemble_data): If --wide, don't put a \n between the 2559 1.1 christos disassembly output and relocation information. 2560 1.1 christos (main): Support -w option being the same as --wide. 2561 1.1 christos 2562 1.1 christos Thu Jun 1 17:09:27 1995 Ken Raeburn <raeburn (a] cujo.cygnus.com> 2563 1.1 christos 2564 1.1 christos Sat May 6 08:52:24 1995 H.J. Lu (hjl (a] nynexst.com) 2565 1.1 christos 2566 1.1 christos * objcopy.c (smart_rename): make it smarter, clean up 2567 1.1 christos if rename () fails. 2568 1.1 christos 2569 1.1 christos Tue May 30 14:24:15 1995 Ken Raeburn <raeburn (a] cujo.cygnus.com> 2570 1.1 christos 2571 1.1 christos * Makefile.in: Delete lines with lots of #### because four or more 2572 1.1 christos indicate a point for makefile fragment substitution. 2573 1.1 christos 2574 1.1 christos Tue May 9 17:17:05 1995 Michael Meissner <meissner (a] tiktok.cygnus.com> 2575 1.1 christos 2576 1.1 christos * configure.in: Don't build nlmconv on PowerPC eabi any more, it 2577 1.1 christos is not needed. 2578 1.1 christos 2579 1.1 christos Thu Apr 27 20:21:24 1995 Doug Evans <dje (a] canuck.cygnus.com> 2580 1.1 christos 2581 1.1 christos * Makefile.in (EXPECT): Define. 2582 1.1 christos (RUNTEST): Use one in source tree if present. 2583 1.1 christos (check): Set `rootme' for $(EXPECT). 2584 1.1 christos 2585 1.1 christos Wed Apr 26 18:26:21 1995 Steve Chamberlain <sac (a] slash.cygnus.com> 2586 1.1 christos 2587 1.1 christos * srconv.c (main): Add support for -n option which disables 2588 1.1 christos prescan of common symbols. 2589 1.1 christos (wr_ob): If reading past the end of a section, fill with zeros. 2590 1.1 christos 2591 1.1 christos Tue Apr 25 19:14:37 1995 Ken Raeburn <raeburn (a] cujo.cygnus.com> 2592 1.1 christos 2593 1.1 christos * objdump.c (dump_section_header): Display load address after 2594 1.1 christos virtual memory (run-time) address. 2595 1.1 christos 2596 1.1 christos Wed Apr 19 09:44:06 1995 Jason Merrill <jason (a] phydeaux.cygnus.com> 2597 1.1 christos 2598 1.1 christos * Makefile.in (cplus-dem.o): Pass -DVERSION='"$(VERSION)"' to the 2599 1.1 christos compile. 2600 1.1 christos (DEMANGLER_PROG): No longer uses version.o. 2601 1.1 christos 2602 1.1 christos Mon Apr 10 13:29:49 1995 Stan Shebs <shebs (a] andros.cygnus.com> 2603 1.1 christos 2604 1.1 christos Merge in support for Mac MPW as a host. 2605 1.1 christos (Old change descriptions retained for informational value.) 2606 1.1 christos 2607 1.1 christos * mpw-config.in (TDEFINES): Define as empty in makefile frag. 2608 1.1 christos 2609 1.1 christos * mpw-config.in: Create mk.tmp, define ARCHDEFS in it. 2610 1.1 christos 2611 1.1 christos * mpw-config.in: New file, MPW configure fragment for binutils. 2612 1.1 christos * mpw-make.in (install-only): New target. 2613 1.1 christos (install): Also depend on install-only. 2614 1.1 christos 2615 1.1 christos * mpw-make.in (cplusfilt): Renamed from c++filt. 2616 1.1 christos (INCLUDES): Add more paths. 2617 1.1 christos 2618 1.1 christos * mpw-make.in: New file, MPW makefile fragment for binutils. 2619 1.1 christos (Normally automatically generated from Makefile.in.) 2620 1.1 christos 2621 1.1 christos Mon Mar 27 11:52:57 1995 Ian Lance Taylor <ian (a] cygnus.com> 2622 1.1 christos 2623 1.1 christos * ar.c (write_archive): Call make_tempname to get output file 2624 1.1 christos name, rather than using a fixed name based on the input file. 2625 1.1 christos 2626 1.1 christos * objcopy.c (make_tempname): Copy from here... 2627 1.1 christos * bucomm.c (make_tempname): ...to here, and make global. 2628 1.1 christos * bucomm.h (make_tempname): Declare. 2629 1.1 christos 2630 1.1 christos Fri Mar 24 11:47:42 1995 Ian Lance Taylor <ian (a] cygnus.com> 2631 1.1 christos 2632 1.1 christos * strings.c: Include "bfd.h" before other headers. Include 2633 1.1 christos "sysdep.h". 2634 1.1 christos * bucomm.c (print_arelt_descr): Cast st_uid and st_gid to long, 2635 1.1 christos and print them with %ld. 2636 1.1 christos 2637 1.1 christos Fri Mar 10 13:09:42 1995 Ian Lance Taylor <ian (a] cygnus.com> 2638 1.1 christos 2639 1.1 christos * objcopy.c (strip_options): Add --keep-symbol. 2640 1.1 christos (copy_options): Likewise. 2641 1.1 christos (copy_usage): Mention --keep-symbol and -K. 2642 1.1 christos (strip_usage): Likewise. 2643 1.1 christos (keep_symbols): New static variable. 2644 1.1 christos (is_strip_symbol): Adjust the return value according to 2645 1.1 christos keep_symbols. 2646 1.1 christos (strip_main): Handle -K. For -N, check that -K was not given. 2647 1.1 christos (copy_main): Likewise. 2648 1.1 christos * binutils.texi, objcopy.1, strip.1: Document -K. 2649 1.1 christos 2650 1.1 christos Mon Mar 6 13:33:47 1995 Stan Shebs <shebs (a] andros.cygnus.com> 2651 1.1 christos 2652 1.1 christos * objcopy.c (copy_archive): Check result of mkdir. 2653 1.1 christos (copy_main): Cast an xmalloc result. 2654 1.1 christos 2655 1.1 christos * objdump.c (usage): Break long format string into shorter ones. 2656 1.1 christos 2657 1.1 christos Mon Mar 6 13:46:12 1995 Ian Lance Taylor <ian (a] cygnus.com> 2658 1.1 christos 2659 1.1 christos * bucomm.c (list_supported_targets): New function. 2660 1.1 christos * bucomm.h (list_supported_targets): Declare. 2661 1.1 christos * ar.c (usage): Call list_supported_targets. 2662 1.1 christos * nm.c (usage): Likewise. 2663 1.1 christos * objcopy.c (copy_usage, strip_usage): Likewise. 2664 1.1 christos * objdump.c (usage): Likewise. 2665 1.1 christos * size.c (usage): Likewise. 2666 1.1 christos * strings.c (usage): Likewise. 2667 1.1 christos 2668 1.1 christos Tue Feb 28 15:13:58 1995 Ian Lance Taylor <ian (a] cygnus.com> 2669 1.1 christos 2670 1.1 christos * bucomm.c (print_arelt_descr): Cast st_size to long before 2671 1.1 christos passing it to fprintf. 2672 1.1 christos 2673 1.1 christos Fri Feb 17 13:36:45 1995 Ian Lance Taylor <ian (a] cygnus.com> 2674 1.1 christos 2675 1.1 christos * objcopy.c (struct section_list): Add fields remove, set_flags, 2676 1.1 christos and flags. Change adjust from boolean to enum. 2677 1.1 christos (remove_sections): Remove static variable. 2678 1.1 christos (sections_removed): New static variable. 2679 1.1 christos (copy_options): Add --set-section-flags. 2680 1.1 christos (copy_usage): Mention --set-section-flags. 2681 1.1 christos (parse_flags): New static function. 2682 1.1 christos (find_section_list): New static function. 2683 1.1 christos (is_strip_symbol): Change return type from int to boolean. 2684 1.1 christos (is_strip_section): New static function. 2685 1.1 christos (filter_symbols): Call is_strip_section. 2686 1.1 christos (copy_object): When adding sections, check for specified flags or 2687 1.1 christos VMA. Call filter_symbols if any sections are being removed. 2688 1.1 christos (setup_section): Use find_section_list function rather than 2689 1.1 christos looking through remove_sections and adjust_sections. Handle 2690 1.1 christos --set-section-flags. 2691 1.1 christos (copy_section): Use find_section_list rather than looking through 2692 1.1 christos remove_sections. 2693 1.1 christos (strip_main): Use find_section_list instead of adding items to 2694 1.1 christos sections_removed. 2695 1.1 christos (copy_main): Use find_section_list instead of adding items to 2696 1.1 christos sections_removed and adjust_sections. Handle --set-section-flags. 2697 1.1 christos * binutils.texi, objcopy.1: Document --set-section-flags. 2698 1.1 christos 2699 1.1 christos Tue Feb 14 18:03:03 1995 Ian Lance Taylor <ian (a] cygnus.com> 2700 1.1 christos 2701 1.1 christos * objdump.c (with_source_code): New global variable. 2702 1.1 christos (usage): Mention -S/--source. 2703 1.1 christos (long_options): Add --source. 2704 1.1 christos (prev_functionname, prev_line): New static variables. 2705 1.1 christos (struct print_file_list): Define. 2706 1.1 christos (print_files): New static variable. 2707 1.1 christos (skip_to_line, show_line): New static functions. 2708 1.1 christos (disassemble_data): Call show_line to handle -l and -S. 2709 1.1 christos (main): Handle -S. 2710 1.1 christos * binutils.texi, objdump.1: Document -S/--source. 2711 1.1 christos 2712 1.1 christos Thu Feb 9 16:11:53 1995 Ian Lance Taylor <ian (a] cygnus.com> 2713 1.1 christos 2714 1.1 christos * objcopy.c (copy_usage): Rename parameter to avoid shadowing. 2715 1.1 christos (strip_usage): Likewise. 2716 1.1 christos 2717 1.1 christos * objcopy.c (struct section_add): Define. 2718 1.1 christos (add_sections): New static variable. 2719 1.1 christos (copy_options): Accept --add-section. 2720 1.1 christos (copy_usage): Mention --add-section. 2721 1.1 christos (copy_object): Add sections from the add_sections list. 2722 1.1 christos (copy_main): Handle --add-section. 2723 1.1 christos * binutils.texi, objcopy.1: Document --add-section. 2724 1.1 christos 2725 1.1 christos Wed Feb 1 15:04:57 1995 Ken Raeburn <raeburn (a] cujo.cygnus.com> 2726 1.1 christos 2727 1.1 christos * objdump.c (disassemble_data): Pass section offset, not absolute 2728 1.1 christos address, to bfd_find_nearest_line. 2729 1.1 christos 2730 1.1 christos * nlmconv.c (powerpc_mangle_relocs): Don't use const with 2731 1.1 christos reloc_howto_type. 2732 1.1 christos 2733 1.1 christos Thu Jan 26 18:50:06 1995 Ian Lance Taylor <ian (a] cygnus.com> 2734 1.1 christos 2735 1.1 christos * objdump.c (compare_symbols): Use bfd_asymbol_value (VAR) rather 2736 1.1 christos than VAR->value. 2737 1.1 christos (objdump_print_address): Likewise. 2738 1.1 christos (disassemble_data): Don't change the symbol values. It can 2739 1.1 christos confuse bfd_canonicalize_reloc. 2740 1.1 christos 2741 1.1 christos Thu Jan 26 12:03:56 1995 Michael Meissner <meissner (a] tiktok.cygnus.com> 2742 1.1 christos 2743 1.1 christos * configure.in: Add support for powerpc-*-ebai. 2744 1.1 christos 2745 1.1 christos Wed Jan 18 10:02:12 1995 Steve Chamberlain <sac@splat> 2746 1.1 christos 2747 1.1 christos * coffdump.c: Include sysdep.h. 2748 1.1 christos (dump_coff_type): Handle coff_secdef_type. 2749 1.1 christos * coffgrok.c : Include sysdep.h. 2750 1.1 christos * srconv.c: Include libiberty.h 2751 1.1 christos (absolute_p, dty_start, dty_end, dump_tree_structure): Remove. 2752 1.1 christos 2753 1.1 christos Wed Jan 18 12:24:14 1995 Ian Lance Taylor <ian (a] sanguine.cygnus.com> 2754 1.1 christos 2755 1.1 christos * coffdump.c (dump_coff_scope): Cast pointer to unsigned long for 2756 1.1 christos printf. 2757 1.1 christos * coffgrok.c: Include bucomm.h. Don't declare xmalloc. 2758 1.1 christos (push_scope): Declare type of parameter link. 2759 1.1 christos * size.c: Include libiberty.h. 2760 1.1 christos * srconv.c: Include bucomm.h. 2761 1.1 christos (find_base): Declare at top of file. 2762 1.1 christos (wr_hd): Add default case to architecture switch. 2763 1.1 christos (wr_dps_start): Declare type of parameter nest. 2764 1.1 christos (wr_du): Comment out variables used only in commented out blocks. 2765 1.1 christos (wr_dus): Remove unused variable i. 2766 1.1 christos (wr_sc): Remove unused variables myinfo, low, and high. 2767 1.1 christos * strings.c: Include libiberty.h. 2768 1.1 christos * sysdump.c: Include <ctype.h>. 2769 1.1 christos 2770 1.1 christos Tue Dec 20 19:13:44 1994 Ian Lance Taylor <ian (a] sanguine.cygnus.com> 2771 1.1 christos 2772 1.1 christos * ar.c (main): Ignore 'f' modifier used on HP/UX 9. 2773 1.1 christos 2774 1.1 christos Thu Dec 15 17:34:12 1994 Stan Shebs <shebs (a] andros.cygnus.com> 2775 1.1 christos 2776 1.1 christos * ar.c, nm.c, objcopy.c, objdump.c: Include progress.h. 2777 1.1 christos * ar.c, nm.c, objcopy.c, objdump.c (main): Add START_PROGRESS 2778 1.1 christos and END_PROGRESS. 2779 1.1 christos * ar.c (map_over_members, open_inarch): Call PROGRESS. 2780 1.1 christos * nm.c (main, display_archive, filter_symbols, print_symbols): 2781 1.1 christos Call PROGRESS. 2782 1.1 christos 2783 1.1 christos * objcopy.c (copy_usage): Break up long usage string. 2784 1.1 christos 2785 1.1 christos Wed Dec 14 15:51:56 1994 Ken Raeburn <raeburn (a] cujo.cygnus.com> 2786 1.1 christos 2787 1.1 christos * objcopy.c (copy_object): Don't bother setting status after 2788 1.1 christos nonfatal() "call", because it won't return. 2789 1.1 christos 2790 1.1 christos Fri Dec 9 00:22:54 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 2791 1.1 christos 2792 1.1 christos * nlmconv.c (powerpc_mangle_relocs): Don't switch a reloc to use 2793 1.1 christos the section symbol if the symbol is undefined. 2794 1.1 christos 2795 1.1 christos Thu Dec 8 14:45:50 1994 Ken Raeburn <raeburn (a] cujo.cygnus.com> 2796 1.1 christos 2797 1.1 christos * objcopy.c (add_strip_symbol): Cast return value of xmalloc. 2798 1.1 christos 2799 1.1 christos Wed Nov 30 11:05:43 1994 Ian Lance Taylor <ian (a] rtl.cygnus.com> 2800 1.1 christos 2801 1.1 christos * ar.c (replace_members): Pass current->filename to normalize when 2802 1.1 christos checking for duplicates, because the filename of a newly added 2803 1.1 christos file will not have been normalized yet. 2804 1.1 christos 2805 1.1 christos Thu Nov 17 15:00:13 1994 Ian Lance Taylor <ian (a] sanguine.cygnus.com> 2806 1.1 christos 2807 1.1 christos * ar.c (main): Don't call do_quick_append if any of the archive 2808 1.1 christos names are longer than 14 characters. 2809 1.1 christos 2810 1.1 christos * objcopy.c (main): Fix is_strip test. From 2811 1.1 christos pirker (a] eiunix.tuwien.ac.at (Martin Pirker). 2812 1.1 christos 2813 1.1 christos Thu Nov 17 15:37:19 1994 Mark W. Eichin <eichin (a] cygnus.com> 2814 1.1 christos 2815 1.1 christos * objcopy.c (add_strip_symbol): New function, adds a name to an 2816 1.1 christos explicit list of symbols to strip. 2817 1.1 christos (is_strip_symbol): New function, reports whether the name argument 2818 1.1 christos is in the explicit list. 2819 1.1 christos (filter_symbols): Check against is_strip_symbol above all. 2820 1.1 christos (strip_main): Recognize -N option. If used, don't default to 2821 1.1 christos strip_all. 2822 1.1 christos (copy_main): Recognize -N option. 2823 1.1 christos (strip_usage): Document -N and --strip-symbol options. 2824 1.1 christos (copy_usage): Ditto. 2825 1.1 christos * objcopy.1, strip.1, binutils.texi: Document -N and 2826 1.1 christos --strip-symbol options. 2827 1.1 christos 2828 1.1 christos Tue Nov 8 13:12:54 1994 Ian Lance Taylor <ian (a] sanguine.cygnus.com> 2829 1.1 christos 2830 1.1 christos * objdump.c (display_target_list, display_info_table): Pass an 2831 1.1 christos array to tmparg, rather than NULL, since some systems can't handle 2832 1.1 christos NULL. 2833 1.1 christos 2834 1.1 christos * objcopy.c (copy_archive): Keep a list of the names of the 2835 1.1 christos temporary files we created. Close each input BFD after we open 2836 1.1 christos its successor. 2837 1.1 christos 2838 1.1 christos Mon Nov 7 15:48:39 1994 Ken Raeburn <raeburn (a] cujo.cygnus.com> 2839 1.1 christos 2840 1.1 christos * Makefile.in (VERSION): Bump to 2.5.3. 2841 1.1 christos 2842 1.1 christos Thu Nov 3 19:04:34 1994 Ken Raeburn <raeburn (a] cujo.cygnus.com> 2843 1.1 christos 2844 1.1 christos * Makefile.in (install-info): Install info files from whatever 2845 1.1 christos directory they were found in. 2846 1.1 christos 2847 1.1 christos Patch from DJ Delorie: 2848 1.1 christos * configure.bat: do c++filt -> cxxfilt right 2849 1.1 christos 2850 1.1 christos * sysinfo.y: Include system header files early, so any potential 2851 1.1 christos declaration of abort() occurs before its use. 2852 1.1 christos 2853 1.1 christos * strings.c (strings_file): Try opening the file in binary mode 2854 1.1 christos first. 2855 1.1 christos 2856 1.1 christos Wed Nov 2 15:44:13 1994 Ian Lance Taylor <ian (a] sanguine.cygnus.com> 2857 1.1 christos 2858 1.1 christos * ar.c (main): Treat ar qs like ar rs. 2859 1.1 christos 2860 1.1 christos Tue Oct 25 16:19:25 1994 Ian Lance Taylor <ian (a] sanguine.cygnus.com> 2861 1.1 christos 2862 1.1 christos * objcopy.c (gap_fill): Explicitly initialize, for clarity. 2863 1.1 christos (pad_to_set, pad_to): New static variables. 2864 1.1 christos (copy_options): Accept --pad-to. 2865 1.1 christos (copy_usage): Mention --pad-to. 2866 1.1 christos (copy_object): Support --pad-to. 2867 1.1 christos (compare_section_vma): Sort non loadable sections to the front. 2868 1.1 christos Sort sections with the same VMA by size. 2869 1.1 christos (copy_main): Handle --pad-to. 2870 1.1 christos * binutils.texi, objcopy.1: Document --pad-to. 2871 1.1 christos 2872 1.1 christos Thu Oct 20 13:51:31 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 2873 1.1 christos 2874 1.1 christos * objcopy.c (gap_fill_set, gap_fill): New static variables. 2875 1.1 christos (copy_options): Accept --gap-fill. 2876 1.1 christos (copy_usage): Mention --gap-fill. 2877 1.1 christos (copy_object): Support --gap-fill. 2878 1.1 christos (get_sections, compare_section_vma): New static functions. 2879 1.1 christos (copy_main): Handle --gap-fill. 2880 1.1 christos * binutils.texi, objcopy.1: Document --gap-fill. 2881 1.1 christos 2882 1.1 christos Wed Oct 19 14:09:16 1994 Ian Lance Taylor <ian (a] sanguine.cygnus.com> 2883 1.1 christos 2884 1.1 christos * Makefile.in (check): Add a dummy else clause to the if 2885 1.1 christos statement. 2886 1.1 christos 2887 1.1 christos * objcopy.c (copy_object): Revert yesterday's change. 2888 1.1 christos * binutils.texi, objcopy.1: Remove special mention of --set-start 2889 1.1 christos and `binary' output format. 2890 1.1 christos 2891 1.1 christos Tue Oct 18 11:12:01 1994 Ian Lance Taylor <ian (a] sanguine.cygnus.com> 2892 1.1 christos 2893 1.1 christos * objcopy.c (copy_object): If the output file format is `binary', 2894 1.1 christos and the start address was not set using --set-start, default the 2895 1.1 christos start address to zero. This hack is because the `binary' output 2896 1.1 christos file format uses the start address to set the virtual address of 2897 1.1 christos the first byte in the file. 2898 1.1 christos * binutils.texi, objcopy.1: Add some notes on generating S-records 2899 1.1 christos and binary files. 2900 1.1 christos 2901 1.1 christos * nm.c (print_symdef_entry): Call print_symname to print the 2902 1.1 christos symbol name, so that --demangle works. 2903 1.1 christos 2904 1.1 christos * Makefile.in (mostlyclean): Remove tmpdir. 2905 1.1 christos 2906 1.1 christos * objcopy.c (struct section_list): Add fields used, adjust, val. 2907 1.1 christos (adjust_start, set_start_set, set_start): New static variables. 2908 1.1 christos (adjust_section_vma, adjust_sections): New static variables. 2909 1.1 christos (copy_options): Add --adjust-start, --adjust-vma, 2910 1.1 christos --adjust-section-vma, --adjust-warnings, --no-adjust-warnings, 2911 1.1 christos --set-start. 2912 1.1 christos (parse_vma): New static function. 2913 1.1 christos (copy_usage): Mention new options. 2914 1.1 christos (copy_object): Handle --set-start and --adjust-start. 2915 1.1 christos (setup_section): Correct type of last argument to PTR. Set used 2916 1.1 christos field if section is removed. Handle --adjust-vma and 2917 1.1 christos --adjust-section-vma. 2918 1.1 christos (copy_section): Correct type of last argument to PTR. 2919 1.1 christos (mark_symbols_used_in_relocations): Likewise. 2920 1.1 christos (strip_main): Clear used field when handling -R. 2921 1.1 christos (copy_main): Handle new options. 2922 1.1 christos * binutils.texi (objcopy): Document new options. 2923 1.1 christos * objcopy.1: Document new options. 2924 1.1 christos 2925 1.1 christos Fri Oct 14 14:38:13 1994 Ian Lance Taylor <ian (a] sanguine.cygnus.com> 2926 1.1 christos 2927 1.1 christos * configure.in (configdirs): Remove definition--testsuite is no 2928 1.1 christos longer configured. 2929 1.1 christos * Makefile.in (testsuite): Remove target. 2930 1.1 christos (site.exp): New target. 2931 1.1 christos (check): Rewrite. 2932 1.1 christos (clean, distclean): Don't recur into testsuite directory. 2933 1.1 christos 2934 1.1 christos Thu Oct 13 19:24:09 1994 Ken Raeburn <raeburn (a] cujo.cygnus.com> 2935 1.1 christos 2936 1.1 christos * Makefile.in (VERSION): Updated to 2.5. 2937 1.1 christos * Version 2.5 released. 2938 1.1 christos 2939 1.1 christos Tue Oct 11 15:26:42 1994 Ian Lance Taylor <ian (a] sanguine.cygnus.com> 2940 1.1 christos 2941 1.1 christos * Makefile.in (sysdump.o): Depends upon sysroff.c. 2942 1.1 christos 2943 1.1 christos Mon Oct 10 13:50:30 1994 J.T. Conklin (jtc (a] rtl.cygnus.com) 2944 1.1 christos 2945 1.1 christos * nlmconv.c (link_inputs): Pass -Ur flag to ld so that the 2946 1.1 christos ctor/dtor tables needed by C++ programs are built. 2947 1.1 christos 2948 1.1 christos Sun Oct 9 18:04:00 1994 Jim Wilson (wilson (a] sphagnum.cygnus.com) 2949 1.1 christos 2950 1.1 christos * Makefile.in (srconv.o): Add dependence on sysroff.c. 2951 1.1 christos 2952 1.1 christos Tue Oct 4 12:19:51 1994 Ian Lance Taylor <ian (a] sanguine.cygnus.com> 2953 1.1 christos 2954 1.1 christos * configure.in: Use ${config_shell} when running config.bfd. 2955 1.1 christos 2956 1.1 christos * Makefile.in (sysroff.h): Split target away from sysroff.c. 2957 1.1 christos (srconv.o, sysdump.o): New targets. 2958 1.1 christos (srconv, sysdump): Don't depend upon sysroff.c. 2959 1.1 christos 2960 1.1 christos Wed Sep 28 13:04:34 1994 Ian Lance Taylor (ian (a] sanguine.cygnus.com) 2961 1.1 christos 2962 1.1 christos * Makefile.in (arparse.c): Don't ignore errors from mv. 2963 1.1 christos (sysinfo.c): Likewise. Also, depend upon arparse.c, to prevent a 2964 1.1 christos parallel make from trying to build both arparse.c and sysinfo.c 2965 1.1 christos simultaneously. 2966 1.1 christos (nlmheader.c): Similar change. 2967 1.1 christos (arparse.h): Separate target from arparse.c, so that a parallel 2968 1.1 christos make does not try to build both at once. Depend upon arparse.c. 2969 1.1 christos (sysinfo.h): Similar change. 2970 1.1 christos 2971 1.1 christos * objdump.c (disassemble_data): Pass the reloc buffer to free, not 2972 1.1 christos the pointer used to loop over the relocs. 2973 1.1 christos 2974 1.1 christos Sat Sep 24 16:16:57 1994 Stan Shebs (shebs (a] andros.cygnus.com) 2975 1.1 christos 2976 1.1 christos * objdump.c (disassemble_data): Cast result of xmalloc. 2977 1.1 christos 2978 1.1 christos Wed Sep 21 19:30:35 1994 Ian Lance Taylor (ian (a] sanguine.cygnus.com) 2979 1.1 christos 2980 1.1 christos * objdump.c (sorted_syms, sorted_symcount): New global variables. 2981 1.1 christos (objdump_print_address): Use sorted_syms and sorted_symcount 2982 1.1 christos instead of syms and symcount. 2983 1.1 christos (disassemble_data): Don't bother to get the relocs before looping 2984 1.1 christos over the sections. Before filtering and sorting the symbol table, 2985 1.1 christos copy it into sorted_syms. 2986 1.1 christos 2987 1.1 christos Fri Sep 16 11:27:39 1994 Ian Lance Taylor (ian (a] sanguine.cygnus.com) 2988 1.1 christos 2989 1.1 christos * objdump.c (struct objdump_disasm_info): Add field require_sec. 2990 1.1 christos (objdump_print_address): If aux->require_sec, require that the 2991 1.1 christos symbol be in aux->sec even if HAS_RELOC is not set. If we can't 2992 1.1 christos find a smaller symbol in the right section, look for a larger one. 2993 1.1 christos (disassemble_data): Set aux.require_sec around the 2994 1.1 christos objdump_print_address call for the instruction address. 2995 1.1 christos 2996 1.1 christos Thu Sep 15 21:43:17 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 2997 1.1 christos 2998 1.1 christos * ar.c: Call xexit rather than exit. 2999 1.1 christos (output_filename, output_file, output_bfd): New static variables. 3000 1.1 christos (remove_output): New static function. 3001 1.1 christos (main): Call xatexit (remove_output). Call xexit rather than 3002 1.1 christos returning. 3003 1.1 christos (extract_file): Set output_filename and output_file while output 3004 1.1 christos file is open. 3005 1.1 christos (write_archive): Likewise, but use output_bfd, not output_file. 3006 1.1 christos * arsup.c: Include libiberty.h. Call xexit rather than exit. 3007 1.1 christos * bucomm.c: Likewise. 3008 1.1 christos 3009 1.1 christos * objdump.c (disassemble_all): New global variable. 3010 1.1 christos (usage): Document --disassemble-all. 3011 1.1 christos (long_options): Add disassemble-all as a synonym for -D. 3012 1.1 christos (compare_symbols): Make pointers const. 3013 1.1 christos (compare_relocs): New static function. 3014 1.1 christos (disassemble_data): Rename disassemble to disassemble_fn to avoid 3015 1.1 christos shadowing. If dump_reloc_info, print relocs along with 3016 1.1 christos disassembly. Skip sections which are not SEC_CODE unless 3017 1.1 christos disassemble_all or only is set. 3018 1.1 christos (display_bfd): Don't call dump_relocs if disassemble is set. 3019 1.1 christos (main): Accept and handle -D. 3020 1.1 christos * binutils.texi: Document -D/--disassemble-all. 3021 1.1 christos * objdump.1: Likewise. 3022 1.1 christos 3023 1.1 christos Wed Sep 14 12:19:07 1994 Ian Lance Taylor (ian (a] sanguine.cygnus.com) 3024 1.1 christos 3025 1.1 christos * objdump.c (disassemble_data): Initialize prevline to 0. Make 3026 1.1 christos prev_function non const. Copy functionname into an malloc buffer 3027 1.1 christos when setting prev_function, instead of assuming that the string 3028 1.1 christos will last forever. 3029 1.1 christos 3030 1.1 christos * nm.c: Include libiberty.h. 3031 1.1 christos (sort_by_size): New static variable. 3032 1.1 christos (long_options): Add --size-sort. 3033 1.1 christos (usage): Mention --size-sort. 3034 1.1 christos (numeric_forward): Make static. Change from void * to PTR. 3035 1.1 christos (numeric_reverse): Likewise. 3036 1.1 christos (non_numeric_forward, non_numeric_reverse): Likewise. 3037 1.1 christos (sorters): Change declaration from void * to PTR. 3038 1.1 christos (size_forward, sort_symbol_by_size): New static functions. 3039 1.1 christos (display_rel_file): Handle sort_by_size. 3040 1.1 christos (filter_symbols): If sort_by_size, discard absolute and undefined 3041 1.1 christos symbols. 3042 1.1 christos * binutils.texi (nm): Document --size-sort. 3043 1.1 christos * nm.1: Document --size-sort. 3044 1.1 christos 3045 1.1 christos Tue Sep 13 21:06:06 1994 Jeff Law (law (a] snake.cs.utah.edu) 3046 1.1 christos 3047 1.1 christos * objcopy.c (copy_main): Initialize input_filename and 3048 1.1 christos output_filename to NULL. 3049 1.1 christos 3050 1.1 christos Tue Sep 13 14:17:24 1994 Ian Lance Taylor (ian (a] sanguine.cygnus.com) 3051 1.1 christos 3052 1.1 christos * Makefile.in (version.o): Depend upon Makefile, so that version.o 3053 1.1 christos gets rebuilt when make variable VERSION is changed. 3054 1.1 christos 3055 1.1 christos * objdump.c (dump_section_header): Print the SEC_NEVER_LOAD flag. 3056 1.1 christos 3057 1.1 christos Wed Aug 24 12:40:09 1994 Ian Lance Taylor (ian (a] sanguine.cygnus.com) 3058 1.1 christos 3059 1.1 christos * configure.in: Change i[34]86 to i[345]86. 3060 1.1 christos 3061 1.1 christos Tue Aug 23 11:00:40 1994 Ian Lance Taylor (ian (a] sanguine.cygnus.com) 3062 1.1 christos 3063 1.1 christos * ar.c (ranlib_touch): Don't update the archive map if there isn't 3064 1.1 christos one. 3065 1.1 christos 3066 1.1 christos Mon Aug 22 16:02:18 1994 Ian Lance Taylor (ian (a] sanguine.cygnus.com) 3067 1.1 christos 3068 1.1 christos * ar.c: Include libiberty.h. 3069 1.1 christos (inarch): Remove variable. 3070 1.1 christos (map_over_members): Make static. Add arch argument, and use it 3071 1.1 christos instead of inarch. Change all callers. 3072 1.1 christos (main): Treat --version as -v. Accept -t argument. Accept any 3073 1.1 christos number of archive arguments. Catch and use open_inarch return 3074 1.1 christos value, rather than using inarch. 3075 1.1 christos (open_inarch): Return newly opened BFD, rather than using inarch. 3076 1.1 christos (do_quick_append): Make archive_filename const. 3077 1.1 christos (write_archive): Add iarch argument, and use it instead of inarch. 3078 1.1 christos Change all callers. 3079 1.1 christos (delete_members, move_members, replace_members): Likewise. 3080 1.1 christos (ranlib_only): Don't exit on success. Catch and use open_inarch 3081 1.1 christos return value. 3082 1.1 christos (ranlib_touch): New function. 3083 1.1 christos * arsup.h (map_over_members): Don't declare. 3084 1.1 christos (ar_end, ar_extract): Declare. 3085 1.1 christos (open_inarch): Change return value in declaration to bfd *. 3086 1.1 christos * arsup.c (map_over_list): Make static. Always pass two arguments 3087 1.1 christos to function. Add arch argument, and use it instead of inarch. 3088 1.1 christos Change all callers. 3089 1.1 christos (ar_directory_doer): Make static. Add ignored second argument. 3090 1.1 christos Change all callers. 3091 1.1 christos (ar_directory): Use open_inarch return value rather than inarch. 3092 1.1 christos (ar_addlib_doer): Make static. 3093 1.1 christos (ar_addlib): Use open_inarch return value rather than inarch. 3094 1.1 christos (ar_extract): Remove unused local variable abfd. 3095 1.1 christos 3096 1.1 christos Thu Aug 11 14:55:57 1994 Ian Lance Taylor (ian (a] sanguine.cygnus.com) 3097 1.1 christos 3098 1.1 christos Add support for removing named sections to objcopy and strip. 3099 1.1 christos * objcopy.c (struct section_list): Define. 3100 1.1 christos (remove_sections): New static variable. 3101 1.1 christos (strip_options, copy_options): Add remove-section. 3102 1.1 christos (copy_usage, strip_usage): Mention -R and --remove-section. 3103 1.1 christos (setup_section): If section is in remove_sections list, ignore it. 3104 1.1 christos (copy_section): Likewise. 3105 1.1 christos (strip_main, copy_main): Handle -R. 3106 1.1 christos * binutils.texi, objcopy.1, strip.1: Document new options. 3107 1.1 christos 3108 1.1 christos Wed Aug 10 10:19:55 1994 Stan Shebs (shebs (a] andros.cygnus.com) 3109 1.1 christos 3110 1.1 christos * nlmconv.c (powerpc_mangle_relocs): Rename symvalue to sym_value, 3111 1.1 christos so as not to conflict with the symvalue typedef in bfd.h. 3112 1.1 christos 3113 1.1 christos Mon Aug 1 13:19:09 1994 Ian Lance Taylor (ian (a] sanguine.cygnus.com) 3114 1.1 christos 3115 1.1 christos * nlmheader.y: Per current NetWare docs, accept a revision number 3116 1.1 christos of 0 and treat a revision number greater than 26 as 0. 3117 1.1 christos 3118 1.1 christos Mon Jul 25 12:58:36 1994 Ian Lance Taylor (ian (a] sanguine.cygnus.com) 3119 1.1 christos 3120 1.1 christos * objdump.c (objdump_print_address): Correct handling of end of 3121 1.1 christos symbols when looking for next symbol with a different value. 3122 1.1 christos 3123 1.1 christos Fri Jul 22 16:48:34 1994 Ken Raeburn (raeburn (a] cujo.cygnus.com) 3124 1.1 christos 3125 1.1 christos * nm.c (numeric_forward): Treat undefined symbols as "less than" 3126 1.1 christos defined symbols with zero values. If numeric values are equal, or 3127 1.1 christos both symbols are undefined, sort alphabetically. Don't assume 3128 1.1 christos that the difference of two bfd_vma values will truncate to "int" 3129 1.1 christos and still have the same sign. 3130 1.1 christos (numeric_reverse): Call numeric_forward and negate the result. 3131 1.1 christos (print_symbol_info_bsd): For undefined symbols, print leading 3132 1.1 christos spaces equivalent to the width of a printed bfd_vma, rather than 3133 1.1 christos assuming that 8 will look right. 3134 1.1 christos 3135 1.1 christos Fri Jul 22 10:36:50 1994 Steve Chamberlain (sac (a] jonny.cygnus.com) 3136 1.1 christos 3137 1.1 christos * coffgrok.c (doit): Zero all fields of new structure. 3138 1.1 christos * srconv.c (sysroff_swap_*_out): Remove redundant trailing arg. 3139 1.1 christos * sysinfo.y: Generate sysroff_swap_*_out without requiring extra 3140 1.1 christos arg. 3141 1.1 christos 3142 1.1 christos Fri Jul 22 10:09:53 1994 J.T. Conklin (jtc (a] phishhead.cygnus.com) 3143 1.1 christos 3144 1.1 christos * nlmheader.y: Make "stack" and "stacksize" synonyms in the lexer 3145 1.1 christos rather than the parser. 3146 1.1 christos 3147 1.1 christos Thu Jul 21 10:25:09 1994 Ian Lance Taylor (ian (a] sanguine.cygnus.com) 3148 1.1 christos 3149 1.1 christos * config/mh-alphaosf, config/mh-apollo68v, config/mh-delta88: 3150 1.1 christos Remove; obsolete. 3151 1.1 christos 3152 1.1 christos Sat Jul 16 22:34:39 1994 Ian Lance Taylor (ian (a] sanguine.cygnus.com) 3153 1.1 christos 3154 1.1 christos * objdump.c (slurp_dynamic_symtab): Try to get the dynamic symbols 3155 1.1 christos even if the bfd is not marked DYNAMIC. ELF executables are not 3156 1.1 christos marked DYNAMIC, but do have dynamic symbols. 3157 1.1 christos 3158 1.1 christos Fri Jul 15 01:41:35 1994 Steve Chamberlain (sac (a] jonny.cygnus.com) 3159 1.1 christos 3160 1.1 christos * coffgrok.c (do_where): Make data with no type 'int'. 3161 1.1 christos (do_define): Keep info on source file of a symbol. 3162 1.1 christos * coffgrok.h (coff_symbol): New field. 3163 1.1 christos * srconv.c (PROGRAM_VERSION): Now 1.3 3164 1.1 christos (wr_rl): Use external ref number for symbol. 3165 1.1 christos (wr_dus): Only keep one source file per debug unit. 3166 1.1 christos (wr_dln): Always emit line numbers for first source file, 3167 1.1 christos (wr_globals): Emit globals in the du of their owning source file. 3168 1.1 christos 3169 1.1 christos Mon Jul 11 15:59:03 1994 J.T. Conklin (jtc (a] phishhead.cygnus.com) 3170 1.1 christos 3171 1.1 christos * nlmheader.y: Null terminate var_hdr->threadName. 3172 1.1 christos 3173 1.1 christos Fri Jul 8 17:33:22 1994 Ken Raeburn (raeburn (a] cujo.cygnus.com) 3174 1.1 christos 3175 1.1 christos * Makefile.in (syslex.o, sysinfo.o): Permit C source files to be 3176 1.1 christos in $(srcdir), as they will be for FSF releases. 3177 1.1 christos 3178 1.1 christos Wed Jul 6 01:13:14 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3179 1.1 christos 3180 1.1 christos * nlmconv.c (setup_sections): Preserve existing section flags when 3181 1.1 christos copying in flags from a new section. 3182 1.1 christos 3183 1.1 christos Tue Jul 5 15:56:01 1994 Ian Lance Taylor (ian (a] sanguine.cygnus.com) 3184 1.1 christos 3185 1.1 christos * objcopy.c: Include libiberty.h. 3186 1.1 christos (copy_file): If output_target is NULL, set it to the target of the 3187 1.1 christos input file. 3188 1.1 christos 3189 1.1 christos Wed Jun 29 17:17:14 1994 J.T. Conklin (jtc (a] phishhead.cygnus.com) 3190 1.1 christos 3191 1.1 christos * nlmconv.c (link_inputs): Fixed memory allocation bug. 3192 1.1 christos 3193 1.1 christos Thu Jun 23 12:52:46 1994 David J. Mackenzie (djm (a] rtl.cygnus.com) 3194 1.1 christos 3195 1.1 christos * configure.in: Change --with-targets to --enable-targets. 3196 1.1 christos 3197 1.1 christos Tue Jun 21 12:53:21 1994 Ian Lance Taylor (ian (a] sanguine.cygnus.com) 3198 1.1 christos 3199 1.1 christos * Makefile.in (sysinfo): Does not depend upon $(ADDL_LIBS). 3200 1.1 christos 3201 1.1 christos * nlmconv.c (powerpc_build_stubs): Don't generate the PowerPC 3202 1.1 christos NetWare custom header; no longer needed. 3203 1.1 christos (powerpc_mangle_relocs): Convert relocs against the uninitialized 3204 1.1 christos data section into relocs against the data section. 3205 1.1 christos 3206 1.1 christos * configure.in: Set nlmconv_defs to -DNLMCONV_cputype for all the 3207 1.1 christos netware targets. Write it into Makefile as NLMCONV_DEFS. 3208 1.1 christos * Makefile.in (nlmconv.o): Pass $(NLMCONV_DEFS) to $(CC). 3209 1.1 christos * nlmconv.c: Only compile code for specific CPU types if 3210 1.1 christos NLMCONV_cputype is defined. 3211 1.1 christos 3212 1.1 christos * nlmconv.c (main): Change uses of bfd_abs_section, etc., to use 3213 1.1 christos bfd_abs_section_ptr or bfd_is_abs_section, etc. 3214 1.1 christos (i386_mangle_relocs, alpha_mangle_relocs): Likewise. 3215 1.1 christos (powerpc_build_stubs): Likewise. 3216 1.1 christos * nm.c (filter_symbols, print_symbols): Likewise. 3217 1.1 christos * objcopy.c (filter_symbols): Likewise. 3218 1.1 christos (mark_symbols_used_in_relocations): Likewise. 3219 1.1 christos * objdump.c (remove_useless_symbols, dump_relocs): Likewise. 3220 1.1 christos * size.c (sysv_internal_printer): Likewise. 3221 1.1 christos 3222 1.1 christos Mon Jun 20 16:43:03 1994 Ken Raeburn (raeburn (a] cujo.cygnus.com) 3223 1.1 christos 3224 1.1 christos * Makefile.in (MANPAGES): Remove $(DEMANGLER_PROG). 3225 1.1 christos (install): Install it explicitly, from build dir, not srcdir. 3226 1.1 christos 3227 1.1 christos Mon Jun 20 16:29:54 1994 Ian Lance Taylor (ian (a] sanguine.cygnus.com) 3228 1.1 christos 3229 1.1 christos * objdump.c: Don't include elf/internal.h. 3230 1.1 christos (bfd_elf_find_section): Don't declare. 3231 1.1 christos (read_section_stabs): No special handling for ELF. Always read 3232 1.1 christos using BFD sections. 3233 1.1 christos 3234 1.1 christos Thu Jun 16 17:25:20 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3235 1.1 christos 3236 1.1 christos * configure.in: Set UNDERSCORE in Makefile based on result of 3237 1.1 christos invoking config.bfd with a second argument of ``_''. 3238 1.1 christos * Makefile.in (underscore.c): Depend upon Makefile. Don't try to 3239 1.1 christos run $(CC) and $(NM), just use $(UNDERSCORE). Create via temporary 3240 1.1 christos file. 3241 1.1 christos (demangle.o): Remove target. 3242 1.1 christos ($(NM_PROG)): Don't depend upon demangle.o, and don't link against 3243 1.1 christos demangle.o. It's in libiberty anyhow. 3244 1.1 christos (cplus-dem.o): Don't depend upon demangle.o. 3245 1.1 christos * binutils.texi: Mention -n and --no-strip-underscores arguments 3246 1.1 christos to c++filt. 3247 1.1 christos 3248 1.1 christos Wed Jun 15 12:10:31 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3249 1.1 christos 3250 1.1 christos * nm.c (long_options): Add --no-demangle to turn off --demangle, 3251 1.1 christos and --no-cplus for Linux compatibility. 3252 1.1 christos (usage): Mention --no-demangle. 3253 1.1 christos * binutils.texi: Document --no-demangle. 3254 1.1 christos 3255 1.1 christos Fri Jun 10 15:41:25 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3256 1.1 christos 3257 1.1 christos * nm.c: HOST_64_BIT was renamed to BFD_HOST_64_BIT. 3258 1.1 christos 3259 1.1 christos * objcopy.c (copy_archive): Make the temporary directory in the 3260 1.1 christos same directory as the output BFD, since we may not have write 3261 1.1 christos permission on the current directory. Set the permissions of the 3262 1.1 christos new directory to 0700, not 0777. 3263 1.1 christos 3264 1.1 christos Mon Jun 6 21:36:43 1994 D. V. Henkel-Wallace (gumby (a] cygnus.com) 3265 1.1 christos 3266 1.1 christos * configure.in: if this is an rs6000 (and we're not building for 3267 1.1 christos any other bfd targets) then build only nm (collect needs it on 3268 1.1 christos rs6000-lynx). 3269 1.1 christos 3270 1.1 christos * Makefile.in: define TOOL_PROGS which the list of programes to 3271 1.1 christos install in $tooldir -- replaces a hard-coded list. 3272 1.1 christos 3273 1.1 christos Fri Jun 3 10:59:18 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3274 1.1 christos 3275 1.1 christos * objdump.c (display_target_list): Remove unused local ok. 3276 1.1 christos 3277 1.1 christos Thu May 26 18:05:52 1994 Ken Raeburn (raeburn (a] cujo.cygnus.com) 3278 1.1 christos 3279 1.1 christos * config/mh-alphaosf (CFLAGS): Don't specify both -g and -O; 3280 1.1 christos they're not compatible under native cc. Use -O1 instead. 3281 1.1 christos 3282 1.1 christos * Makefile.in (VERSION): Updated to cygnus-2.4.1. 3283 1.1 christos 3284 1.1 christos Changes from binutils-2.4 net release: 3285 1.1 christos 3286 1.1 christos * Makefile.in (MANPAGES): Use $(DEMANGLER_PROG). 3287 1.1 christos ($(DEMANGLER_PROG).1): Build from cxxfilt.man, using sed. 3288 1.1 christos * cxxfilt.man: Renamed from c++filt.1, replaced "c++filt" with 3289 1.1 christos magic token to be replaced by sed. 3290 1.1 christos 3291 1.1 christos Wed May 11 22:32:00 1994 DJ Delorie (dj (a] ctron.com) 3292 1.1 christos 3293 1.1 christos * configure.bat: update for latest makefile.in 3294 1.1 christos 3295 1.1 christos Fri May 13 23:25:13 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3296 1.1 christos 3297 1.1 christos * bucomm.c: Check ANSI_PROTOTYPES rather than __STDC__. 3298 1.1 christos 3299 1.1 christos Tue May 10 18:22:06 1994 Jason Molenda (crash (a] sendai.cygnus.com) 3300 1.1 christos 3301 1.1 christos * objcopy.c (copy_section): Set section size correctly if using 3302 1.1 christos interleave. 3303 1.1 christos 3304 1.1 christos Sat May 7 16:49:36 1994 Steve Chamberlain (sac (a] cygnus.com) 3305 1.1 christos 3306 1.1 christos * Makefile.in: Add rule for sysinfo.h 3307 1.1 christos 3308 1.1 christos Fri May 6 12:18:33 1994 Steve Chamberlain (sac (a] cygnus.com) 3309 1.1 christos 3310 1.1 christos * Makefile.in (SRCONV_PROG): Define. 3311 1.1 christos (PROGS): Use $(SRCONV_PROG) too. 3312 1.1 christos 3313 1.1 christos Thu May 5 19:41:43 1994 Ken Raeburn (raeburn (a] cujo.cygnus.com) 3314 1.1 christos 3315 1.1 christos * Makefile.in (DISTSTUFF): Add sysinfo.c, syslex.c, in case 3316 1.1 christos someone configures with `targets=all'. 3317 1.1 christos (distclean): Remove y.*. 3318 1.1 christos (syslex.o): Depend on sysinfo.h. 3319 1.1 christos (sysinfo.c): Rename y.tab.h to sysinfo.h. 3320 1.1 christos (install-info): Don't try to install into $(infodir)/$(srcdir). 3321 1.1 christos * syslex.l: Include sysinfo.h, not y.tab.h. 3322 1.1 christos 3323 1.1 christos Thu May 5 11:50:55 1994 Ken Raeburn (raeburn (a] kr-pc.cygnus.com) 3324 1.1 christos 3325 1.1 christos * syslex.l (yywrap): Define as function if not defined as a macro. 3326 1.1 christos 3327 1.1 christos * Makefile.in (objdump.o): Deleted special rule. 3328 1.1 christos * configure.in: Don't bother building ARCHDEFS variable for 3329 1.1 christos Makefile. 3330 1.1 christos * objdump.c (ARCH_*): Deleted handling. 3331 1.1 christos (disassemble_data): Call `disassembler' from opcodes library. 3332 1.1 christos 3333 1.1 christos Thu May 5 13:28:42 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3334 1.1 christos 3335 1.1 christos * Makefile.in (install): Correct handling of $(tooldir) and 3336 1.1 christos $(bindir) being on different devices. 3337 1.1 christos 3338 1.1 christos Fri Apr 29 09:50:38 1994 Steve Chamberlain (sac (a] cygnus.com) 3339 1.1 christos 3340 1.1 christos * sysdump.c (h8300, sh): Add declarations. 3341 1.1 christos 3342 1.1 christos Wed Apr 27 11:25:18 1994 Steve Chamberlain (sac (a] cygnus.com) 3343 1.1 christos 3344 1.1 christos * Makefile.in (syslex, sysinfo): Use CC_FOR_BUILD. 3345 1.1 christos * coffdump.c, coffgrok.c, coffgrok.h, srconv.c, sysdump.c, 3346 1.1 christos sysroff.info: Major changes. 3347 1.1 christos 3348 1.1 christos Tue Apr 26 18:18:24 1994 Stan Shebs (shebs (a] andros.cygnus.com) 3349 1.1 christos 3350 1.1 christos * objdump.c (print_section_stabs): Indicate the stab header symbol 3351 1.1 christos more clearly, print numbers of unrecognized stab n_type values. 3352 1.1 christos 3353 1.1 christos Tue Apr 26 16:22:55 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3354 1.1 christos 3355 1.1 christos * nlmconv.c (copy_sections): Copy arelent pointers, not arelents. 3356 1.1 christos 3357 1.1 christos Mon Apr 25 16:14:32 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3358 1.1 christos 3359 1.1 christos * Makefile.in (distclean): Remove $(PROGS) and underscore.c. 3360 1.1 christos 3361 1.1 christos Fri Apr 22 11:14:19 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3362 1.1 christos 3363 1.1 christos * nlmconv.c (setup_sections): Remove special handling of .reginfo 3364 1.1 christos section. 3365 1.1 christos (copy_sections): Likewise. 3366 1.1 christos (alpha_mangle_relocs): Use bfd_ecoff_get_gp_value rather than the 3367 1.1 christos special ECOFF .reginfo section. 3368 1.1 christos 3369 1.1 christos * objcopy.c (copy_object): Call bfd_copy_private_bfd_data after 3370 1.1 christos copying everything else, to let it fiddle with the file in its 3371 1.1 christos final state. 3372 1.1 christos 3373 1.1 christos * objdump.c: Include libiberty.h. 3374 1.1 christos (display_target_list): If a format fails, just go on to the next 3375 1.1 christos one. Check return value of bfd_set_format. 3376 1.1 christos (display_info_table): Likewise. Don't increment loop variable in 3377 1.1 christos for loop test, since that skips the first element. 3378 1.1 christos (display_target_tables): Rewrite loop for clarity. Ensure that it 3379 1.1 christos always prints at least one element. 3380 1.1 christos 3381 1.1 christos * nlmconv.c (main): Use CyGnUsEx rather than CyGnUsSeCs for 3382 1.1 christos sections header. Rename from cygnus_sections to cygnus_ext. 3383 1.1 christos 3384 1.1 christos Thu Apr 21 12:12:26 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3385 1.1 christos 3386 1.1 christos * objdump.c (_DUMMY_NAME_): Don't define. 3387 1.1 christos (display_target_list): Use tmpnam to get a file name rather than 3388 1.1 christos using _DUMMY_NAME_. Unlink it when done. 3389 1.1 christos (display_info_table): Likewise. 3390 1.1 christos 3391 1.1 christos * nlmconv.c (secsec): New static variable. 3392 1.1 christos (main): Create .nlmsections section in output BFD. Store 3393 1.1 christos information about it in sections header. 3394 1.1 christos (setup_sections): Allocate space in sections header. 3395 1.1 christos (copy_sections): Copy zero sized sections. Put information about 3396 1.1 christos each section in the sections header. 3397 1.1 christos 3398 1.1 christos Wed Apr 20 14:34:51 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3399 1.1 christos 3400 1.1 christos * nlmconv.c (powerpc_build_stubs): Take new outbfd argument. 3401 1.1 christos Change caller. Create custom header for new PowerPC NetWare 3402 1.1 christos format. 3403 1.1 christos 3404 1.1 christos * Makefile.in (nlmheader.o, nlmconv.o): Update dependencies. 3405 1.1 christos * nlmconv.c: Include bfd.h and libiberty.h with "", not <>. 3406 1.1 christos * nlmheader.y: Include bfd.h with "", not <>. 3407 1.1 christos 3408 1.1 christos Wed Apr 13 10:52:50 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3409 1.1 christos 3410 1.1 christos * objdump.c: Do an ifdef on __GO32__, not unix. 3411 1.1 christos 3412 1.1 christos Wed Apr 6 21:54:49 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3413 1.1 christos 3414 1.1 christos Added -D (--dynamic) option to nm and -T (--dynamic-syms) and -R 3415 1.1 christos (--dynamic-reloc) arguments to objdump. 3416 1.1 christos * nm.c (dynamic): New static variable. 3417 1.1 christos (long_options): Added "dynamic". 3418 1.1 christos (usage): Mention -D and --dynamic. 3419 1.1 christos (main): Add D to getopt string. Handle -D by setting dynamic. 3420 1.1 christos (display_rel_file): If dynamic is non-zero, read dynamic symbols 3421 1.1 christos rather than normal symbols. 3422 1.1 christos * nm.1: Updated for -D (--dynamic) option. 3423 1.1 christos * objdump.c (dump_dynamic_symtab): New global variable. 3424 1.1 christos (dump_dynamic_reloc_info): New global variable. 3425 1.1 christos (dynsyms, dynsymcount): New global variables. 3426 1.1 christos (usage): Mention -R, -T, --dynamic-syms and --dynamic-reloc. 3427 1.1 christos (long_options): Added "dynamic-reloc" and "dynamic-syms". 3428 1.1 christos (slurp_symtab): If no symbols, return rather than exit. 3429 1.1 christos (slurp_dynamic_symtab): New function. 3430 1.1 christos (display_bfd): Handle dump_dynamic_symtab and 3431 1.1 christos dump_dynamic_reloc_info. 3432 1.1 christos (dump_symbols): Take new dynamic argument, indicating whether to 3433 1.1 christos display dynamic symbols. 3434 1.1 christos (dump_relocs): Move most printing into dump_reloc_set. 3435 1.1 christos (dump_dynamic_relocs): New function. 3436 1.1 christos (dump_reloc_set): New function, extracted from dump_relocs. 3437 1.1 christos (main): Add R and T to getopt string. Handle -T by setting 3438 1.1 christos dump_dynamic_symtab and -R by setting dump_dynamic_reloc_info. 3439 1.1 christos * objdump.1: Updated for -R (--dynamic-reloc) and -T 3440 1.1 christos (--dynamic-syms) options. 3441 1.1 christos * binutils.texi: Updated for new nm and objdump options. 3442 1.1 christos 3443 1.1 christos Wed Mar 30 15:52:40 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3444 1.1 christos 3445 1.1 christos Update for recent BFD changes to symbol and reloc reading. Rename 3446 1.1 christos all uses of get_symtab_upper_bound to bfd_get_symtab_upper_bound. 3447 1.1 christos Also: 3448 1.1 christos * coffgrok.c (symcount): Change to long. 3449 1.1 christos (do_sections_p1): Check for error return from 3450 1.1 christos bfd_get_reloc_upper_bound. Change relcount to long, and check for 3451 1.1 christos error from bfd_canonicalize_reloc. 3452 1.1 christos (coff_grok): Change storage to long. Check for error from 3453 1.1 christos bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. 3454 1.1 christos * nlmconv.c (main): Change symcount, newsymalloc, newsymcount, and 3455 1.1 christos i to long. Check for error from bfd_get_symtab_upper_bound and 3456 1.1 christos bfd_canonicalize_symtab. 3457 1.1 christos (copy_sections): Change reloc_size and reloc_count to long. Check 3458 1.1 christos for error from bfd_get_reloc_upper_bound and 3459 1.1 christos bfd_canonicalize_reloc. 3460 1.1 christos (mangle_relocs, i386_mangle_relocs, alpha_mangle_relocs): Change 3461 1.1 christos reloc_count_ptr argument to long *. Make corresponding changes to 3462 1.1 christos variables loaded from *reloc_count_ptr. 3463 1.1 christos * nm.c (display_rel_file): Change storage and symcount to long. 3464 1.1 christos Check for errors from bfd_get_symtab_upper_bound and 3465 1.1 christos bfd_canonicalize_symtab. 3466 1.1 christos * objcopy.c (filter_symbols): Change symcount, src_count and 3467 1.1 christos dst_count to long. 3468 1.1 christos (copy_object): Change symcount to long. Pass another argument to 3469 1.1 christos fprintf. Check for errors from bfd_get_symtab_upper_bound and 3470 1.1 christos bfd_canonicalize_symtab. 3471 1.1 christos (copy_section): Change relcount to long. Check for errors from 3472 1.1 christos bfd_get_reloc_upper_bound and bfd_canonicalize_reloc. 3473 1.1 christos (mark_symbols_used_in_relocations): Change relcount and i to long. 3474 1.1 christos Check for errors form bfd_get_reloc_upper_bound and 3475 1.1 christos bfd_canonicalize_reloc. 3476 1.1 christos * objdump.c (storage): Remove global variable. 3477 1.1 christos (symcount): Changed to long. 3478 1.1 christos (slurp_symtab): New local variable storage. Check for errors from 3479 1.1 christos bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. 3480 1.1 christos (remove_useless_symbols): Change return value and count to long. 3481 1.1 christos (objdump_print_address): Change min, max, thisplace and i to long. 3482 1.1 christos (disassemble_data): Change i to long. 3483 1.1 christos (dump_symbols): Change count to long. 3484 1.1 christos (dump_relocs): Change relcount to long. Check for errors from 3485 1.1 christos bfd_ret_reloc_upper_bound and bfd_canonicalize_reloc. 3486 1.1 christos (display_info_table): Add casts when passing LONGEST_ARCH for 3487 1.1 christos printf %* argument. 3488 1.1 christos 3489 1.1 christos Tue Mar 29 14:59:04 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3490 1.1 christos 3491 1.1 christos * nm.c (display_archive): Close each archive element after it has 3492 1.1 christos been displayed. 3493 1.1 christos * objdump.c (display_file): Likewise. 3494 1.1 christos 3495 1.1 christos Mon Mar 28 13:04:08 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3496 1.1 christos 3497 1.1 christos * configure.in: Change error message to refer to bfd/config.bfd 3498 1.1 christos rather than bfd/configure.in. 3499 1.1 christos 3500 1.1 christos Sun Mar 27 16:23:39 1994 Jeffrey A. Law (law (a] snake.cs.utah.edu) 3501 1.1 christos 3502 1.1 christos * More fixes for object formats which allow multiple sections 3503 1.1 christos with the same name: 3504 1.1 christos * objcopy.c (setup_section): Make a new output section even if 3505 1.1 christos one already exists with the given name. 3506 1.1 christos (copy_section): Use isection->output_section rather than trying 3507 1.1 christos to look the output section up by its (possibly non-unique) name. 3508 1.1 christos 3509 1.1 christos * Makefile.in (install-info): Look for binutils.info in the 3510 1.1 christos current directory, then in $(srcdir). Don't use $<. 3511 1.1 christos 3512 1.1 christos Mon Mar 21 12:55:45 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3513 1.1 christos 3514 1.1 christos * objdump.c (objdump_print_address): Make static. Declare with 3515 1.1 christos prototype. Change vardiff from int to bfd_signed_vma. Correct 3516 1.1 christos binary search termination condition. When looking for same 3517 1.1 christos section symbol in relocatable file, handle final symbol correctly. 3518 1.1 christos 3519 1.1 christos Sun Mar 20 11:26:36 1994 Jeffrey A. Law (law (a] snake.cs.utah.edu) 3520 1.1 christos 3521 1.1 christos * Makefile.in: Avoid bug in hpux sed. 3522 1.1 christos 3523 1.1 christos * objcopy.c: Changes to keep it from stripping symbols used 3524 1.1 christos in output relocations. 3525 1.1 christos (mark_symbols_used_in_relocations): New function. Mark symbols 3526 1.1 christos used in output relocations with BSF_KEEP. 3527 1.1 christos (filter_symbols): Do not strip symbols marked with BSF_KEEP. 3528 1.1 christos (copy_object): Reorder actions. First setup sections, then 3529 1.1 christos build the output symbol table, then copy the section contents. 3530 1.1 christos 3531 1.1 christos Fri Mar 18 10:53:55 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3532 1.1 christos 3533 1.1 christos * ar.c (write_archive): Allocate space for the null byte. From 3534 1.1 christos Robert Lipe <robertl (a] arnet.com>. 3535 1.1 christos 3536 1.1 christos Thu Mar 17 16:20:28 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3537 1.1 christos 3538 1.1 christos * Makefile.in: Built nm.new and strip.new to avoid problems with 3539 1.1 christos collect when . is in PATH. 3540 1.1 christos (STRIP_PROG): Change from strip to strip.new. 3541 1.1 christos (NM_PROG): Change from nm to nm.new. 3542 1.1 christos (install): Remove the .new when installing. 3543 1.1 christos 3544 1.1 christos Wed Mar 16 16:27:05 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3545 1.1 christos 3546 1.1 christos * nlmconv.c (powerpc_build_stubs): Set BSF_DYNAMIC flag for each 3547 1.1 christos symbol for which we build a stub. 3548 1.1 christos (powerpc_mangle_relocs): Only reset TOC pointer for a call to a 3549 1.1 christos symbol with BSF_DYNAMIC flag set. 3550 1.1 christos 3551 1.1 christos Tue Mar 15 23:04:13 1994 Jeffrey A. Law (law (a] snake.cs.utah.edu) 3552 1.1 christos 3553 1.1 christos * objcopy.c (filter_symbols): Use bfd_is_local_label to determine 3554 1.1 christos if a symbol represents a compiler-generated local label. 3555 1.1 christos (copy_object): Give the BFD backends a chance to copy any private 3556 1.1 christos bfd data from the input BFD to the output BFD. 3557 1.1 christos (setup_section): Give the BFD backends a chance to copy any private 3558 1.1 christos section data from the input section to the output section. 3559 1.1 christos 3560 1.1 christos Mon Mar 14 11:15:58 1994 Jeffrey A. Law (law (a] snake.cs.utah.edu) 3561 1.1 christos 3562 1.1 christos * objcopy.c (mangle_section): Delete unused function. 3563 1.1 christos (setup_section): Set osection here instead of calling 3564 1.1 christos mangle section to do it. 3565 1.1 christos 3566 1.1 christos Mon Mar 14 12:11:01 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3567 1.1 christos 3568 1.1 christos * ar.c (write_archive): Close inarch before unlinking it. 3569 1.1 christos 3570 1.1 christos Fri Mar 11 22:20:48 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3571 1.1 christos 3572 1.1 christos * nlmconv.c (main): For PowerPC, call powerpc_build_stubs and 3573 1.1 christos powerpc_resolve_stubs. Use __GOT0, not __toc_start. Handle it if 3574 1.1 christos the start and end symbols are not in the text section. 3575 1.1 christos (struct powerpc_stub): New struct definition. 3576 1.1 christos (powerpc_stubs, powerpc_stub_insns): New static variables. 3577 1.1 christos (powerpc_initial_got_size): New static variable. 3578 1.1 christos (powerpc_build_stubs): New function. 3579 1.1 christos (powerpc_resolve_stubs): New function. 3580 1.1 christos (powerpc_mangle_relocs): Clear extraneous data in .got section. 3581 1.1 christos Rearrange reloc handling to handle ELF relocs that are not 3582 1.1 christos partial_inplace. Resolve PC relative relocs. 3583 1.1 christos 3584 1.1 christos Wed Mar 9 13:48:11 1994 Steve Chamberlain (sac (a] jonny.cygnus.com) 3585 1.1 christos 3586 1.1 christos * ar.c (move_members): Fix it so that the abi positional modifiers 3587 1.1 christos don't delete all archive members following the insert point. 3588 1.1 christos 3589 1.1 christos Tue Mar 8 13:14:43 1994 Steve Chamberlain (sac (a] jonny.cygnus.com) 3590 1.1 christos 3591 1.1 christos * coffgrok.[ch]: New files, understand coff objects. 3592 1.1 christos * coffdump.c: Uses coffgrok to dump out the debug info of a coff 3593 1.1 christos file. 3594 1.1 christos * sysroff.info: Description of a SYSROFF object file. 3595 1.1 christos * sysinfo.y, syslex.l: Parse info file, generate a reader, writer, 3596 1.1 christos header files and a printer. 3597 1.1 christos * srconv.c: Uses coffgrok.c and sysroff.info to convert a coff 3598 1.1 christos file to a SYSROFF file. 3599 1.1 christos 3600 1.1 christos Sat Feb 26 13:35:26 1994 Stan Shebs (shebs (a] andros.cygnus.com) 3601 1.1 christos 3602 1.1 christos * ar.c (do_quick_append): Pad with a genuine character 10, 3603 1.1 christos rather than whatever '\n' might happen to be. 3604 1.1 christos 3605 1.1 christos Tue Feb 22 18:25:52 1994 Ian Lance Taylor (ian (a] cygnus.com) 3606 1.1 christos 3607 1.1 christos * nlmconv.c (main): Ignore debugging symbols when looking for 3608 1.1 christos special symbols by name. 3609 1.1 christos 3610 1.1 christos Sun Feb 20 18:47:42 1994 Ian Lance Taylor (ian (a] lisa.cygnus.com) 3611 1.1 christos 3612 1.1 christos * nlmconv.c: Include libiberty.h. 3613 1.1 christos 3614 1.1 christos Support for PowerPC NetWare. 3615 1.1 christos * nlmconv.c (main): For PowerPC NetWare, automatically define the 3616 1.1 christos special symbols __toc_start. 3617 1.1 christos (select_output_format): Handle bfd_arch_powerpc. 3618 1.1 christos (mangle_relocs): Likewise. 3619 1.1 christos (powerpc_mangle_relocs): New function. 3620 1.1 christos 3621 1.1 christos Thu Feb 17 09:28:23 1994 David J. Mackenzie (djm (a] thepub.cygnus.com) 3622 1.1 christos 3623 1.1 christos * ar.c, bucomm.c, nlmconv.c, nm.c, objcopy.c, objdump.c, 3624 1.1 christos size.c: Use bfd_get_error and bfd_set_error and new error names. 3625 1.1 christos 3626 1.1 christos Fri Feb 11 15:54:51 1994 David J. Mackenzie (djm (a] thepub.cygnus.com) 3627 1.1 christos 3628 1.1 christos * objcopy.c (strip_main, copy_main): Add missing 'break' in switch. 3629 1.1 christos 3630 1.1 christos Mon Feb 7 19:45:52 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3631 1.1 christos 3632 1.1 christos * objdump.c (disassemble_data): Handle bfd_arch_powerpc. 3633 1.1 christos 3634 1.1 christos Sun Feb 6 22:08:20 1994 David J. Mackenzie (djm (a] thepub.cygnus.com) 3635 1.1 christos 3636 1.1 christos * strings.c objdump.c nlmconv.c objcopy.c nm.c ar.c size.c (main): 3637 1.1 christos Call xmalloc_set_program_name. 3638 1.1 christos 3639 1.1 christos Fri Feb 4 10:46:01 1994 David J. Mackenzie (djm (a] thepub.cygnus.com) 3640 1.1 christos 3641 1.1 christos * objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we 3642 1.1 christos can do arithmetic on it. 3643 1.1 christos 3644 1.1 christos Thu Feb 3 14:06:41 1994 David J. Mackenzie (djm (a] thepub.cygnus.com) 3645 1.1 christos 3646 1.1 christos * objdump.c (dump_section_stabs, read_section_stabs, 3647 1.1 christos print_section_stabs): Functions broken out of dump_stabs_1. 3648 1.1 christos Free the stabs and strings when done with them. 3649 1.1 christos 3650 1.1 christos Wed Feb 2 13:42:23 1994 David J. Mackenzie (djm (a] thepub.cygnus.com) 3651 1.1 christos 3652 1.1 christos * nlmconv.c (main): Use bfd_get_flavour instead of struct member. 3653 1.1 christos * ar.c (print_contents, extract_file), size.c 3654 1.1 christos (print_berkeley_format, print_sysv_format): Use bfd_get_filename and 3655 1.1 christos bfd_my_archive instead of dereferencing the structs directly. 3656 1.1 christos 3657 1.1 christos * ar.c: Use bfd_fatal and bfd_nonfatal instead of bfd_perror and exit. 3658 1.1 christos Indent. Remove DEFUNs. 3659 1.1 christos 3660 1.1 christos * nlmconv.c (main), objcopy.c (copy_file): Print matching formats 3661 1.1 christos if ambiguous match. 3662 1.1 christos * nm.c (display_file, display_archive), size.c (display_bfd): 3663 1.1 christos Eliminate gotos. 3664 1.1 christos Print matching formats if there is an ambiguous match. Use 3665 1.1 christos bfd_nonfatal instead of hardcoded error message if nothing matches. 3666 1.1 christos 3667 1.1 christos * arsup.c, ar.c, objdump.c: Use bfd_get_filename instead of 3668 1.1 christos abfd->filename. 3669 1.1 christos 3670 1.1 christos * nm.c (display_archive): New function, from code in display_file. 3671 1.1 christos (display_rel_file): Renamed from do_one_rel_file. 3672 1.1 christos 3673 1.1 christos * size.c: Indent. 3674 1.1 christos (display_archive): New function from code in display_file. 3675 1.1 christos (display_file): Check bfd_close error return. 3676 1.1 christos 3677 1.1 christos * strings.c (strings_object_file): Check bfd_check_format 3678 1.1 christos error return. 3679 1.1 christos 3680 1.1 christos * strings.c, objdump.c, size.c: Use bfd_nonfatal instead of bfd_perror. 3681 1.1 christos 3682 1.1 christos * bucomm.c: Delete references to exit_handler. It wasn't set 3683 1.1 christos anywhere, and now that we're using the libiberty xmalloc, it 3684 1.1 christos wouldn't always get called before exiting. 3685 1.1 christos (list_matching_formats): Function moved from objdump.c. 3686 1.1 christos * bucomm.h: Declare it. 3687 1.1 christos 3688 1.1 christos * objdump.c (disassemble_data): Move some variable decls closer to 3689 1.1 christos their use. Add some comments. Replace a nested block with a 3690 1.1 christos return. 3691 1.1 christos 3692 1.1 christos Mon Jan 31 18:50:41 1994 Stan Shebs (shebs (a] andros.cygnus.com) 3693 1.1 christos 3694 1.1 christos * objdump.c (display_target_list, display_info_table): Check that 3695 1.1 christos the bfd of the dummy output file is not null. 3696 1.1 christos 3697 1.1 christos Wed Jan 26 13:13:18 1994 David J. Mackenzie (djm (a] thepub.cygnus.com) 3698 1.1 christos 3699 1.1 christos * objcopy.c (filter_bytes): New function. 3700 1.1 christos (copy_section): Call it. 3701 1.1 christos (copy_options, copy_usage, copy_main): Add --byte option to 3702 1.1 christos activate it. Appropriate the -b option (which was an undocumented 3703 1.1 christos synonym for -F) for it, also. Add --interleave, -i option for 3704 1.1 christos additional control. 3705 1.1 christos (setup_section, copy_section, mangle_section): Renamed with no `s' 3706 1.1 christos on the end. 3707 1.1 christos * objcopy.1, binutils.texi: Document the new options. 3708 1.1 christos 3709 1.1 christos * objdump.c (display_target_tables, display_target_list): 3710 1.1 christos New functions broken out of display_info. 3711 1.1 christos Eliminate some magic constants. Use more meaningful variable names. 3712 1.1 christos (dump_bfd_header): New function broken out of display_bfd. 3713 1.1 christos (dump_section_header): New function broken out of dump_headers. 3714 1.1 christos (remove_useless_symbols): Don't shadow global variable name with 3715 1.1 christos parameter. 3716 1.1 christos (objdump_print_address): Fix backward test. 3717 1.1 christos 3718 1.1 christos Tue Jan 25 19:40:54 1994 Stan Shebs (shebs (a] andros.cygnus.com) 3719 1.1 christos 3720 1.1 christos * bucomm.c (print_arelt_descr): Change decl of `when' to time_t. 3721 1.1 christos * objdump.h: Removed. 3722 1.1 christos 3723 1.1 christos Mon Jan 24 13:29:02 1994 David J. Mackenzie (djm (a] thepub.cygnus.com) 3724 1.1 christos 3725 1.1 christos * objdump.c (display_file): Remove call to list_matching_formats. 3726 1.1 christos It would never be called. 3727 1.1 christos (list_matching_formats): Take an arg giving the list of matching 3728 1.1 christos formats. 3729 1.1 christos (display_bfd): Pass the arg, and get it filled in by calling 3730 1.1 christos bfd_check_format_matches instead of bfd_check_format. 3731 1.1 christos (display_info, display_info_table): target_vector was renamed to 3732 1.1 christos bfd_target_vector. 3733 1.1 christos 3734 1.1 christos * binutils.texi (objdump): Note some limitations of -h section 3735 1.1 christos address printing. 3736 1.1 christos 3737 1.1 christos Sat Jan 22 16:20:46 1994 Stan Shebs (shebs (a] andros.cygnus.com) 3738 1.1 christos 3739 1.1 christos * Makefile.in (MALLOC): Set to emptiness by default. 3740 1.1 christos (ALL_CFLAGS): Add and use. 3741 1.1 christos (arparse.h): Make it depend on arparse.y. 3742 1.1 christos * ar.c (libbfd.h): Don't require to be in ../bfd. 3743 1.1 christos * objdump.c (comp): Rename to compare_symbols. 3744 1.1 christos 3745 1.1 christos Fri Jan 21 20:22:30 1994 David J. Mackenzie (djm (a] thepub.cygnus.com) 3746 1.1 christos 3747 1.1 christos * objdump.c (list_matching_formats): If the file format is ambiguous, 3748 1.1 christos print the matching names so the user can choose one. 3749 1.1 christos (display_bfd): Call it. 3750 1.1 christos (display_file): Call it. 3751 1.1 christos 3752 1.1 christos Fri Jan 21 19:17:25 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3753 1.1 christos 3754 1.1 christos * objdump.c (disassemble_data): Support bfd_arch_rs6000. 3755 1.1 christos 3756 1.1 christos Mon Jan 17 13:57:25 1994 Stan Shebs (shebs (a] andros.cygnus.com) 3757 1.1 christos 3758 1.1 christos * objdump.c (stab_name): Allocate dynamically. 3759 1.1 christos (stab_print): Use pointers to strings instead of char arrays. 3760 1.1 christos (dump_stabs): Change alloc and init of arrays appropriately. 3761 1.1 christos (dump_stabs_1): Always decide whether to print stab_name or 3762 1.1 christos the stab's type number, if unnamed. 3763 1.1 christos 3764 1.1 christos Fri Jan 14 14:42:48 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3765 1.1 christos 3766 1.1 christos * objcopy.c (strip_main, copy_main): Don't clobber the input file 3767 1.1 christos if copy_file fails. 3768 1.1 christos 3769 1.1 christos * nlmconv.c (main): Warn about an attempt to use a shared library 3770 1.1 christos with uninitialized data. 3771 1.1 christos 3772 1.1 christos * nlmconv.c (setup_sections): Make sure that we align the 3773 1.1 christos output_offset of each input section appropriately. 3774 1.1 christos 3775 1.1 christos Thu Jan 13 17:32:44 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3776 1.1 christos 3777 1.1 christos * objdump.c (dump_relocs): Don't crash if section name is NULL. 3778 1.1 christos 3779 1.1 christos Tue Jan 11 19:46:33 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3780 1.1 christos 3781 1.1 christos * filemode.c (filemodestring): Commented out; not used. 3782 1.1 christos (mode_string): Use POSIX definitions. 3783 1.1 christos (ftypelet): Likewise. 3784 1.1 christos (rwx): Removed; no longer used. 3785 1.1 christos * bucomm.c: Include bucomm.h. 3786 1.1 christos (bfd_nonfatal, bfd_fatal): Argument is const. 3787 1.1 christos (fatal): Make __STDC__ version. 3788 1.1 christos * bucomm.h (mode_string): Declare. 3789 1.1 christos * Makefile.in (bucomm.o): Depend upon bucomm.h 3790 1.1 christos 3791 1.1 christos Sun Jan 9 12:03:20 1994 Ken Raeburn (raeburn (a] rtl.cygnus.com) 3792 1.1 christos 3793 1.1 christos * bucomm.c (xmalloc, xrealloc): Deleted. 3794 1.1 christos * bucomm.h (xmalloc, xrealloc): Fix prototypes, to correspond to 3795 1.1 christos libiberty version of functions. 3796 1.1 christos 3797 1.1 christos Thu Jan 6 06:18:15 1994 David J. Mackenzie (djm (a] thepub.cygnus.com) 3798 1.1 christos 3799 1.1 christos * binutils.texi: Add a chapter summarizing the ways to select 3800 1.1 christos aspects of the target for each program. 3801 1.1 christos 3802 1.1 christos * objdump.c (long_options, usage): Add long equivalents for all 3803 1.1 christos remaining short options that lacked them. 3804 1.1 christos * binutils.texi objdump.1: Document them. 3805 1.1 christos 3806 1.1 christos * size.c (usage): Tweak usage message. 3807 1.1 christos * size.1: Add missing `=' in examples. 3808 1.1 christos 3809 1.1 christos * binutils.texi strip.1 objcopy.1 nlmconv.1 objcopy.c nlmconv.c: 3810 1.1 christos Use "--target=bfdname" as the option to select the BFD target, 3811 1.1 christos like nm and size already do. 3812 1.1 christos Reserve "--format=format" for textual output selection options, but 3813 1.1 christos for now keep old option names as obsolete for backward compatibility. 3814 1.1 christos 3815 1.1 christos * strings.c (main, strings_object_file, usage): Add --target option. 3816 1.1 christos * binutils.texi strings.1: Document it. 3817 1.1 christos 3818 1.1 christos Sat Jan 1 13:58:24 1994 David J. Mackenzie (djm (a] thepub.cygnus.com) 3819 1.1 christos 3820 1.1 christos * ar.c (main): Add \n in error message. 3821 1.1 christos 3822 1.1 christos Thu Dec 23 12:23:11 1993 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3823 1.1 christos 3824 1.1 christos gcc -Wall lint: 3825 1.1 christos * ar.c (main): Put parens around assignment used as truth value. 3826 1.1 christos * objcopy.c (strip_main): Remove unused variables. Return 0. 3827 1.1 christos (copy_main): Remove unused variables. Return 0. 3828 1.1 christos * objdump.c (display_bfd): Declare return value as void. 3829 1.1 christos (stab_print): Use "" instead of 0 to initialize array. 3830 1.1 christos (dump_stabs_1): Print vma using printf_vma. 3831 1.1 christos (display_info): Put parens around assignment used as truth value. 3832 1.1 christos * strings.c (print_strings): Cast printf arguments. 3833 1.1 christos 3834 1.1 christos * objcopy.c (copy_main): Use copy_options, not strip_options. 3835 1.1 christos 3836 1.1 christos * nlmheader.y (command): Warn about illegal date values. 3837 1.1 christos 3838 1.1 christos Wed Dec 15 11:18:03 1993 David J. MacKenzie (djm (a] frosty.eng.umd.edu) 3839 1.1 christos 3840 1.1 christos * bucomm.c bucomm.h: Run through indent. De-ansidecl-ify. 3841 1.1 christos (bfd_nonfatal): New function. 3842 1.1 christos (bfd_fatal): Call it. 3843 1.1 christos 3844 1.1 christos * objcopy.c (smart_rename): Do a copy if the dest file has 3845 1.1 christos multiple hard links. Remove source file on successful copy. 3846 1.1 christos Try to preserve mode and owner on successful rename. 3847 1.1 christos 3848 1.1 christos * objcopy.c: Run through indent. Clean up a bit. 3849 1.1 christos Make global variables static. 3850 1.1 christos Make {input,output}_{target,filename}, show_version local 3851 1.1 christos to various functions. 3852 1.1 christos New global variable `status' for exit status. 3853 1.1 christos (strip_main, copy_main): New functions with code from main. 3854 1.1 christos (nonfatal): New macro. Use it globally instead of bfd_perror and 3855 1.1 christos bfd_fatal. 3856 1.1 christos 3857 1.1 christos (copy_object): Call mangle_sections with bfd_map_over_sections. 3858 1.1 christos (mangle_sections): Adjust for new calling convention. 3859 1.1 christos 3860 1.1 christos Fri Dec 10 11:28:11 1993 Ian Lance Taylor (ian (a] deneb.cygnus.com) 3861 1.1 christos 3862 1.1 christos * nlmheader.y (command): Accept MAP and FULLMAP without arguments. 3863 1.1 christos * nlmconv.c (main): Change error message for MAP and FULLMAP. 3864 1.1 christos 3865 1.1 christos Thu Dec 9 17:47:19 1993 Ian Lance Taylor (ian (a] deneb.cygnus.com) 3866 1.1 christos 3867 1.1 christos * nlmconv.c (main): Warn about imported symbols that are not in 3868 1.1 christos the IMPORT list even if the IMPORT keyword is not used. 3869 1.1 christos 3870 1.1 christos * nlmconv.c (debug, unlink_on_exit): New static variables. 3871 1.1 christos (long_options): Add "debug" and "linker". 3872 1.1 christos (main): Handle -d and -l arguments. Make command line input and 3873 1.1 christos output files optional. Parse the command file before opening the 3874 1.1 christos BFD's, which requires storing more information in local variables. 3875 1.1 christos If INPUT names multiple files, link them together. Use OUTPUT for 3876 1.1 christos the output file name if not named on command line. 3877 1.1 christos (show_usage): Changed for new options. 3878 1.1 christos (link_inputs): New function to automatically invoke linker to 3879 1.1 christos handle multiple INPUT files. 3880 1.1 christos (choose_temp_base_try, choose_temp_base, pexecute): New functions, 3881 1.1 christos mostly copied from gcc/gcc.c. 3882 1.1 christos * nlmconv.h (input_files, output_file): Declare. 3883 1.1 christos * nlmheader.y (input_files, output_file): Define. 3884 1.1 christos (command): Support INPUT with a string_list argument. Support 3885 1.1 christos OUTPUT. 3886 1.1 christos (string_list): Renamed from module_list. 3887 1.1 christos * Makefile.in (nlmconv.o): Define LD_NAME based on 3888 1.1 christos program_transform_name. 3889 1.1 christos 3890 1.1 christos Wed Dec 8 10:09:04 1993 Ian Lance Taylor (ian (a] deneb.cygnus.com) 3891 1.1 christos 3892 1.1 christos * nlmheader.y (nlmheader_identify): New function. Use it to print 3893 1.1 christos the program name just once, instead of with every error message. 3894 1.1 christos 3895 1.1 christos Mon Dec 6 16:11:32 1993 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3896 1.1 christos 3897 1.1 christos * nlmconv.c (long_options): Changed --header-info to --header-file 3898 1.1 christos to match documentation and usage message. 3899 1.1 christos 3900 1.1 christos Sun Dec 5 01:31:01 1993 Jeffrey A. Law (law (a] snake.cs.utah.edu) 3901 1.1 christos 3902 1.1 christos * objdump.c (dump_relocs): Avoid dereferencing a NULL sym_ptr_ptr 3903 1.1 christos in a relocation. 3904 1.1 christos 3905 1.1 christos Thu Dec 2 16:00:06 1993 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3906 1.1 christos 3907 1.1 christos * nlmconv.c (main): Change various types from bfd_size_type to 3908 1.1 christos size_t, since they have to be arguments to fread and fwrite. 3909 1.1 christos Change set from char * to unsigned char *. 3910 1.1 christos (select_output_format): Make mach argument unsigned. Handle 3911 1.1 christos bfd_arch_alpha. 3912 1.1 christos (setup_sections): Don't copy the .reginfo section of an ECOFF 3913 1.1 christos file. Call bfd_set_reloc to initialize the relocation fields. 3914 1.1 christos (copy_sections): Don't copy the .reginfo section of an ECOFF file. 3915 1.1 christos Combine all relocs for a section. 3916 1.1 christos (mangle_relocs): Change type of relocs to permit specific 3917 1.1 christos functions to change it. Call alpha_mangle_relocs for alpha, 3918 1.1 christos default_mangle_relocs for other architectures. 3919 1.1 christos (default_mangle_relocs): New function. Adjust the address of all 3920 1.1 christos relocs by the output_offset. 3921 1.1 christos (i386_mangle_relocs): Change type of relocs argument. Cast length 3922 1.1 christos argument to memmove to size_t. 3923 1.1 christos (alpha_mangle_relocs): New function. 3924 1.1 christos 3925 1.1 christos Wed Nov 17 17:38:58 1993 Sean Eric Fagan (sef (a] cygnus.com) 3926 1.1 christos 3927 1.1 christos * nlmconv.c (select_output_format): Use nlm32-sparc for 3928 1.1 christos bfd_arch_sparc. 3929 1.1 christos 3930 1.1 christos Wed Nov 17 14:41:35 1993 Jeffrey Osier (jeffrey (a] thepub.cygnus.com) 3931 1.1 christos 3932 1.1 christos * nlmconv.1: added man page 3933 1.1 christos * objcopy.1: fixed format errors 3934 1.1 christos 3935 1.1 christos Wed Nov 17 12:03:41 1993 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3936 1.1 christos 3937 1.1 christos * Makefile.in: Use CFLAGS as well as LDFLAGS when linking. 3938 1.1 christos 3939 1.1 christos Wed Nov 17 04:50:55 1993 David J. Mackenzie (djm (a] thepub.cygnus.com) 3940 1.1 christos 3941 1.1 christos * strings.1: Fix typo. 3942 1.1 christos 3943 1.1 christos Mon Nov 15 12:03:20 1993 Ken Raeburn (raeburn (a] rtl.cygnus.com) 3944 1.1 christos 3945 1.1 christos * Makefile.in (DISTSTUFF): Build "info". 3946 1.1 christos (VERSION): Updated to cygnus-2.3.1; 2.3 has gone out. 3947 1.1 christos 3948 1.1 christos Sun Nov 14 00:27:24 1993 Jeffrey A. Law (law (a] snake.cs.utah.edu) 3949 1.1 christos 3950 1.1 christos * objdump.c (dump_stabs): Handle stabs-in-som as implemented 3951 1.1 christos by the new BFD SOM assembler. 3952 1.1 christos 3953 1.1 christos Sat Nov 13 07:14:05 1993 David J. Mackenzie (djm (a] rtl.cygnus.com) 3954 1.1 christos 3955 1.1 christos * ar.1 c++filt.1 nm.1 objcopy.1 objdump.1 ranlib.1 size.1 3956 1.1 christos strings.1 strip.1: Replace \(em in NAME section with \- so 3957 1.1 christos makewhatis can grok it. 3958 1.1 christos 3959 1.1 christos Tue Nov 9 15:22:12 1993 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3960 1.1 christos 3961 1.1 christos * nlmconv.c (i386_mangle_relocs): Adjust reloc address by 3962 1.1 christos section output_offset. 3963 1.1 christos 3964 1.1 christos Fri Nov 5 12:11:52 1993 Jeffrey Osier (jeffrey (a] thepub.cygnus.com) 3965 1.1 christos 3966 1.1 christos * binutils.texi: added nlmconv chapter 3967 1.1 christos 3968 1.1 christos Wed Nov 3 16:10:50 1993 Jeffrey Wheat (cassidy (a] cygnus.com) 3969 1.1 christos 3970 1.1 christos * Makefile.in: Change RUNTESTFLAGS to RUNTEST_FLAGS 3971 1.1 christos 3972 1.1 christos Wed Nov 3 15:09:23 1993 Ken Raeburn (raeburn (a] rover.cygnus.com) 3973 1.1 christos 3974 1.1 christos * Makefile.in (distclean): Don't get rid of dvi or info files. 3975 1.1 christos 3976 1.1 christos Tue Nov 2 13:29:59 1993 David J. Mackenzie (djm (a] rtl.cygnus.com) 3977 1.1 christos 3978 1.1 christos * objcopy.c (S_ISLNK): Define as 0 if there's no S_IFLNK. 3979 1.1 christos 3980 1.1 christos Fri Oct 29 16:02:34 1993 David J. Mackenzie (djm (a] thepub.cygnus.com) 3981 1.1 christos 3982 1.1 christos * binutils.texi: Move objcopy docs into alphabetical order. 3983 1.1 christos 3984 1.1 christos * objdump.c: Use xmalloc instead of malloc. 3985 1.1 christos 3986 1.1 christos Fri Oct 29 11:11:14 1993 Stan Shebs (shebs (a] rtl.cygnus.com) 3987 1.1 christos 3988 1.1 christos * objdump.c (info): Rename to formats_info. 3989 1.1 christos (dump_stabs_1): Better comments and formatting. 3990 1.1 christos 3991 1.1 christos Thu Oct 28 19:43:16 1993 Stan Shebs (shebs (a] rtl.cygnus.com) 3992 1.1 christos 3993 1.1 christos * ar.c (main): Always create the archive when quick appending, 3994 1.1 christos even if no input files have been given. 3995 1.1 christos 3996 1.1 christos Wed Oct 27 12:03:06 1993 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 3997 1.1 christos 3998 1.1 christos * nlmconv.c (main): Set sharedDebugRecordOffset and 3999 1.1 christos sharedDebugRecordCount fields in extended header. 4000 1.1 christos 4001 1.1 christos * nlmconv.c (main): Force moduleName field to upper case. 4002 1.1 christos 4003 1.1 christos Mon Oct 25 16:45:42 1993 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 4004 1.1 christos 4005 1.1 christos * objcopy.c (main): Give a usage message if there are too many 4006 1.1 christos arguments. 4007 1.1 christos 4008 1.1 christos Mon Oct 25 10:37:08 1993 Ken Raeburn (raeburn (a] rover.cygnus.com) 4009 1.1 christos 4010 1.1 christos * Makefile.in (install-info): Rewrite to take advantage of VPATH, 4011 1.1 christos so FSF distributions (with info files in $(srcdir)) install 4012 1.1 christos properly. 4013 1.1 christos (DISTSTUFF): Build nlmheader.c too. 4014 1.1 christos 4015 1.1 christos Fri Oct 22 11:43:23 1993 Ken Raeburn (raeburn (a] rover.cygnus.com) 4016 1.1 christos 4017 1.1 christos * ar.c (program_name): Don't define here. 4018 1.1 christos * objdump.c: Include "bucomm.h". 4019 1.1 christos (xmalloc): Don't declare here. 4020 1.1 christos (program_name): Don't define here. 4021 1.1 christos (program_version): Fixed type in declaration. 4022 1.1 christos * size.c: Include "bucomm.h". 4023 1.1 christos (program_name): Don't declare here. 4024 1.1 christos 4025 1.1 christos Fri Oct 22 14:10:41 1993 Mark Eichin (eichin (a] cygnus.com) 4026 1.1 christos 4027 1.1 christos * objdump.c (fprintf): hide declaration in FPRINTF_ALREADY_DECLARED 4028 1.1 christos 4029 1.1 christos Fri Oct 1 12:43:00 1993 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 4030 1.1 christos 4031 1.1 christos * nlmconv.c (i386_mangle_relocs): Resolve and remove PC relative 4032 1.1 christos relocs against defined symbols in the same section. 4033 1.1 christos 4034 1.1 christos Thu Sep 30 16:46:26 1993 Roland H. Pesch (pesch (a] fowanton.cygnus.com) 4035 1.1 christos 4036 1.1 christos * Makefile.in (binutils.dvi): use TEXIDIR to find texinfo.tex 4037 1.1 christos 4038 1.1 christos Sat Sep 25 18:09:29 1993 David J. Mackenzie (djm (a] thepub.cygnus.com) 4039 1.1 christos 4040 1.1 christos * objcopy.c (simple_copy, smart_rename): New functions. 4041 1.1 christos (main): Use them. 4042 1.1 christos 4043 1.1 christos Fri Sep 24 15:38:29 1993 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 4044 1.1 christos 4045 1.1 christos * Makefile.in (clean, distclean): Recurse into testsuite. 4046 1.1 christos 4047 1.1 christos Thu Sep 23 01:05:06 1993 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 4048 1.1 christos 4049 1.1 christos * objcopy.c (setup_sections, copy_sections): If stripping, don't 4050 1.1 christos copy SEC_DEBUGGING sections. 4051 1.1 christos * objdump.c (dump_headers): Print SEC_DEBUGGING flag. 4052 1.1 christos 4053 1.1 christos * objdump.c (usage): Mention --stabs. 4054 1.1 christos 4055 1.1 christos * objcopy.c (copy_object): Copy all applicable file flags. 4056 1.1 christos (copy_file): Don't copy EXEC_P specially here. 4057 1.1 christos 4058 1.1 christos Mon Sep 20 19:28:57 1993 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 4059 1.1 christos 4060 1.1 christos * nlmconv.c (main): Adjust data section size to correspond to bss 4061 1.1 christos alignment adjustment. Clear BSF_SECTION_SYM if symbol is moved to 4062 1.1 christos a different section. Use time_t for time variable. 4063 1.1 christos (setup_sections): Only put sections with contents in output NLM. 4064 1.1 christos (i386_mangle_relocs): No symbols are common at this point. Add 4065 1.1 christos casts to avoid warnings. 4066 1.1 christos 4067 1.1 christos Fri Sep 10 11:00:40 1993 Stan Shebs (shebs (a] rtl.cygnus.com) 4068 1.1 christos 4069 1.1 christos * objdump.c: Made the --stabs option work for stabs-in-coff. 4070 1.1 christos (ELF_STAB_DISPLAY): Removed. 4071 1.1 christos (dump_elf_stabs): Renamed to dump_stabs, changed to run for 4072 1.1 christos any object file format. 4073 1.1 christos (dump_elf_stabs_1): Renamed to dump_stabs_1, added calls to 4074 1.1 christos generic BFD routines for non-ELF case, changed format of message 4075 1.1 christos for no-section-found case. 4076 1.1 christos (display_bfd): Always call dump_stabs if requested. 4077 1.1 christos (dump_data): Call bfd_section_size to get section size. 4078 1.1 christos 4079 1.1 christos Fri Sep 10 08:12:23 1993 David J. Mackenzie (djm (a] thepub.cygnus.com) 4080 1.1 christos 4081 1.1 christos * Makefile.in (install): Don't put strings in tooldir/bin. 4082 1.1 christos 4083 1.1 christos Mon Sep 6 15:39:04 1993 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 4084 1.1 christos 4085 1.1 christos * nlmconv.c (total_bss_size): Removed. 4086 1.1 christos (main): Set the bss vma to always follow the data section. Move 4087 1.1 christos symbols into new sections, and adjust values by output_offset. 4088 1.1 christos (setup_sections): Don't copy all sections, but instead point all 4089 1.1 christos text sections to .text, all data sections to .data, and all bss 4090 1.1 christos sections to .bss. 4091 1.1 christos (copy_sections): Adjust accordingly. 4092 1.1 christos 4093 1.1 christos Thu Sep 2 12:34:03 1993 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 4094 1.1 christos 4095 1.1 christos Only build nlmconv if configured for a NetWare target. 4096 1.1 christos * configure.in: If we have some *-*-netware* target, or are using 4097 1.1 christos all targets, set BUILD_NLMCONV to $(NLMCONV_PROG) in Makefile. 4098 1.1 christos * Makefile.in (PROGS): Use $(BUILD_NLMCONV) rather than 4099 1.1 christos $(NLMCONV_PROG). 4100 1.1 christos 4101 1.1 christos Tue Aug 31 14:13:35 1993 Ken Raeburn (raeburn (a] cambridge.cygnus.com) 4102 1.1 christos 4103 1.1 christos * objdump.c (ARCH_all): Define ARCH_hppa too. 4104 1.1 christos (dump_headers): Don't test for SEC_BALIGN if it's not defined by 4105 1.1 christos bfd.h. 4106 1.1 christos 4107 1.1 christos Tue Aug 31 13:29:12 1993 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 4108 1.1 christos 4109 1.1 christos * nlmconv.c (main): Force creation of .bss section. Set up the 4110 1.1 christos sections before looking at the symbols. Move all common symbols 4111 1.1 christos into .bss section. Automatically define _edata and _end. Only 4112 1.1 christos export symbols in the export list, with multiple prefixes if 4113 1.1 christos necessary. Warn if no version. Always create extended header. 4114 1.1 christos Set date automatically if not already set. 4115 1.1 christos (setup_sections): Count size of bss sections. 4116 1.1 christos (mangle_relocs, i386_mangle_relocs): Accept section argument, and 4117 1.1 christos take reloc_count as a changeable pointer; changed callers. 4118 1.1 christos (i386_mangle_relocs): Remove PC relative relocs within a section, 4119 1.1 christos as they require no adjustment. 4120 1.1 christos * nlmheader.y: Fixed memory allocation throughout: token STRING is 4121 1.1 christos now allocated on the heap, and freed if not needed. Null 4122 1.1 christos terminated copyright message. Accept version with only two 4123 1.1 christos strings. 4124 1.1 christos (symbol_list_opt): New nonterminal, either symbol_list or empty. 4125 1.1 christos (symbol_list): Use left recursion to avoid overflowing parser 4126 1.1 christos stack. 4127 1.1 christos (yylex): Rearranged beginning of line check. Accept quoted 4128 1.1 christos strings using single quotes. End generic argument at comment 4129 1.1 christos character or parentheses. 4130 1.1 christos (string_list_append): Fixed. 4131 1.1 christos (string_list_append1): New function. 4132 1.1 christos 4133 1.1 christos * bucomm.h: The first argument to xrealloc is PTR, not char *. 4134 1.1 christos * bucomm.c (xrealloc): Use PTR rather than char *. 4135 1.1 christos * Makefile.in (objdump.o): Depend upon config.status to notice 4136 1.1 christos --with-targets changes. 4137 1.1 christos (nlmconv.o): Depend upon bucomm.h. 4138 1.1 christos 4139 1.1 christos Tue Aug 17 09:46:01 1993 David J. Mackenzie (djm (a] thepub.cygnus.com) 4140 1.1 christos 4141 1.1 christos * configure.in: Don't pass cpu to config.bfd. 4142 1.1 christos 4143 1.1 christos Thu Aug 12 16:43:04 1993 David J. Mackenzie (djm (a] thepub.cygnus.com) 4144 1.1 christos 4145 1.1 christos * Makefile.in ($(NM_PROG)): Depend on demangle.o. 4146 1.1 christos (demangle.o): New target. 4147 1.1 christos (cplus-dem.o): Depend on it, to force compilation order when doing 4148 1.1 christos parallel compiles. 4149 1.1 christos 4150 1.1 christos * nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg. 4151 1.1 christos (struct output_fns print_symbol_info): Ditto. 4152 1.1 christos (long_options, usage, main): Add -C --demangle option. 4153 1.1 christos (print_symname): New function, demangling if requested. 4154 1.1 christos (print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it. 4155 1.1 christos 4156 1.1 christos Wed Aug 11 22:57:23 1993 David J. Mackenzie (djm (a] thepub.cygnus.com) 4157 1.1 christos 4158 1.1 christos * Makefile.in: Put CFLAGS last in compilation rules and omit from 4159 1.1 christos linking rules. Use ARCHDEFS to compile objdump.c. 4160 1.1 christos Update dependencies. 4161 1.1 christos * configure.in: Construct ARCHDEFS based on the BFD target makefile 4162 1.1 christos fragments. 4163 1.1 christos * objdump.c: Conditionalize calls to the print_insn_ARCH functions 4164 1.1 christos according to ARCHDEFS. 4165 1.1 christos 4166 1.1 christos Thu Aug 12 08:06:15 1993 Ian Lance Taylor (ian (a] cygnus.com) 4167 1.1 christos 4168 1.1 christos * ar.c: Removed obsolete and non-functional GNU960 code. 4169 1.1 christos 4170 1.1 christos Wed Aug 11 13:08:26 1993 Ian Lance Taylor (ian (a] cygnus.com) 4171 1.1 christos 4172 1.1 christos * size.c (berkeley_sum): New function. 4173 1.1 christos (bsssize, datasize, textsize): New global variables. 4174 1.1 christos (bss_section_name, data_section_name, text_section_name): Removed. 4175 1.1 christos (print_berkeley_format): Map berkeley_sum over all the sections, 4176 1.1 christos rather than only reporting sizes of specifically named sections. 4177 1.1 christos * Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o. 4178 1.1 christos 4179 1.1 christos Tue Aug 10 10:46:01 1993 Ian Lance Taylor (ian (a] cygnus.com) 4180 1.1 christos 4181 1.1 christos * nlmconv.c, nlmconv.h, nlmheader.y: New files for program to 4182 1.1 christos convert object files into NetWare Loadable Modules. 4183 1.1 christos * Makefile.in (NLMCONV_PROG): New macro, define to be nlmconv. 4184 1.1 christos (PROGS): Add NLMCONV_PROG. 4185 1.1 christos (nlmheader.c, nlmheader.o, nlmconv.o, $(NLMCONV_PROG)): New 4186 1.1 christos targets. 4187 1.1 christos 4188 1.1 christos Thu Aug 5 15:48:32 1993 david d `zoo' zuhn (zoo (a] rtl.cygnus.com) 4189 1.1 christos 4190 1.1 christos * Makefile.in: define MAKEOVERRIDES to an empty string 4191 1.1 christos 4192 1.1 christos Wed Aug 4 17:08:08 1993 David J. Mackenzie (djm (a] thepub.cygnus.com) 4193 1.1 christos 4194 1.1 christos * objcopy.c (copy_file): Make failures to process a file nonfatal. 4195 1.1 christos 4196 1.1 christos Mon Aug 2 11:28:23 1993 David J. Mackenzie (djm (a] thepub.cygnus.com) 4197 1.1 christos 4198 1.1 christos * nm.c: Add -B option, like --format=bsd. 4199 1.1 christos 4200 1.1 christos Tue Jul 27 16:29:54 1993 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 4201 1.1 christos 4202 1.1 christos * objcopy.c (copy_file): If the file is neither an object nor an 4203 1.1 christos archive, give an error rather than returning success. 4204 1.1 christos 4205 1.1 christos Mon Jul 19 16:13:40 1993 Ken Raeburn (raeburn (a] rtl.cygnus.com) 4206 1.1 christos 4207 1.1 christos * objdump.c (objdump_print_address): Prefer non-local symbols over 4208 1.1 christos local ones, and especially discriminate against debugging symbols. 4209 1.1 christos Also, for relocateable files, try to find a symbol in the current 4210 1.1 christos section, instead of picking one from some random section with a 4211 1.1 christos convenient value (read, section offset). 4212 1.1 christos (disassemble_data): Cast argument to malloc to size_t first. 4213 1.1 christos (dump_data): Likewise. 4214 1.1 christos (dump_relocs): If a single section name is specified, show relocs 4215 1.1 christos only for that section. Otherwise, silently omit sections without 4216 1.1 christos relocs. Format table nicely even if values are printed using 16 4217 1.1 christos digits instead of 8. 4218 1.1 christos 4219 1.1 christos Fri Jul 16 15:19:59 1993 David J. Mackenzie (djm (a] thepub.cygnus.com) 4220 1.1 christos 4221 1.1 christos * nm.c: Changes for final version of POSIX.2. 4222 1.1 christos (print_symbol_filename_{bsd,sysv,posix}): New functions. 4223 1.1 christos (formats): Add an element for a pointer to them. 4224 1.1 christos (print_symbols): Call it. 4225 1.1 christos (print_object_filename_posix, print_archive_member_posix): Produce 4226 1.1 christos output according to new POSIX.2 spec. 4227 1.1 christos 4228 1.1 christos * strings.c (print_strings): Handle STREAM being NULL. 4229 1.1 christos (strings_a_section): Pass a NULL. 4230 1.1 christos (main): Don't open /dev/null. 4231 1.1 christos 4232 1.1 christos Thu Jul 15 12:44:09 1993 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 4233 1.1 christos 4234 1.1 christos * objdump.c (disassemble_data): Handle the m88k. 4235 1.1 christos (display_bfd): Use bfd_errmsg, rather than just claiming that the 4236 1.1 christos bfd is not an object file. 4237 1.1 christos 4238 1.1 christos Mon Jul 12 17:55:34 1993 K. Richard Pixley (rich (a] cygnus.com) 4239 1.1 christos 4240 1.1 christos * Makefile.in (TAGS): make work again by naming directories 4241 1.1 christos explicitly rather than depending on undefined macros. 4242 1.1 christos (INSTALL_XFORM): correct bad install target. 4243 1.1 christos 4244 1.1 christos Fri Jul 2 16:58:34 1993 David J. Mackenzie (djm (a] thepub.cygnus.com) 4245 1.1 christos 4246 1.1 christos * strings.c: Doc fixes. 4247 1.1 christos 4248 1.1 christos Sun Jun 27 13:35:24 1993 David J. Mackenzie (djm (a] thepub.cygnus.com) 4249 1.1 christos 4250 1.1 christos * Makefile.in: Note dependencies on bucomm.h. 4251 1.1 christos (cplus-dem.o): Link c++filt with version.o. 4252 1.1 christos 4253 1.1 christos * strings.c: Include bucomm.h and add prototypes to other decls. 4254 1.1 christos Remove -h option. 4255 1.1 christos 4256 1.1 christos * bucomm.h: Declare xrealloc. 4257 1.1 christos 4258 1.1 christos * nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add 4259 1.1 christos --help option. Put "GNU" in the version message. 4260 1.1 christos (usage): Take stream and exit status as args. 4261 1.1 christos (main): Pass new args to usage. 4262 1.1 christos 4263 1.1 christos Fri Jun 25 23:12:12 1993 David J. Mackenzie (djm (a] thepub.cygnus.com) 4264 1.1 christos 4265 1.1 christos * strings.c, strings.1: New files. 4266 1.1 christos * binutils.texi: Document strings. 4267 1.1 christos * Makefile.in: Add rules for it. 4268 1.1 christos 4269 1.1 christos Fri Jun 25 20:44:43 1993 Ken Raeburn (raeburn (a] poseidon.cygnus.com) 4270 1.1 christos 4271 1.1 christos * objdump.c: Use size-independent bfd elf section names. 4272 1.1 christos 4273 1.1 christos Sun Jun 20 23:09:06 1993 Ken Raeburn (raeburn (a] poseidon.cygnus.com) 4274 1.1 christos 4275 1.1 christos * objdump.c (objdump_print_address): Handle wide offsets by 4276 1.1 christos calling sprintf_vma. 4277 1.1 christos 4278 1.1 christos Fri Jun 18 14:29:12 1993 Per Bothner (bothner (a] deneb.cygnus.com) 4279 1.1 christos 4280 1.1 christos * objdump.c (syms2): Removed unused variable. 4281 1.1 christos * objdump.c (remove_useless_symbols): New function. 4282 1.1 christos * objdump.c (comp): Simplify. 4283 1.1 christos * objdump.c (dis-assemble_data): Make simpler and more 4284 1.1 christos efficient how we filter out useless symbols: Just filter 4285 1.1 christos BEFORE the sort (using remove_useless_symbols). 4286 1.1 christos * objdump.c (objdump_print_address): Simplify. 4287 1.1 christos Change output syntax to match gdb. 4288 1.1 christos 4289 1.1 christos Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo (a] cygnus.com) 4290 1.1 christos 4291 1.1 christos * Makefile.in: canonicalize install.sh; for use within 4292 1.1 christos this directory (and subdirs) 4293 1.1 christos 4294 1.1 christos Mon Jun 14 12:13:22 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com) 4295 1.1 christos 4296 1.1 christos * Makefile.in (install, install-info): remove parentdir support, 4297 1.1 christos use INSTALL_XFORM; define INSTALL_XFORM 4298 1.1 christos 4299 1.1 christos Thu Jun 10 17:29:21 1993 Per Bothner (bothner (a] cygnus.com) 4300 1.1 christos 4301 1.1 christos * objcopy.c (copy_object): Fix bad size passed to xmalloc(). 4302 1.1 christos 4303 1.1 christos Mon Jun 7 12:41:12 1993 Per Bothner (bothner (a] rtl.cygnus.com) 4304 1.1 christos 4305 1.1 christos * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h. 4306 1.1 christos * configure.in: No longer need to configure to get sysdep.h. 4307 1.1 christos * objcopy.c (copy_object): Fix symbol table handling. 4308 1.1 christos 4309 1.1 christos Fri Jun 4 17:20:03 1993 Per Bothner (bothner (a] cygnus.com) 4310 1.1 christos 4311 1.1 christos * objcopy.c (filter_symbols): Cannot filter the symbols 4312 1.1 christos in place, because that confuses the relocs, so take separate 4313 1.1 christos parameter for output array. 4314 1.1 christos * objcopy.c (sympp): Make two variables: isympp and osympp. 4315 1.1 christos * objcopy.c (copy_object): Allocate separate array (osympp) 4316 1.1 christos for filtered symbols. 4317 1.1 christos 4318 1.1 christos Fri Jun 4 10:51:44 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 4319 1.1 christos 4320 1.1 christos * Makefile.in: change recursion test to presence of a configured 4321 1.1 christos testsuite directory 4322 1.1 christos 4323 1.1 christos Thu Jun 3 14:05:57 1993 Ken Raeburn (raeburn (a] cambridge.cygnus.com) 4324 1.1 christos 4325 1.1 christos * Makefile.in (underscore.c): Hack the backquoted command so it 4326 1.1 christos doesn't cause Solaris make to bomb. 4327 1.1 christos 4328 1.1 christos Thu Jun 3 10:40:19 1993 Jeffrey Osier (jeffrey (a] cygnus.com) 4329 1.1 christos 4330 1.1 christos * Makefile.in: added c++filt and objcopy to MANPAGES variable 4331 1.1 christos 4332 1.1 christos Thu Jun 3 00:32:52 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 4333 1.1 christos 4334 1.1 christos * Makefile.in: rename LOADLIBES to EXTRALIBS 4335 1.1 christos 4336 1.1 christos Wed Jun 2 18:30:24 1993 Jeffrey Osier (jeffrey (a] cygnus.com) 4337 1.1 christos 4338 1.1 christos * c++filt.1, objcopy.1: new man pages 4339 1.1 christos 4340 1.1 christos Fri May 28 15:01:24 1993 Per Bothner (bothner (a] rtl.cygnus.com) 4341 1.1 christos 4342 1.1 christos * Makefile.in (install): Also install ar and ranlib in 4343 1.1 christos $(tooldir)/bin; needed for building libgcc.a. 4344 1.1 christos * objdump.c (objdump_print_address): Fix the check 4345 1.1 christos "coincidental" label matches by dis-allowing undefined 4346 1.1 christos or com symbols. 4347 1.1 christos 4348 1.1 christos Thu May 27 16:58:31 1993 Jeffrey Osier (jeffrey (a] cygnus.com) 4349 1.1 christos 4350 1.1 christos * binutils.texi: revised c++filt chapter 4351 1.1 christos 4352 1.1 christos Wed May 26 17:24:17 1993 Ian Lance Taylor (ian (a] cygnus.com) 4353 1.1 christos 4354 1.1 christos * Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS. 4355 1.1 christos 4356 1.1 christos Tue May 25 00:26:47 1993 Ken Raeburn (raeburn (a] cygnus.com) 4357 1.1 christos 4358 1.1 christos * objdump.c (slurp_symtab): Print warning for bad symbol table. 4359 1.1 christos (bfd_elf32_find_section, Elf32_Internal_Shdr): Updated 4360 1.1 christos declarations and uses. 4361 1.1 christos 4362 1.1 christos * Makefile.in (DISTSTUFF): Don't build binutils.mm. 4363 1.1 christos 4364 1.1 christos Fri May 21 10:51:19 1993 David J. Mackenzie (djm (a] rtl.cygnus.com) 4365 1.1 christos 4366 1.1 christos * nm.c: Add -f/--format, -P/--portability, -t/--radix options. 4367 1.1 christos Make global variables static. 4368 1.1 christos (main): Make -v like -n, not -V, and make -A like -o, for POSIX.2. 4369 1.1 christos (set_print_radix, set_output_format, 4370 1.1 christos print_{object_filename,archive_filename,archive_member,symbol_info} 4371 1.1 christos {bsd,sysv,posix}): New functions. 4372 1.1 christos (display_file, print_symbols): Call them. 4373 1.1 christos 4374 1.1 christos * ar.c: Improve error messages. 4375 1.1 christos 4376 1.1 christos * nm.c (main): Handle long options that just set a flag. 4377 1.1 christos 4378 1.1 christos * nm.c (main), ar.c (do_show_version), objcopy.c (main), size.c 4379 1.1 christos (main): Exit after printing the version number, per the GNU coding 4380 1.1 christos standards. 4381 1.1 christos 4382 1.1 christos Mon May 17 13:20:25 1993 Per Bothner (bothner (a] cygnus.com) 4383 1.1 christos 4384 1.1 christos * README, Makefile.in: Minor updates for 2.2. 4385 1.1 christos 4386 1.1 christos Fri May 14 11:12:26 1993 Per Bothner (bothner (a] cygnus.com) 4387 1.1 christos 4388 1.1 christos * Makefile.in (underscore.c): Automatically generate 4389 1.1 christos (using nm) a file with the variable prepends_underscore. 4390 1.1 christos * Makefile.in (c++filt): Link underscore.o with cplus-dem.o 4391 1.1 christos so that initial underscores get removed iff appropriate. 4392 1.1 christos * binutils.texi: Preliminary documentation for c++filt. 4393 1.1 christos * Makefile.in, binutils.texi: Set to version 2.2. 4394 1.1 christos 4395 1.1 christos * NEWS: Mention copy->objcopy renaming and new c++filt program. 4396 1.1 christos 4397 1.1 christos Wed May 12 12:05:36 1993 Ian Lance Taylor (ian (a] cygnus.com) 4398 1.1 christos 4399 1.1 christos * Makefile.in (cplus-dem.o, $(DEMANGLER_PROG)): Build the 4400 1.1 christos demangler via cplus-dem.o, rather than directly from the .c file. 4401 1.1 christos 4402 1.1 christos * objcopy.c: Renamed from copy.c, updated comments accordingly. 4403 1.1 christos * Makefile.in, binutils.texi: Renamed copy to objcopy. 4404 1.1 christos * is-strip.c, maybe-strip.c, not-strip.c: Updated comments for 4405 1.1 christos rename of copy to objcopy. 4406 1.1 christos 4407 1.1 christos Mon May 10 17:20:18 1993 Per Bothner (bothner (a] cygnus.com) 4408 1.1 christos 4409 1.1 christos * binutils.texi (strip, -v option): Fix typo. 4410 1.1 christos 4411 1.1 christos Fri May 7 13:57:50 1993 Ian Lance Taylor (ian (a] cygnus.com) 4412 1.1 christos 4413 1.1 christos * Makefile.in (RUNTEST): Define. 4414 1.1 christos (FLAGS_TO_PASS): Pass down RUNTEST. 4415 1.1 christos 4416 1.1 christos Tue May 4 10:06:50 1993 Ian Lance Taylor (ian (a] cygnus.com) 4417 1.1 christos 4418 1.1 christos * Makefile.in (DEMANGLER_PROG): Name it c++filt. 4419 1.1 christos (PROG): Also build and install COPY_PROG. 4420 1.1 christos 4421 1.1 christos Mon May 3 19:11:48 1993 Per Bothner (bothner (a] cygnus.com) 4422 1.1 christos 4423 1.1 christos * Makefile.in: Change definition of $(tooldir) to match FSF. 4424 1.1 christos 4425 1.1 christos Wed Apr 28 23:41:32 1993 David J. Mackenzie (djm (a] rtl.cygnus.com) 4426 1.1 christos 4427 1.1 christos * size.c (usage): Add missing options. 4428 1.1 christos (main): Clean up option parser. 4429 1.1 christos 4430 1.1 christos * objdump.c (usage): Add missing options. 4431 1.1 christos (display_file): Print program name before calling 4432 1.1 christos bdf_perror. 4433 1.1 christos 4434 1.1 christos * nm.c (usage): Add missing options. 4435 1.1 christos (main): Clean up option parser. 4436 1.1 christos (display_file): Print program name before calling 4437 1.1 christos bdf_perror. 4438 1.1 christos 4439 1.1 christos * copy.c (copy_usage, strip_usage): Add missing options. 4440 1.1 christos 4441 1.1 christos * ar.c (usage): New function. 4442 1.1 christos (main): Call it. 4443 1.1 christos (open_inarch, do_quick_append): Print program name before calling 4444 1.1 christos bdf_perror. 4445 1.1 christos 4446 1.1 christos Thu Apr 22 15:01:35 1993 Ian Lance Taylor (ian (a] cygnus.com) 4447 1.1 christos 4448 1.1 christos * nm.c (main): Accept and ignore -A and -B for MIPS compatibility. 4449 1.1 christos 4450 1.1 christos Mon Apr 19 14:06:59 1993 Rob Savoye (rob (a] cygnus.com) 4451 1.1 christos 4452 1.1 christos * Makefile.in: Added FLAGS_TO_PASS so tests get run on freshly 4453 1.1 christos built binaries if they exist. (otherwise the path) 4454 1.1 christos 4455 1.1 christos Wed Apr 7 22:22:50 1993 Rob Savoye (rob (a] cygnus.com) 4456 1.1 christos 4457 1.1 christos * Makefile.in: Changed check target to use DejaGnu. 4458 1.1 christos 4459 1.1 christos Thu Apr 1 12:37:13 1993 Jim Kingdon (kingdon (a] cygnus.com) 4460 1.1 christos 4461 1.1 christos * Makefile.in: Remove am29k-pinsn.c, i960-pinsn.c. 4462 1.1 christos objdump.c: a29k and i960 are `disassemble' not `print'. 4463 1.1 christos 4464 1.1 christos * objdump.c: Rename print_address to objdump_print_address 4465 1.1 christos and change parameters. 4466 1.1 christos (disassemble_data): Use objdump_print_address. 4467 1.1 christos 4468 1.1 christos Wed Mar 31 10:25:29 1993 Jim Kingdon (kingdon (a] lioth.cygnus.com) 4469 1.1 christos 4470 1.1 christos * objdump.c (disassemble_data): print_insn_sparc is now a 4471 1.1 christos `disassemble' not a `print'. 4472 1.1 christos Makefile.in: Remove sparc-pinsn.c (now in libopcodes.a). 4473 1.1 christos 4474 1.1 christos * objdump.c (disassemble_data): Use new read_memory_func stuff. 4475 1.1 christos 4476 1.1 christos Thu Mar 25 10:38:11 1993 Ken Raeburn (raeburn (a] cambridge.cygnus.com) 4477 1.1 christos 4478 1.1 christos * objdump.c (fprintf): Declaration of variadic function had better 4479 1.1 christos be a prototype for ANSI C systems. 4480 1.1 christos 4481 1.1 christos Mon Mar 22 23:19:46 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 4482 1.1 christos 4483 1.1 christos * Makefile.in: rename test-install to install-check 4484 1.1 christos 4485 1.1 christos Fri Mar 19 14:40:08 1993 Steve Chamberlain (sac (a] thepub.cygnus.com) 4486 1.1 christos 4487 1.1 christos * objdump.c (disassemble_data): Add H8500. 4488 1.1 christos 4489 1.1 christos Fri Mar 19 10:56:51 1993 Jim Kingdon (kingdon (a] cygnus.com) 4490 1.1 christos 4491 1.1 christos * objdump.c (usage): Mention long options. 4492 1.1 christos 4493 1.1 christos Thu Mar 18 14:22:17 1993 Per Bothner (bothner (a] rtl.cygnus.com) 4494 1.1 christos 4495 1.1 christos * nm.c: Modify behavior of -o flag for archives to match 4496 1.1 christos BSD4.4 and Sunos 4: Prefix archive name before each line. 4497 1.1 christos 4498 1.1 christos * m68k-pinsn.c: Removed. Subsumed by ../opcodes/m68k-dis.c. 4499 1.1 christos * i386-pinsn.c: Removed. Subsumed by ../opcodes/i386-dis.c. 4500 1.1 christos * Makefile.in: Adjust accordingly. 4501 1.1 christos * objdump.c: Support new-style disassemblers (ones that use 4502 1.1 christos the interface of ../include/dis-asm.h). 4503 1.1 christos 4504 1.1 christos Thu Feb 25 15:57:00 1993 Per Bothner (bothner (a] rtl.cygnus.com) 4505 1.1 christos 4506 1.1 christos * Makefile.in: When making tar file, remove texinfo/*, 4507 1.1 christos except for texinfo/texinfo.tex. 4508 1.1 christos * ardup.c: Add extern declaration of strdup. 4509 1.1 christos * Makefile.in (testsuite): Add 'else true' since otherwise 4510 1.1 christos Ultrix /bin/sh complains. 4511 1.1 christos 4512 1.1 christos Wed Feb 24 19:44:18 1993 Per Bothner (bothner (a] rtl.cygnus.com) 4513 1.1 christos 4514 1.1 christos * Makefile.in: Set VERSION to 2.1. 4515 1.1 christos * README, NEWS: Updates. 4516 1.1 christos * nm.c: Add -v as a synonym for -V. 4517 1.1 christos 4518 1.1 christos Tue Feb 23 19:00:50 1993 Mike Werner (mtw (a] poseidon.cygnus.com) 4519 1.1 christos 4520 1.1 christos * configure.in: added testsuite to configdirs. 4521 1.1 christos * Makefile.in: added support for building testsuite. 4522 1.1 christos 4523 1.1 christos Mon Feb 22 22:52:10 1993 Per Bothner (bothner (a] rtl.cygnus.com) 4524 1.1 christos 4525 1.1 christos * objdump.c (disassemble_data): Print function names when 4526 1.1 christos given by bfd_find_nearest_line. If not - still print 4527 1.1 christos line numbers. 4528 1.1 christos 4529 1.1 christos Mon Feb 22 07:54:03 1993 Mike Werner (mtw (a] poseidon.cygnus.com) 4530 1.1 christos 4531 1.1 christos * testsuite: made modifications to testcases, etc., to allow 4532 1.1 christos them to work properly given the reorganization of deja-gnu and the 4533 1.1 christos relocation of the testcases from deja-gnu to a "tool" subdirectory. 4534 1.1 christos 4535 1.1 christos Mon Feb 22 10:27:24 1993 Ken Raeburn (raeburn (a] cambridge.cygnus.com) 4536 1.1 christos 4537 1.1 christos * objdump.c (dump_data): Free up section contents each time 4538 1.1 christos through the loop. Reported by minyard (a] bnr.ca. 4539 1.1 christos 4540 1.1 christos Sun Feb 21 10:55:55 1993 Mike Werner (mtw (a] poseidon.cygnus.com) 4541 1.1 christos 4542 1.1 christos * testsuite: Initial creation of binutils/testsuite. 4543 1.1 christos Migrated dejagnu testcases and support files for testing nm to 4544 1.1 christos binutils/testsuite from deja-gnu. These files were moved "as is" 4545 1.1 christos with no modifications. This migration is part of a major overhaul 4546 1.1 christos of dejagnu. The modifications to these testcases, etc., which 4547 1.1 christos will allow them to work with the new version of dejagnu will be 4548 1.1 christos made in a future update. 4549 1.1 christos 4550 1.1 christos Fri Feb 12 10:05:20 1993 Fred Fish (fnf (a] cygnus.com) 4551 1.1 christos 4552 1.1 christos * Makefile.in (LIBIBERTY_SRC_DIR, LIBIBERTY_BIN_DIR): New macros. 4553 1.1 christos * Makefile.in (LIBIBERTY): Use LIBIBERTY_BIN_DIR. 4554 1.1 christos * Makefile.in (DEMANGLER_PROG): New program to build. Add macro 4555 1.1 christos and rule. 4556 1.1 christos * Makefile.in (PROGS): Add DEMANGLER_PROG. 4557 1.1 christos 4558 1.1 christos Tue Jan 26 11:56:33 1993 Ian Lance Taylor (ian (a] cygnus.com) 4559 1.1 christos 4560 1.1 christos * copy.c, nm.c, objdump.c, size.c: Use new bfd_is_com_section 4561 1.1 christos macro rather than checking for equality to bfd_com_section. 4562 1.1 christos 4563 1.1 christos Fri Jan 8 15:50:05 1993 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 4564 1.1 christos 4565 1.1 christos * objdump.c (disassemble_data): Fix code to find first useless 4566 1.1 christos symbol. 4567 1.1 christos 4568 1.1 christos Thu Jan 7 13:13:31 1993 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com) 4569 1.1 christos 4570 1.1 christos * objdump.c (disassemble_data): Use mips_print_insn for MIPS. 4571 1.1 christos Don't core dump if bfd_find_nearest_line returns false. 4572 1.1 christos 4573 1.1 christos Wed Jan 6 17:14:01 1993 Steve Chamberlain (sac (a] thepub.cygnus.com) 4574 1.1 christos 4575 1.1 christos * objdump.c (disassemble_data): know how to disassemble z8000s 4576 1.1 christos too. 4577 1.1 christos 4578 1.1 christos Wed Jan 6 15:16:27 1993 Per Bothner (bothner (a] cygnus.com) 4579 1.1 christos 4580 1.1 christos * arsup.h (interactive), bucomm.h (program_name): Prefix 4581 1.1 christos with 'extern', to avoid warnings from some compilers. 4582 1.1 christos 4583 1.1 christos Wed Jan 6 15:14:11 1993 Per Bothner (bothner (a] rtl.cygnus.com) 4584 1.1 christos 4585 1.1 christos * arparse.y: fix unnecessary shift/reduce 4586 1.1 christos 4587 1.1 christos Tue Dec 22 15:46:56 1992 Per Bothner (bothner (a] rtl.cygnus.com) 4588 1.1 christos 4589 1.1 christos * Makefile.in: Make check depend on all. 4590 1.1 christos * Makefile.in (distclean): Remove sysdep.h. 4591 1.1 christos * size.c: Use %u format where appropriate. 4592 1.1 christos * objdump.c: Standardize: L_SET -> SEEK_SET. 4593 1.1 christos * objdump.c: Use new macro bfd_asymbol_bfd. 4594 1.1 christos * configure.in: Allow std-host as the default ${mys_host}. 4595 1.1 christos 4596 1.1 christos Thu Dec 17 19:38:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 4597 1.1 christos 4598 1.1 christos * Makefile.in: added dvi target, define and use TEXI2DVI 4599 1.1 christos 4600 1.1 christos Tue Dec 15 18:05:07 1992 Per Bothner (bothner (a] cygnus.com) 4601 1.1 christos 4602 1.1 christos * Makefile.in (dist): Fix permissions before release. 4603 1.1 christos * size.c: Use bfd_size_type (and long) where appropriate. 4604 1.1 christos * ar.c: Make writing a map the default, to be compatible 4605 1.1 christos with SYSV and Posix.2. Remove some bogus kludges that 4606 1.1 christos handled __.SYMDEF directly. 4607 1.1 christos * NEWS: New file. 4608 1.1 christos 4609 1.1 christos Mon Nov 9 13:36:53 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 4610 1.1 christos 4611 1.1 christos * Makefile.in: flex no longer needs the -S flag 4612 1.1 christos 4613 1.1 christos Sat Nov 7 15:06:13 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 4614 1.1 christos 4615 1.1 christos * ar.c (extract_file): utime needs a pointer to a utimbuf 4616 1.1 christos 4617 1.1 christos * Makefile.in: handle -I includes better, adding $(BASEDIR)/bfd to 4618 1.1 christos the list (since some of the bfd/hosts/*.h files include other 4619 1.1 christos files from that directory) 4620 1.1 christos 4621 1.1 christos Fri Nov 6 00:12:51 1992 John Gilmore (gnu (a] cygnus.com) 4622 1.1 christos 4623 1.1 christos * i960-pinsn.c (MEM_MAX, MEM_SIZ): Set upper bound properly. 4624 1.1 christos 4625 1.1 christos Thu Nov 5 03:37:15 1992 John Gilmore (gnu (a] cygnus.com) 4626 1.1 christos 4627 1.1 christos Clean up some old BFD ansification macros. 4628 1.1 christos 4629 1.1 christos * arsup.h, bucomm.h, objdump.h: Remove EXFUN from binutils. 4630 1.1 christos It still remains as a local macro in gmalloc.c, which is derived 4631 1.1 christos from some other copy of GNU Malloc somewhere (FIXME). 4632 1.1 christos 4633 1.1 christos * ar.c, objdump.c, size.c: Replace EXFUN with PROTO. Make static 4634 1.1 christos fns really static. 4635 1.1 christos * arsup.h: Declare extract_files. 4636 1.1 christos 4637 1.1 christos Mon Nov 2 12:42:11 1992 Ian Lance Taylor (ian (a] cygnus.com) 4638 1.1 christos 4639 1.1 christos * ar.c (extract_file): instead of checking USG: if POSIX_UTIME, 4640 1.1 christos use utime and utimbuf structure, otherwise if USE_UTIME use utime 4641 1.1 christos and array of two longs, otherwise use utimes. 4642 1.1 christos 4643 1.1 christos Thu Oct 15 13:57:35 1992 Per Bothner (bothner (a] cygnus.com) 4644 1.1 christos 4645 1.1 christos * binutils.texi: Document yesterday's changes to strip and copy. 4646 1.1 christos 4647 1.1 christos Wed Oct 14 13:22:14 1992 Per Bothner (bothner (a] cygnus.com) 4648 1.1 christos 4649 1.1 christos * copy.c: Re-do command-line parsing to use getopt_long(). 4650 1.1 christos Add long option names. Re-think option letters to be more 4651 1.1 christos consistent. 4652 1.1 christos * copy.c: New function filter_symbols() for stripping only 4653 1.1 christos debug-symbols and/or local symbols. Use these to support 4654 1.1 christos the previously-missing options of the old FSF strip. 4655 1.1 christos 4656 1.1 christos Tue Oct 13 01:24:20 1992 John Gilmore (gnu (a] cygnus.com) 4657 1.1 christos 4658 1.1 christos * configure.in (host): Use ${srcdir}/../bfd/configure.host rather 4659 1.1 christos than repeating a copy of it here. 4660 1.1 christos 4661 1.1 christos Wed Oct 7 12:53:52 1992 Ken Raeburn (raeburn (a] cygnus.com) 4662 1.1 christos 4663 1.1 christos * copy.c (main): Even if is_strip, accept -d argument indicating 4664 1.1 christos alternate output format. Needed by gdb for Nindy. 4665 1.1 christos 4666 1.1 christos * m68k-pinsn.c (print_insn_arg): Handle new "`" operand type. 4667 1.1 christos 4668 1.1 christos Tue Oct 6 16:33:56 1992 Jeffrey Osier (jeffrey (a] cygnus.com) 4669 1.1 christos 4670 1.1 christos * binutils.texi: added documentation for "copy" 4671 1.1 christos 4672 1.1 christos Tue Oct 6 14:22:56 1992 Per Bothner (bothner at PersSony) 4673 1.1 christos 4674 1.1 christos * Makefile.in (*clean rules): Some cleaning up. 4675 1.1 christos * Makefile.in (dist): Make diststuff in gprof for a dist. 4676 1.1 christos 4677 1.1 christos * ar.c (do_show_version): New function. 4678 1.1 christos * ar.c (main): Fix so "ar -V" works. 4679 1.1 christos 4680 1.1 christos Thu Oct 1 22:44:45 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 4681 1.1 christos 4682 1.1 christos * configure.in: now uses the cpu-vendor-os triple instead of 4683 1.1 christos nested cases. 4684 1.1 christos 4685 1.1 christos Fri Sep 25 22:41:08 1992 John Gilmore (gnu (a] cygnus.com) 4686 1.1 christos 4687 1.1 christos * i960-pinsn.c: Change bzero to memset. 4688 1.1 christos * sparc-pinsn.c: Change index to strchr. 4689 1.1 christos 4690 1.1 christos Mon Sep 21 14:39:56 1992 Ian Lance Taylor (ian (a] cygnus.com) 4691 1.1 christos 4692 1.1 christos * m68k-pinsn (print_insn_arg, fetch_arg): added support for 4693 1.1 christos operands to memory management instructions, from WRS. 4694 1.1 christos 4695 1.1 christos Tue Sep 15 15:26:38 1992 Ian Lance Taylor (ian (a] cygnus.com) 4696 1.1 christos 4697 1.1 christos * Makefile.in (install): if $(tooldir) exists, install nm and 4698 1.1 christos strip in $(tooldir)/bin. 4699 1.1 christos 4700 1.1 christos Thu Sep 3 11:57:40 1992 Per Bothner (bothner (a] rtl.cygnus.com) 4701 1.1 christos 4702 1.1 christos * Makefile.in: Let's call it version 2.0. 4703 1.1 christos 4704 1.1 christos Wed Sep 2 00:25:13 1992 Per Bothner (bothner (a] rtl.cygnus.com) 4705 1.1 christos 4706 1.1 christos * Makefile.in: Bump to version 0.98. 4707 1.1 christos * TODO, README: Minor updates. 4708 1.1 christos 4709 1.1 christos * Makefile.in: Added mostlyclean, distclean rules, 4710 1.1 christos and cleaned up clean, realclean. 4711 1.1 christos 4712 1.1 christos Sun Aug 30 21:18:59 1992 Ian Lance Taylor (ian (a] cygnus.com) 4713 1.1 christos 4714 1.1 christos * Makefile.in: map program names through program_transform_name 4715 1.1 christos when installing. 4716 1.1 christos 4717 1.1 christos Sun Aug 30 18:09:03 1992 Per Bothner (bothner (a] rtl.cygnus.com) 4718 1.1 christos 4719 1.1 christos * Makefile.in: Bump to versions 1.97.90. 4720 1.1 christos * cplus-dem.c: Removed. Was nowhere used - and if some 4721 1.1 christos programs are changed to to demangling should now use the 4722 1.1 christos versions in libiberty. 4723 1.1 christos 4724 1.1 christos Thu Aug 27 12:58:09 1992 Brendan Kehoe (brendan (a] cygnus.com) 4725 1.1 christos 4726 1.1 christos * configure.in: add we32k 4727 1.1 christos 4728 1.1 christos Mon Aug 24 14:53:42 1992 Steve Chamberlain (sac (a] thepub.cygnus.com) 4729 1.1 christos 4730 1.1 christos * ar.c (map_over_members): if the element of the archive has a 4731 1.1 christos null name, fill it in. 4732 1.1 christos 4733 1.1 christos * nm.c (do_one_rel_file): only warn if a bfd's flags say there 4734 1.1 christos will be symbols and there aren't any. 4735 1.1 christos 4736 1.1 christos Wed Aug 19 11:20:25 1992 Ian Lance Taylor (ian (a] cygnus.com) 4737 1.1 christos 4738 1.1 christos * m68k-pinsn.c: handle new operand type 'r', introduced for cas2. 4739 1.1 christos 4740 1.1 christos Tue Aug 18 20:45:48 1992 Rob Savoye (rob (a] cygnus.com) 4741 1.1 christos 4742 1.1 christos * nm.c objdump.c: Added support for a +version (-V) 4743 1.1 christos to print the version number. 4744 1.1 christos 4745 1.1 christos * ar.c, copy.c: Added support for a -V option to print 4746 1.1 christos the version number. 4747 1.1 christos 4748 1.1 christos Tue Aug 18 13:28:44 1992 Ian Lance Taylor (ian (a] cygnus.com) 4749 1.1 christos 4750 1.1 christos * config/mh-apollo68v: removed -g from CC definition. 4751 1.1 christos 4752 1.1 christos * Makefile.in: always create installation directories. 4753 1.1 christos 4754 1.1 christos Mon Aug 17 18:33:41 1992 Per Bothner (bothner (a] rtl.cygnus.com) 4755 1.1 christos 4756 1.1 christos * m68k-pinsn.c: Minor fix in style of output (don't use 4757 1.1 christos range to indicate floating point control registers). 4758 1.1 christos 4759 1.1 christos Tue Aug 11 23:42:21 1992 Per Bothner (bothner (a] cygnus.com) 4760 1.1 christos 4761 1.1 christos * ar.c (main): Don't *always* set the verbose flag! 4762 1.1 christos 4763 1.1 christos Wed Aug 5 11:25:27 1992 Per Bothner (bothner (a] rtl.cygnus.com) 4764 1.1 christos 4765 1.1 christos * copy.c: When is_strip (because it is invoked as the strip 4766 1.1 christos program), follow traditional argv processing: 4767 1.1 christos 'strip file1 file2' now strips file1 and file2, rather 4768 1.1 christos than stripping file1 (as input), leaving output in file2. 4769 1.1 christos 4770 1.1 christos Mon Jul 27 16:28:08 1992 Per Bothner (bothner (a] rtl.cygnus.com) 4771 1.1 christos 4772 1.1 christos * objdump.c (display_info, display_info_table): Call 4773 1.1 christos bfd_set_format() on dummy bfd before using it (twice). 4774 1.1 christos * ar.c: Make sure archive is created on command 'r' 4775 1.1 christos even when no elements are inserted. (Clean up and 4776 1.1 christos simplify some non-working related code.) 4777 1.1 christos 4778 1.1 christos Mon Jul 20 02:48:38 1992 D. V. Henkel-Wallace (gumby (a] cygnus.com) 4779 1.1 christos 4780 1.1 christos * configure.in: hppa support doesn't assume hp OS (from sef). 4781 1.1 christos 4782 1.1 christos Sat Jul 18 14:35:22 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 4783 1.1 christos 4784 1.1 christos * configure.in: recognize hppa hosts (bsd & hpux), error messages 4785 1.1 christos to stderr, not stdout 4786 1.1 christos 4787 1.1 christos Fri Jul 17 18:39:44 1992 K. Richard Pixley (rich (a] rtl.cygnus.com) 4788 1.1 christos 4789 1.1 christos * ar.1, binutils.texi, i960-pinsn.c, nm.1, objdump.1, ranlib.1, 4790 1.1 christos size.1, sparc-pinsn.c, strip.1: removed rcsid's. 4791 1.1 christos 4792 1.1 christos Thu Jul 16 16:55:24 1992 K. Richard Pixley (rich (a] rtl.cygnus.com) 4793 1.1 christos 4794 1.1 christos * Makefile.dos: removed rcsid. 4795 1.1 christos 4796 1.1 christos Thu Jul 16 08:23:07 1992 Steve Chamberlain (sac (a] thepub.cygnus.com) 4797 1.1 christos 4798 1.1 christos * objdump.c (display_bfd): print state of BFD_IS_RELAXABLE too 4799 1.1 christos 4800 1.1 christos Tue Jun 30 20:26:15 1992 D. V. Henkel-Wallace (gumby (a] cygnus.com) 4801 1.1 christos 4802 1.1 christos * Makefile.in: Add program_suffix (parallel to program_prefix) 4803 1.1 christos 4804 1.1 christos Thu Jun 25 04:52:45 1992 John Gilmore (gnu at cygnus.com) 4805 1.1 christos 4806 1.1 christos * nm.c (sorters): Lint. Remove excess whitespace. 4807 1.1 christos 4808 1.1 christos Wed Jun 24 13:48:07 1992 Per Bothner (bothner (a] cygnus.com) 4809 1.1 christos 4810 1.1 christos * nm.c (valueof macro): Add missing parentheses. 4811 1.1 christos (Their lack screwed up numeric_forward().) 4812 1.1 christos 4813 1.1 christos Sun Jun 14 10:33:27 1992 John Gilmore (gnu at cygnus.com) 4814 1.1 christos 4815 1.1 christos * objdump.c (dump_elf_stabs): Also dump .stab.index and 4816 1.1 christos .stab.excl sections. 4817 1.1 christos (dump_elf_stabs_1): Split out main body of old dump_elf_stabs. 4818 1.1 christos * objdump.1, binutils.texi: Document new sections dumped. 4819 1.1 christos 4820 1.1 christos Fri Jun 12 22:23:35 1992 John Gilmore (gnu at cygnus.com) 4821 1.1 christos 4822 1.1 christos * size.c, objdump.c, bucomm.c: Lint. 4823 1.1 christos 4824 1.1 christos Thu Jun 11 01:19:06 1992 John Gilmore (gnu at cygnus.com) 4825 1.1 christos 4826 1.1 christos * objdump.c (dump_elf_stabs): New feature: --stabs prints out a 4827 1.1 christos .stab section from an ELF file. Installed under #ifdef 4828 1.1 christos ELF_STAB_DISPLAY so it can be easily disabled, since it requires 4829 1.1 christos bfd-internals header files and such. 4830 1.1 christos * objdump.1, binutils.texi: Update for --stabs. Also fix 4831 1.1 christos objdump's doc to use -- rather than + for long options. 4832 1.1 christos (FIXME: Not yet fixed everywhere in binutils.texinfo.) 4833 1.1 christos 4834 1.1 christos Wed Jun 10 07:53:24 1992 Steve Chamberlain (sac (a] thepub.cygnus.com) 4835 1.1 christos 4836 1.1 christos * objdump.c(display_info), patches from 4837 1.1 christos mohring (a] informatik.tu-muenchen.de to print the table much more 4838 1.1 christos nicely. 4839 1.1 christos 4840 1.1 christos Thu May 28 13:36:16 1992 Per Bothner (bothner (a] rtl.cygnus.com) 4841 1.1 christos 4842 1.1 christos * objdump.c: Add another enum->int cast, for the sake of 4843 1.1 christos old compilers (such as PCC). 4844 1.1 christos 4845 1.1 christos Wed May 27 13:01:44 1992 Per Bothner (bothner (a] rtl.cygnus.com) 4846 1.1 christos 4847 1.1 christos * arlex.l: Don't include <sysdep.h> (unneeded conflicts). 4848 1.1 christos Add declaration of strdup(). 4849 1.1 christos 4850 1.1 christos Fri May 22 13:40:37 1992 Per Bothner (bothner (a] cygnus.com) 4851 1.1 christos 4852 1.1 christos * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex 4853 1.1 christos rules, since these are used when building a distribution. 4854 1.1 christos * Makefile.in (arlex.c): Don't re-direct output, since that 4855 1.1 christos leaves a bogus output files if it fails. 4856 1.1 christos 4857 1.1 christos * arlex.l: Make work with lex, for what it's worth. 4858 1.1 christos * Makefile.in: Better lex support. 4859 1.1 christos * Makefile.in (dist): Generate flex and bison outputs 4860 1.1 christos for distribution. 4861 1.1 christos 4862 1.1 christos Thu May 14 17:17:59 1992 K. Richard Pixley (rich (a] rtl.cygnus.com) 4863 1.1 christos 4864 1.1 christos * Makefile.in: get BISON definition right. 4865 1.1 christos 4866 1.1 christos Fri May 8 07:47:08 1992 K. Richard Pixley (rich (a] cygnus.com) 4867 1.1 christos 4868 1.1 christos * sanity.sh: default TMPDIR to ".". 4869 1.1 christos 4870 1.1 christos Thu May 7 12:34:50 1992 Roland H. Pesch (pesch (a] fowanton.cygnus.com) 4871 1.1 christos 4872 1.1 christos * binutils.texi: add doc for ar command language. 4873 1.1 christos 4874 1.1 christos Wed May 6 18:05:36 1992 Steve Chamberlain (sac (a] thepub.cygnus.com) 4875 1.1 christos 4876 1.1 christos * arparse.y: make END call ar_end 4877 1.1 christos * arsup.c (ar_end): added, deletes temp file if archive session 4878 1.1 christos aborted. 4879 1.1 christos 4880 1.1 christos 4881 1.1 christos Wed May 6 11:08:53 1992 K. Richard Pixley (rich (a] rtl.cygnus.com) 4882 1.1 christos 4883 1.1 christos * Makefile.in: use bison & flex from ../ if they exist. Also, 4884 1.1 christos FLEX->LEX. 4885 1.1 christos 4886 1.1 christos * sanity.sh: remove temporary directory when finished. 4887 1.1 christos 4888 1.1 christos Tue May 5 12:00:58 1992 Per Bothner (bothner (a] rtl.cygnus.com) 4889 1.1 christos 4890 1.1 christos * Makefile.in: Bump to version 1.97. 4891 1.1 christos * ar.c: Declare errno for machines that need it. 4892 1.1 christos 4893 1.1 christos Mon May 4 23:29:51 1992 John Gilmore (gnu (a] cygnus.com) 4894 1.1 christos 4895 1.1 christos * objdump.c (display_info): Handle error cases without coredump. 4896 1.1 christos Close the dummy temporary file we open in the loop. 4897 1.1 christos * Makefile.in (arsup.o): Add kludge to build with Sun Make. 4898 1.1 christos 4899 1.1 christos Fri May 1 16:20:23 1992 K. Richard Pixley (rich (a] cygnus.com) 4900 1.1 christos 4901 1.1 christos * Makefile.in: added test-install target. 4902 1.1 christos 4903 1.1 christos * sanity.sh: new file. 4904 1.1 christos 4905 1.1 christos * Makefile.in: use sanity test on make check. 4906 1.1 christos 4907 1.1 christos Tue Apr 21 13:38:37 1992 K. Richard Pixley (rich (a] cygnus.com) 4908 1.1 christos 4909 1.1 christos * Makefile.in: rework CFLAGS so that they can be passed on the 4910 1.1 christos command line to make. Remove MINUS_G. Default CFLAGS to -g. 4911 1.1 christos 4912 1.1 christos Wed Apr 15 14:33:07 1992 Steve Chamberlain (sac (a] thepub.cygnus.com) 4913 1.1 christos 4914 1.1 christos * arsup.c, arsup.h, arparse.y, arlex.l: support for archive 4915 1.1 christos scripting language. 4916 1.1 christos 4917 1.1 christos Fri Mar 6 21:54:53 1992 K. Richard Pixley (rich (a] cygnus.com) 4918 1.1 christos 4919 1.1 christos * Makefile.in: added check target. 4920 1.1 christos 4921 1.1 christos Thu Mar 5 21:35:49 1992 K. Richard Pixley (rich (a] cygnus.com) 4922 1.1 christos 4923 1.1 christos * Makefile.in: added clean-info target. 4924 1.1 christos 4925 1.1 christos Tue Mar 3 15:36:37 1992 K. Richard Pixley (rich (a] rtl.cygnus.com) 4926 1.1 christos 4927 1.1 christos * Makefile.in: remove $(COPY_PROG) from PROGS. It shouldn't be 4928 1.1 christos installed. added tooldir and program_prefix. 4929 1.1 christos 4930 1.1 christos Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich (a] cygnus.com) 4931 1.1 christos 4932 1.1 christos * Makefile.in, configure.in: removed traces of namesubdir, 4933 1.1 christos -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced 4934 1.1 christos copyrights to '92, changed some from Cygnus to FSF. 4935 1.1 christos 4936 1.1 christos Sun Feb 16 12:53:02 1992 Per Bothner (bothner at cygnus.com) 4937 1.1 christos 4938 1.1 christos * Makefile.in: Bump version to 1.96, and remove -beta 4939 1.1 christos suffix from distribution name. 4940 1.1 christos * m68k-pinsn.c: New macro COERCE_SIGNED_CHAR to extract 4941 1.1 christos the signed value of a character (even if chars are unsigned). 4942 1.1 christos * sparc-pinsn.c: Add new operand types. 4943 1.1 christos 4944 1.1 christos Thu Feb 6 12:14:19 1992 Steve Chamberlain (sac at rtl.cygnus.com) 4945 1.1 christos 4946 1.1 christos * objdump.c (disassemble_data): don't print a section's contents 4947 1.1 christos if it's not loadable (eg bss) 4948 1.1 christos 4949 1.1 christos Tue Jan 28 11:11:06 1992 Steve Chamberlain (sac at rtl.cygnus.com) 4950 1.1 christos 4951 1.1 christos * m68k-pinsn.c (print_insn_arg): fixed so that -ve branch 4952 1.1 christos displacements don't get printed as large +ve ones. 4953 1.1 christos 4954 1.1 christos Fri Jan 24 14:47:53 1992 Steve Chamberlain (sac at rtl.cygnus.com) 4955 1.1 christos 4956 1.1 christos * copy.c, nm.c, objdump.c, size.c : changed to use the 4957 1.1 christos new reloc scheme. 4958 1.1 christos 4959 1.1 christos 4960 1.1 christos Mon Dec 30 18:34:41 1991 Per Bothner (bothner at cygnus.com) 4961 1.1 christos 4962 1.1 christos * bucomm.c (print_arelt_descr): Tweek the output format 4963 1.1 christos so that 'ar tv' output follows Posix 1003.2/D11. 4964 1.1 christos Output is now also identical to Sun's (except __.SYMDEF). 4965 1.1 christos 4966 1.1 christos Mon Dec 30 06:09:53 1991 John Gilmore (gnu at cygnus.com) 4967 1.1 christos 4968 1.1 christos * Makefile.in: Make `make' output more readable. 4969 1.1 christos 4970 1.1 christos Wed Dec 18 15:04:45 1991 Per Bothner (bothner at cygnus.com) 4971 1.1 christos 4972 1.1 christos * Makefile.in: Bump to version 1.94. 4973 1.1 christos 4974 1.1 christos Wed Dec 11 16:48:09 1991 Steve Chamberlain (sac at cygnus.com) 4975 1.1 christos 4976 1.1 christos * ar.c: added "b" to fopens for dos 4977 1.1 christos * configdj.bat, makefile.dos new files from DJ 4978 1.1 christos 4979 1.1 christos Tue Dec 10 04:07:26 1991 K. Richard Pixley (rich at rtl.cygnus.com) 4980 1.1 christos 4981 1.1 christos * Makefile.in: infodir belongs in datadir. 4982 1.1 christos 4983 1.1 christos Sat Dec 7 17:09:37 1991 Steve Chamberlain (sac at rtl.cygnus.com) 4984 1.1 christos 4985 1.1 christos * bucomm.h: created to hold prototypes of bucomm.c 4986 1.1 christos * objdump.h: created to hold prototyes of objdump.c 4987 1.1 christos * am29k-pinsn.c: include objdump.h 4988 1.1 christos * ar.c: include bucomm.h, get ar.h from the right place and 4989 1.1 christos include libbfd.h 4990 1.1 christos * bucomm.c: defunize bfd_fatal 4991 1.1 christos * copy.c: include bucomm.h, lint. 4992 1.1 christos * i960-pinsn.h: include bucomm.h 4993 1.1 christos * m68k-pinsn.h: lint 4994 1.1 christos * nm.c: include bucomm.h, lint 4995 1.1 christos * objdump.c: lint 4996 1.1 christos * sparc-pinsn.c: include objdump.h 4997 1.1 christos 4998 1.1 christos 4999 1.1 christos 5000 1.1 christos Fri Dec 6 23:02:14 1991 K. Richard Pixley (rich at rtl.cygnus.com) 5001 1.1 christos 5002 1.1 christos * Makefile.in: added standards.text support. install using 5003 1.1 christos INSTALL_PROGRAM and INSTALL_DATA. 5004 1.1 christos 5005 1.1 christos * configure.in: configure now does all of it's work from objdir so 5006 1.1 christos make file existence tests against ${srcdir}. 5007 1.1 christos 5008 1.1 christos Thu Dec 5 22:46:22 1991 K. Richard Pixley (rich at rtl.cygnus.com) 5009 1.1 christos 5010 1.1 christos * Makefile.in: idestdir and ddestdir go away. Added copyrights 5011 1.1 christos and shift gpl to v2. Added ChangeLog if it didn't exist. docdir 5012 1.1 christos and mandir now keyed off datadir by default. 5013 1.1 christos 5014 1.1 christos Wed Dec 4 22:42:03 1991 Per Bothner (bothner at cygnus.com) 5015 1.1 christos 5016 1.1 christos * Makefile.in: Bump to version 1.93. 5017 1.1 christos * Makefile.in: Add make-strip.o:maybe-strip.c dependency 5018 1.1 christos for make versions that provide half-baked VPATH-support (e.g. Sun's). 5019 1.1 christos * size.c: Improvements suggested by 5020 1.1 christos "david d [zoo] zuhn" <zoo (a] aps1.spa.umn.edu>: 5021 1.1 christos - Don't emit (Berkeley) headers if no files were found. 5022 1.1 christos - Return a non-zero return code on failure. 5023 1.1 christos 5024 1.1 christos Sat Nov 30 21:34:19 1991 Steve Chamberlain (sac at rtl.cygnus.com) 5025 1.1 christos 5026 1.1 christos Changes due to include file renaming: 5027 1.1 christos * am29k-pinsn.c: a29k-opcode.h -> opcode/a29k.h 5028 1.1 christos * sparc-pinsn.c: sparc-opcode.h -> opcode/sparc.h 5029 1.1 christos * m68k-pinsn.c: m68k-opcode.h -> opcode/m68k.h 5030 1.1 christos * nm.c: stab.gnu.h -> aout/stab_gnu.h 5031 1.1 christos 5032 1.1 christos Tue Nov 19 19:20:43 1991 Per Bothner (bothner at cygnus.com) 5033 1.1 christos 5034 1.1 christos * README: Mention MINIMIZE flag for bfd's make. 5035 1.1 christos 5036 1.1 christos Mon Nov 18 12:05:37 1991 Per Bothner (bothner at cygnus.com) 5037 1.1 christos 5038 1.1 christos * README: Various improvements. 5039 1.1 christos 5040 1.1 christos Sun Nov 17 23:40:59 1991 Per Bothner (bothner at cygnus.com) 5041 1.1 christos 5042 1.1 christos * Makefile.in: Bump to version 1.92. 5043 1.1 christos * version.c, Makefile.in: Get version string from Makefile. 5044 1.1 christos * copy.c, is-strip.c, not-strip.c, maybe-strip.c, Makefile.in: 5045 1.1 christos Make the same change that we earlier did for ar/ranlib: 5046 1.1 christos Generate two different binaries for strip and copy and use 5047 1.1 christos a global variable with different values to distinguish 5048 1.1 christos ostrip from copy. (-1 means to use argv[0] to decide, 5049 1.1 christos so you can get the old behavior, but it is no longer the default). 5050 1.1 christos * copy.c (copy_file): Set EXEC_P of output bfd if input is so. 5051 1.1 christos * copy.c (main): If is_strip==-1, compare last 5 chars 5052 1.1 christos of argv[0], not the whole path. 5053 1.1 christos * copy.c (main): Return 0, not 1. 5054 1.1 christos * copy.c (setup_sections): Fix due to change in bfd_make_section 5055 1.1 christos now failing if asked for a duplicate section. 5056 1.1 christos * strip.c, ostrip.c: Removed obsolete files. 5057 1.1 christos * ar.c, not-ranlib.c, maybe-ranlib.c: 5058 1.1 christos Change encoding of is_ranlib variable to be consistent 5059 1.1 christos with is_strip for strip.copy (i.e -1 to means use argv[0]). 5060 1.1 christos 5061 1.1 christos Thu Nov 14 20:11:02 1991 Per Bothner (bothner at cygnus.com) 5062 1.1 christos 5063 1.1 christos * version.c (program_version): Update to version 1.92. 5064 1.1 christos 5065 1.1 christos Tue Nov 12 16:17:53 1991 Per Bothner (bothner at cygnus.com) 5066 1.1 christos 5067 1.1 christos * ar.c (get_pos_bfd): Previous fix was missing a "break". 5068 1.1 christos 5069 1.1 christos Thu Nov 7 08:55:56 1991 Steve Chamberlain (sac at cygnus.com) 5070 1.1 christos 5071 1.1 christos * am29k-pinsn.c: Fixed bug in mtacc, dmac and fmac instruction 5072 1.1 christos encodings. (Thaks to David Wood) 5073 1.1 christos 5074 1.1 christos Sun Nov 3 14:50:23 1991 Per Bothner (bothner at cygnus.com) 5075 1.1 christos 5076 1.1 christos * Makefile.in ($(DIST_NAME).tar.Z), TODO: Various fixes. 5077 1.1 christos * ar.c (get_pos_bfd): Fix to handling of before/after 5078 1.1 christos positioning options. 5079 1.1 christos * bucomm.c (fatal): MISSING_VFPRINTF is no longer an issue, 5080 1.1 christos since libiberty contains vfprintf etc if otherwise missing. 5081 1.1 christos * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL 5082 1.1 christos type operands, as used by branch instructions. 5083 1.1 christos * nm.c: Delegate printing of symbols to BFD, 5084 1.1 christos by using bfd_print_symbol to do the formatting. 5085 1.1 christos 5086 1.1 christos Mon Oct 28 11:20:47 1991 Steve Chamberlain (steve at cygnus.com) 5087 1.1 christos 5088 1.1 christos * ar.c (write_archive.c): added unlink before rename since some 5089 1.1 christos systems can't rename onto an existant file. 5090 1.1 christos 5091 1.1 christos Mon Oct 21 09:47:23 1991 Steve Chamberlain (steve at rtl.cygnus.com) 5092 1.1 christos 5093 1.1 christos * nm.c: now doesn't crash if a symbol with no section and no 5094 1.1 christos SEC_ABS appears. 5095 1.1 christos 5096 1.1 christos Thu Oct 17 15:25:50 1991 Per Bothner (bothner at cygnus.com) 5097 1.1 christos 5098 1.1 christos * Makefile.in, version.c: Bump to version 1.91. 5099 1.1 christos 5100 1.1 christos Wed Oct 16 11:45:36 1991 Per Bothner (bothner at cygnus.com) 5101 1.1 christos 5102 1.1 christos * Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c, 5103 1.1 christos i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c, 5104 1.1 christos * strip.c: Add or update Copyright notice. 5105 1.1 christos * TODO: Add note on 'nm -a'. 5106 1.1 christos * version.c: Update version number to 1.90. 5107 1.1 christos * Makefile.in: Fix making of documentation for dist. 5108 1.1 christos 5109 1.1 christos Tue Oct 15 00:17:17 1991 Per Bothner (bothner at cygnus.com) 5110 1.1 christos 5111 1.1 christos * README: New file. 5112 1.1 christos * Makefile.in: New kludgy rules for making a tarfile. 5113 1.1 christos * Makefile.in: Fix bindir path. 5114 1.1 christos 5115 1.1 christos Mon Oct 14 17:34:29 1991 Roland H. Pesch (pesch at cygnus.com) 5116 1.1 christos 5117 1.1 christos * Makefile.in: add targets binutils.mm, binutils.me 5118 1.1 christos 5119 1.1 christos Fri Oct 11 22:44:21 1991 John Gilmore (gnu at cygnus.com) 5120 1.1 christos 5121 1.1 christos * Makefile.in: Avoid Sun Make VPATH bugs by adding dependencies. 5122 1.1 christos 5123 1.1 christos Fri Oct 11 12:51:33 1991 Roland H. Pesch (pesch at cygnus.com) 5124 1.1 christos 5125 1.1 christos * Makefile.in: add target "binutils.ms" 5126 1.1 christos 5127 1.1 christos * binutils.texinfo: minor restructuring for texi2roff comfort. 5128 1.1 christos 5129 1.1 christos Fri Oct 11 04:12:28 1991 John Gilmore (gnu at cygnus.com) 5130 1.1 christos 5131 1.1 christos Restructure configuration scheme for bfd, binutils, ld. 5132 1.1 christos 5133 1.1 christos * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h. 5134 1.1 christos Change some config names to match other dirs. 5135 1.1 christos * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO() 5136 1.1 christos get defined first. 5137 1.1 christos * Makefile.in: Use -I. to get sysdep.h. 5138 1.1 christos 5139 1.1 christos Wed Oct 9 22:42:56 1991 Per Bothner (bothner at cygnus.com) 5140 1.1 christos 5141 1.1 christos * nm.c (print_symbols): Handle NULL name field of symbol. 5142 1.1 christos * Makefile.in: Removed spurious comment. 5143 1.1 christos 5144 1.1 christos Tue Oct 8 16:55:03 1991 Roland H. Pesch (pesch at cygnus.com) 5145 1.1 christos 5146 1.1 christos * binutils.texinfo: minor typos, phrasing, formatting fixes. 5147 1.1 christos 5148 1.1 christos Tue Oct 8 15:13:20 1991 Per Bothner (bothner at cygnus.com) 5149 1.1 christos 5150 1.1 christos * configure.in: Get host file from ../bfd/config, not config. 5151 1.1 christos * config/*: Remove config directory and its files. 5152 1.1 christos 5153 1.1 christos Tue Oct 8 13:58:59 1991 Roland H. Pesch (pesch at cygnus.com) 5154 1.1 christos 5155 1.1 christos * Makefile.in: new targets binutils.dvi, binutils.info 5156 1.1 christos 5157 1.1 christos * binutils.texinfo: remove most remaining FIXME's, delete 5158 1.1 christos references to __.SYMDEF by name 5159 1.1 christos 5160 1.1 christos 5161 1.1 christos Tue Oct 8 10:23:44 1991 Steve Chamberlain (steve at cygnus.com) 5162 1.1 christos 5163 1.1 christos * objdump.c (print_address) Print addresses nicely. 5164 1.1 christos 5165 1.1 christos Mon Oct 7 11:31:05 1991 Per Bothner (bothner at cygnus.com) 5166 1.1 christos 5167 1.1 christos * ar.c, Makefile.in, new files {is,not,maybe}-ranlib.c: 5168 1.1 christos Make two different binaries for ar and ranlib, instead of 5169 1.1 christos distinguishing them at run time using argv[0]. 5170 1.1 christos (Old behavior is still available if you "make ar_with_ranlib", 5171 1.1 christos but it is not the default.) 5172 1.1 christos * ranlib.sh (new): An alternative one-line 5173 1.1 christos shell implementation of ranlib. 5174 1.1 christos 5175 1.1 christos Fri Oct 4 21:49:44 1991 John Gilmore (gnu at cygnus.com) 5176 1.1 christos 5177 1.1 christos * objdump.c: Cope with renames of a few BFD types & enums. 5178 1.1 christos 5179 1.1 christos Fri Oct 4 19:08:09 1991 Roland H. Pesch (pesch at cygnus.com) 5180 1.1 christos 5181 1.1 christos * binutils.texinfo: add new file (rudimentary docn) 5182 1.1 christos 5183 1.1 christos Mon Sep 30 12:30:39 1991 Per Bothner (bothner at cygnus.com) 5184 1.1 christos 5185 1.1 christos * config/hmake-news: Add new file (for Sony NEWSOS3). 5186 1.1 christos * bucomm.c (fatal): Conditionally compile fatal() depending on 5187 1.1 christos MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS. 5188 1.1 christos * objdump.c (dump_headers): Trivial output format change. 5189 1.1 christos * objdump.c (display_info): Loop over integers, not enums, 5190 1.1 christos to appease old compilers. 5191 1.1 christos 5192 1.1 christos Mon May 20 16:14:07 1991 Steve Chamberlain (steve at cygint.cygnus.com) 5193 1.1 christos 5194 1.1 christos *objdump.c *nm.c *copy.c: Changed some types to work with 64 bit 5195 1.1 christos object files. 5196 1.1 christos 5197 1.1 christos Thu May 16 16:06:55 1991 Steve Chamberlain (steve at cygint.cygnus.com) 5198 1.1 christos from bother 5199 1.1 christos * objdump.c (print_address): Make disasembled output more 5200 1.1 christos consistent with gdb and as: Add 0x when printing hex. 5201 1.1 christos Don't print extra leading zeros. 5202 1.1 christos Attempt to not print "filename.o". 5203 1.1 christos * objdump.c: Add some enum-to-int casts to accommodate old compilers. 5204 1.1 christos 5205 1.1 christos 5206 1.1 christos Fri May 3 22:21:44 1991 John Gilmore (gnu at cygint.cygnus.com) 5207 1.1 christos 5208 1.1 christos * copy.c: Change =& constructs to = &, since they confuse older 5209 1.1 christos C compilers. 5210 1.1 christos 5211 1.1 christos 5213 1.3 christos Copyright (C) 1991-1997 Free Software Foundation, Inc. 5214 1.3 christos 5215 1.3 christos Copying and distribution of this file, with or without modification, 5216 1.3 christos are permitted in any medium without royalty provided the copyright 5217 1.3 christos notice and this notice are preserved. 5218 1.1 christos 5219 1.1 christos Local Variables: 5220 1.1 christos mode: change-log 5221 1.1 christos left-margin: 8 5222 1.1 christos fill-column: 74 5223 1.1 christos version-control: never 5224 End: 5225