11999-12-28 Nick Clifton <nickc@cygnus.com> 2 3 * readelf.c: Update with new constants added by Oct 4, 1999 4 ELF ABI draft. 5 (guess_is_rela): Add new machine codes, but leave 6 rel type undetermined. 7 (get_machine_name): Add new machine codes. 8 (get_section_type_name): Add new section types. 9 (get_elf_section_flags): New function: Decode section flags. 10 (process_section_headers): Call get_elf_section_flags() in 11 order to decode flags in section header. 12 (get_dynamic_flags): New function: Decode dynamic section 13 flags. 14 (process_dynamic_section): Display flags (if present). 15 (get_symbol_type): Add STT_COMMON. 16 (get_symbol_visibility): New function: Decode a symbol's 17 visibility. 18 (process_symbol_table): Call get_symbol_visibility(). 19 (get_note_type): Add NT_PRXFPREGS. 20 211999-12-26 Ian Lance Taylor <ian@zembu.com> 22 23 * strings.c (main): Correct handling of numeric argument. 24 251999-12-23 Andrew Haley <aph@cygnus.com> 26 27 * dlltool.c (mtable): mcore how_jtab_roff is 4 bytes into the 28 jtab; was 8. 29 301999-12-17 Nick Clifton <nickc@cygnus.com> 31 32 * dlltool.c (mtable): Stop compile time warnings about missing 33 initialisers. 34 (yyerror): Stop compile time warnings about unused paramater. 35 (INIT_SEC_DATA): New macro: initialise an entry in the secdata 36 array. 37 (secdata): Stop ccompile time warnings about uninitialised 38 fields. 39 (dtab): Stop compile time warnings about unused parameter. 40 (long_options): Stop compile time warning about missing 41 initialiser. 42 431999-12-10 Nick Clifton <nickc@cygnus.com> 44 45 * readelf.c (print_vma): Support native 64bit ELF systems. 46 471999-12-09 Nick Clifton <nickc@cygnus.com> 48 49 * dlltool.c (mtable): Add epoc-arm specific entry. 50 Make default arm entry pass -mpacs-26 to assembler. 51 (flush_page): Do not mangle null entries. 52 531999-12-07 H . J . Lu hjl@valinux.com 54 55 * readelf.c: Fix compile time warnings. Support more than 999 56 symbols. 57 581999-12-03 Nick Clifton <nickc@cygnus.com> 59 60 * readelf.c (enum print_mode): New type. 61 (print_vma): New function. 62 (dump_relocations): Use print_vma to display bfd_vma values. 63 (process_file_header): Use print_vma to display bfd_vma values. 64 (process_program_headers): Use print_vma to display bfd_vma values. 65 (process_section_headers): Use print_vma to display bfd_vma values. 66 (dynamic_segment_parisc_val): Use print_vma to display bfd_vma values. 67 (process_dynamic_segment): Use print_vma to display bfd_vma values. 68 (process_symbol_table): Use print_vma to display bfd_vma values. 69 (process_mips_specific): Use print_vma to display bfd_vma values. 70 711999-11-25 Fred Fish <fnf@cygnus.com> 72 73 * readelf.c (process_note): Change arg from Elf_External_Note 74 to Elf32_Internal_Note, which also turns the function body 75 into little more than a call to printf. 76 (process_corefile_note_segment): Substantially rewritten 77 to properly handle case where target and host are different 78 endianness, handle note sections with padding, and add some 79 cruft to handle notes with unterminated name data. 80 811999-11-22 Nick Clifton <nickc@cygnus.com> 82 83 * objcopy.c (copy_usage): Reformat. 84 (strip_usage): Reformat. 85 861999-11-21 Nick Clifton <nickc@cygnus.com> 87 88 * objdump.c (usage): Overhaul output: One line per switch. 89 Textual description of each switch. Distinguish between 90 optional switches and required switches. 91 (long_options): Add 'g', 'G' and 'z' short options. 92 (main): Distinguish between optional switches and required 93 switches. 94 95 * binutils.texi: Add -g -G and -z short options for 96 --debugging, --stabs and --disassemble-zeroes. 97 981999-11-03 Nick Clifton <nickc@cygnus.com> 99 100 * dlltool.c (flush_page): Clip short values to prevent warnings 101 from the assembler. 102 Change default mcore machine name to 'mcore-le' and rename 103 big-endian version to 'mcore-be'. 104 1051999-10-27 Fred Fish <fnf@cygnus.com> 106 107 * objdump.c (display_bfd): Break into two functions. The 108 actual dumping code moves to dump_bfd. If bfd is not 109 unambiguously recognized as a bfd_object, attempt to dump 110 it as a bfd_core. 111 (dump_bfd): New function. 112 1131999-10-26 Nick Clifton <nickc@cygnus.com> 114 115 * dlltool.c (assemble_file): Remove spurious test of exp_name. 116 1171999-10-22 Nick Clifton <nickc@cygnus.com> 118 119 * dlltool.c (struct mac): Add new field 'how_default_as_switches'. 120 (mtable): Initialise new field. Some machines have a non empty 121 string for this field. 122 (HOW_BFD_TARGET): Undefine and replace with... 123 (HOW_BFD_READ_TARGET): New macro: bfd target to use when opening a 124 file for reading. This is set to 0 so that any recognisable bfd 125 format can be read. 126 (HOW_BFD_WRITE_TARGET): New macro: bfd target to use when opening 127 a file for writing. This is set to the target machine type. 128 (ASM_SWITCHES): New macro: default switches to use when assembling 129 a file. 130 (assemble_file): New function: Assemble a source file into a 131 destination object file. 132 (gen_exp_file): Use assemble_file to create the exp file. 133 (make_one_lib_file): Use assemble_file to create the lib file. 134 Open output file use HOW_BFD_WRITE_TARGET and input files using 135 HOW_BFD_READ_TARGET. 136 (make_head): Use assemble_file to create the head file. 137 (make_tail): Use assemble_file to create the tail file. 138 (gen_lib_file): Open output file use HOW_BFD_WRITE_TARGET. 139 1401999-10-15 Ian Lance Taylor <ian@zembu.com> 141 142 * ar.c (normalize): Fix full_pathname code. 143 1441999-10-08 Ben Elliston <bje@cygnus.com> 145 146 * binutils.texi: Some rewording and clarifications. 147 1481999-09-15 Ulrich Drepper <drepper@cygnus.com> 149 150 * readelf.c (dynamic_segment_parisc_val): Print 0 for DLD_FLAGS if 151 the value is zero. 152 (process_symbol_table): Don't print histogram if hash table is empty. 153 1541999-09-15 Ulrich Drepper <drepper@cygnus.com> 155 156 * readelf.c (get_parisc_dynamic_type): Handle DT_HP_GST_* values. 157 1581999-09-02 Ulrich Drepper <drepper@cygnus.com> 159 160 * readelf.c (get_symbol_type): Add support for HPUX and PARISC 161 specific symbol types. 162 163 * readelf.c: Add HPUX and PARISC extensions to dynamic and program 164 header table printing. 165 166 * readelf.c (get_machine_flags): Add handling of PARISC. 167 1681999-09-29 Mumit Khan <khan@xraylith.wisc.edu> 169 170 * dlltool.c (scan_drectve_symbols): Handle type tags in exported 171 symbols. 172 (scan_filtered_symbols): Likewise. 173 1741999-09-19 Ian Lance Taylor <ian@zembu.com> 175 176 * resrc.c (write_rc_rcdata): Fix local variable shadowing 177 problem. If RCDATA_BUFFER data can be read as strings, modify 178 code to print the strings as comments. 179 * resres.c: Add casts to avoid warnings. 180 (write_res_data, read_res_data): Don't put the program name in the 181 error message; fatal already puts it there. 182 1831999-09-14 Michael Meissner <meissner@cygnus.com> 184 185 * configure.in (Canonicalization of target names): Remove adding 186 ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14 187 generates $ac_config_sub with a ${CONFIG_SHELL} already. 188 * configure: Regenerate. 189 1901999-09-12 Ian Lance Taylor <ian@zembu.com> 191 192 * ar.c (main): Clear output_file if we don't change the archive. 193 (delete_members, replace_members): Likewise. 194 1951999-09-12 Donn Terry <donn@interix.com> 196 197 * objdump.c (dump_headers): If wide_output, print Flags header. 198 199 * objdump.c (dump_section_header): Print any comdat information. 200 201 * objcopy.c (parse_flags): Handle "noload", "debug", and "share". 202 * binutils.texi, objcopy.1: Document new flags. 203 204 * ar.c (counted_name_mode): New static variable. 205 (counted_name_counter): New static variable. 206 (map_over_members): Handle counted mode. 207 (usage): Mention N modifier. 208 (main): Handle N modifier. 209 (delete_members): Handle counted mode. 210 * binutils.texi, ar.1: Document N modifier. 211 212 * ar.c (print_contents): Change printing of member name for 213 POSIX.2 conformance. 214 215 * ar.c (output_filename): Make const. 216 (open_inarch): If creating a new empty archive, set 217 output_filename. 218 2191999-09-12 Ian Lance Taylor <ian@zembu.com> 220 221 * ar.c (full_pathname): New static variable. 222 (map_over_members): Call normalize on command line parameter. 223 (usage): Mention P modifier. 224 (normalize): If full_pathname is true, don't do anything. 225 (main): Accept P modifier. 226 (delete_members): Call normalize on command line parameter. 227 * binutils.texi, ar.1: Document P modifier. 228 2291999-09-09 Andreas Schwab <schwab@suse.de> 230 231 * binutils.texi: Add info dir entries for all programs described 232 here. Fix arguments of @var to not contain punctuation. 233 2341999-09-06 Donn Terry <donn@interix.com> 235 236 * nm.c (print_symbol_info_bsd): Check for 'w' as well as 'U'. 237 (print_symbol_info_sysv): Likewise. 238 (print_symbol_info_posix): Likewise. 239 2401999-09-04 Steve Chamberlain <sac@pobox.com> 241 242 * readelf.c: Include "elf/pj.h". 243 (dump_relocations): Handle EM_PJ. 244 (get_machine_name): Likewise. 245 (get_machine_flags): Likewise. 246 2471999-08-31 Scott Bambrough <scottb@netwinder.org> 248 249 * readelf.c (get_note_type): New function: Decode the e_type 250 value of a note. 251 (process_note): New function: Display the contents of a core note. 252 (process_corefile_note_segment): New function. 253 (process_corefile_note_segments): New function. 254 (process_corefile_contents): New function. 255 (process_file): Add call to process_corefile_contents. 256 (parse_args): Add parsing of -n/--notes command line switch. 257 (usage): Document new command line switch. 258 259 * binutils.texi: Documemnt new command line switch to readelf. 260 2611999-08-31 Ian Lance Taylor <ian@zembu.com> 262 263 * binutils.texi (Bug Reporting): Clarify that large files should 264 not be sent to bug-gnu-utils. 265 2661999-08-28 Stephane Carrez <stcarrez@worldnet.fr> 267 268 * readelf.c (process_extended_line_op): New parameter pointer_size, 269 read the address according to pointer_size. 270 (debug_line_pointer_size): New global to indicate the 271 size of address in .debug_line section. 272 (debug_displays, prescan_debug_info): Prescan the .debug_info section 273 to record the size of address in `debug_line_pointer_size'. 274 (process_section_contents): Before dumping any section, execute 275 the pre-scan operation defined for some debug sections. 276 2771999-08-27 Jim Wilson <wilson@cygnus.com> 278 279 * readelf.c (display_debug_lines): Use i-1 not i in standard_opcodes 280 access. 281 (display_debug_aranges): New local excess. Use for calculating padding 282 and add that into ranges. Break from loop only if length is also 0. 283 2841999-08-27 Jim Wilson <wilson@cygnus.com> 285 286 * readelf.c (display_debug_lines, case DW_LNS_const_add_pc): Multiply 287 adv by info.li_min_insn_length. 288 2891999-08-26 Jakub Jelinek <jj@ultra.linux.cz> 290 291 * readelf.c (get_sparc64_dynamic_type): New function. 292 (get_dynamic_type): Use it. 293 2941999-08-26 Jim Wilson <wilson@cygnus.com> 295 296 * readelf.c (display_debug_lines, case default): Change second line 297 setting adv to use = not +=. 298 2991999-08-19 Nick Clifton <nickc@cygnus.com> 300 301 * dlltool.c: Added more examples to the comment at the start. 302 3031999-08-18 Nick Clifton <nickc@cygnus.com> 304 305 * dlltool.c (make_head): Only emit interworking directive if 306 necessary. 307 308Thu Jul 15 22:44:21 1999 Hans-Peter Nilsson <hp@bitrange.com> 309 310 * readelf.c (process_abbrev_section): Handle standard-conforming 311 single zero at the end of the section. 312 3131999-08-09 Ian Lance Taylor <ian@zembu.com> 314 315 * objdump.c (exit_status): New static variable. 316 (nonfatal): New static function. 317 (disassemble_data): Set exit_status on error. 318 (read_section_stabs): Likewise. 319 (display_bfd): Likewise. Call nonfatal rather than bfd_nonfatal. 320 (display_file): Call nonfatal rather than bfd_nonfatal. 321 (display_target_list, display_info_table): Likewise. 322 (main): Return exit_status rather than 0. 323 3241999-08-08 Ian Lance Taylor <ian@zembu.com> 325 326 * objdump.c (dump_section_header): Update for renaming of 327 SEC_SHORT to SEC_SMALL_DATA. Print SEC_SHARED flag. 328 329 From Eli Zaretskii <eliz@gnu.org>: 330 * binutils.texi: Document cxxfilt as MS-DOS name for c++filt. 331 332 * configure.in: Define and substitute DEMANGLER_NAME. 333 * Makefile.am (DEMANGLER_PROG): Set to cxxfilt. 334 (man_MANS): Use DEMANGLER_NAME rather than DEMANGLER_PROG. 335 (bin_PROGRAMS): Remove $(DEMANGLER_PROG). 336 (noinst_PROGRAMS): Add $(DEMANGLER_PROG). 337 (cxxfilt_SOURCES): Rename from c__filt_SOURCES. 338 (cxxfilt_LDADD): Rename from c__filt_LDADD. 339 ($(DEMANGLER_NAME).1): Rename from $(DEMANGLER_PROG).1. Use 340 DEMANGLER_NAME rather than DEMANGLER_PROG in substitution. 341 (MOSTLYCLEANFILES): Use DEMANGLER_NAME rather than 342 DEMANGLER_PROG. 343 (install-exec-local): When installing noinst_PROGRAMS, change 344 cxxfilt to $(DEMANGLER_NAME). 345 * configure, Makefile.in: Rebuild. 346 347 * Makefile.am: Rename .dep* files to DEP*. Change DEP variable to 348 MKDEP. 349 * Makefile.in: Rebuild. 350 3511999-08-05 Donn Terry <donn@interix.com> 352 353 * Makefile.am (YACC): If bison is not in the source tree, use 354 @YACC@ rather than bison -y. 355 (LEX): If flex is not in the source tree, use @LEX@ rather than 356 flex. 357 * configure.in: Build dlltool for i[3-6]86-*-interix. 358 * Makefile.in, configure: Rebuild. 359 3601999-07-21 Ian Lance Taylor <ian@zembu.com> 361 362 From Mark Elbrecht: 363 * configure.bat: Remove; obsolete. 364 3651999-07-16 Jakub Jelinek <jj@ultra.linux.cz> 366 367 * readelf.c (get_machine_flags): Print EF_SPARC_SUN_US3. 368 3691999-07-15 Ian Lance Taylor <ian@zembu.com> 370 371 * configure.in: Bump version number to 2.9.5. 372 * configure: Rebuild. 373 3741999-07-14 Richard Henderson <rth@cygnus.com> 375 376 * objdump.c (dump_section_header): Print SEC_SHORT. 377 3781999-07-11 Ian Lance Taylor <ian@zembu.com> 379 380 * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED 381 as appropriate. Add variable initializations. Add casts. 382 * objdump.c (disassemble_bytes): Change j to bfd_vma. 383 * readelf.c (process_syminfo): Change i to unsigned int. 384 (display_debug_info): Change abbrev_number to unsigned long. 385 (process_mips_specific): Change fcnt to size_t. 386 3871999-07-09 Nick Clifton <nickc@cygnus.com> 388 389 * readelf.c: Only support decoding 64bit ELF files if the compiler 390 supports a 64 bit data type. 391 Add -I equivalent for --histogram. 392 Add -A command-line option to display architecture specific information. 393 3941999-07-08 Jakub Jelinek <jj@ultra.linux.cz> 395 396 * readelf.c (guess_is_rela): Sparcv9 and v8plus use rela. 397 (dump_relocations): Use ELF64_R_TYPE_ID for Sparc, for R_SPARC_OLO10 398 print the secondary addend. 399 (get_machine_flags): Print Sparc machine flags. 400 (get_symbol_type): Print STT_REGISTER. 401 4021999-07-08 Ian Lance Taylor <ian@zembu.com> 403 404 * stabs.c (parse_stab_type): Fix handling of template names with 405 template parameters containing `::'. 406 (stab_demangle_type): Handle a qualified name in a pointer to 407 member. 408 4091999-06-23 Ian Lance Taylor <ian@zembu.com> 410 411 * Makefile.am (dlltool_SOURCES): Add dyn-string.c. 412 * Makefile.in: Rebuild. 413 4141999-06-23 Mumit Khan <khan@xraylith.wisc.edu> 415 416 * configure.in (HAVE_EXECUTABLE_SUFFIX): Define. 417 * dlltool.c (look_for_prog): Use HAVE_EXECUTABLE_SUFFIX. 418 * dllwrap.c (look_for_prog): Likewise. 419 * resrc.c (look_for_default): Likewise. 420 * configure, config.in: Rebuild. 421 4221999-06-22 Ian Lance Taylor <ian@zembu.com> 423 424 Based on patches from Mumit Khan <khan@xraylith.wisc.EDU>: 425 * configure.in: Define EXECUTABLE_SUFFIX. 426 * dlltool.c: Include "dyn-string.h". Include <stdarg.h> based on 427 ANSI_PROTOTYPES, not __STDC__. 428 (outfile): Remove. 429 (gen_exp_file): Change uses of outfile to use alloca. 430 (make_one_lib_file, make_head, make_tail): Likewise. 431 (gen_lib_file): Likewise. 432 (look_for_prog): New static function. 433 (deduce_name): Rewrite to use look_for_prog. 434 (mcore_elf_gen_out_file): Use dyn_string_t rather than outfile. 435 * dllwrap.c: Don't include <stdio.h>, <errno.h>, <string.h>, 436 <stdlib.h>, or <unistd.h>. Include <sys/stat.h> and either 437 <stdarg.h> or <varargs.h>. 438 (driver_name): Initialize to NULL, not "gcc". 439 (dlltool_name): Initialize to NULL, not "dlltool". 440 (display, inform, look_for_prog, deduce_name): New static 441 functions. 442 (usage): Mention -mno-cygwin. 443 (OPTION_MNO_CYGWIN): Define. 444 (main): Handle -mno-cygwin. Deduce driver_name and dlltool_name. 445 * resrc.c (look_for_default): Make static. Remove unused local 446 path. Check using EXECUTABLE_SUFFIX. 447 (read_rc_file): Allocate enough space to hold EXECUTABLE_SUFFIX. 448 * Makefile.am: Rebuild dependencies. 449 (dllwrap_LDADD): Add $(INTLLIBS). 450 * configure, Makefile.in, config.in: Rebuild. 451 452Mon Jun 21 16:49:11 1999 Jeffrey A Law (law@cygnus.com) 453 454 * readelf.c (dump_relocations): Use elf_hppa_reloc_type instead of 455 elf32_hppa_reloc_type. 456 4571999-06-17 Nick Clifton <nickc@cygnus.com> 458 459 * dlltool.c (mcore_elf_gen_out_file): Link object files with the 460 .exp file, not the .lib file. 461 462Fri Jun 18 20:17:51 1999 Mumit Khan <khan@xraylith.wisc.edu> 463 464 * deflex.l: Accept single-character symbol names. 465 4661999-06-16 Nick Clifton <nickc@cygnus.com> 467 468 * readelf.c (get_symbol_type): Detect ARM symbols typed as Thumb 469 functions. 470 4711999-06-14 Nick Clifton <nickc@cygnus.com> 472 473 * objdump.c (disassembler_options): New variable. 474 (usage): Document new -M/--disassembler-options option. 475 (long_options): Add --disassembler-options. 476 (disassemble_data): Initialise disassembler_options field of 477 disassembler_info structure. 478 (main): Add parsing of -M option. 479 480 * binutils.texi: Document new command line switch to objdump. 481 482 * NEWS: Describe new command line switch to objdump. 483 484 485Mon Jun 14 10:27:54 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> 486 487 * binutils.texi: Fix typos. 488 4891999-06-13 Ian Lance Taylor <ian@zembu.com> 490 491 * objdump.c (disassemble_bytes): If the disassembler returns an 492 error, print out anything it may have printed to the buffer. From 493 H.J. Lu <hjl@gnu.org>. 494 495 * defparse.y (explist): Remove separate expline to eliminate 496 shift/reduce conflict. 497 498 From Kai-Uwe Rommel <rommel@ars.de>: 499 * defparse.y: Add tokens NONSHARED, SINGLE, MULTIPLE, 500 INITINSTANCE, INITGLOBAL, TERMINSTANCE, and TERMGLOBAL. 501 (command): Add option_list after LIBRARY. 502 (attr): Accept and ignore NONSHARED, SINGLE, and MULTIPLE. 503 (option_list, option): New nonterminals. 504 * deflex.l: Recognize NONSHARED, SINGLE, MULTIPLE, INITINSTANCE, 505 INITGLOBAL, TERMINSTANCE, and TERMGLOBAL. 506 5071999-06-12 Ian Lance Taylor <ian@zembu.com> 508 509 * ar.c (O_BINARY): Define as 0 if not defined. 510 (ranlib_touch): Open file with O_BINARY. 511 512 * rename.c (O_BINARY): Define as 0 if not defined. 513 (simple_copy): Open files with O_BINARY. 514 515 Based on patch from H. Peter Anvin <hpa@transmeta.com>: 516 * objcopy.c (struct section_list): Add copy field. 517 (sections_copied): New static variable. 518 (copy_options): Add "only-section". 519 (copy_usage): Mention -j and --only-section. 520 (find_section_list): Initialize copy field. 521 (is_strip_section): Check for copying sections. 522 (copy_object): Check sections_copied when calling filter_symbols. 523 (setup_section): Check for copying sections. 524 (copy_section): Likewise. 525 (copy_main): Handle -j/--only-section. 526 * binutils.texi, objcopy.1: Document -j/--only-section. 527 528 * configure.in: If frexp is not available, check in -lm. 529 * configure: Rebuild. 530 531 * readelf.c (get_elf_class): Use correct printf format for type. 532 (get_data_encoding): Likewise. 533 (get_osabi_name): Likewise. 534 (process_file_header): Don't pass an extra argument to printf. 535 (process_dynamic_segment): Cast dynamic_size to long before 536 printing. 537 (decode_location_expression): Cast byte_get to long before 538 printing. 539 540Wed Jun 9 11:40:16 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> 541 542 * readelf.c (dump_section): Cast values from byte_get to 543 [unsigned] long for printing, in case it is wider than long. 544 (display_block): Likewise. 545 (read_and_display_attr): Likewise. 546 (decode_location_expression): Likewise. Don't depend on 547 evaluation order. 548 549Mon Jun 7 12:14:57 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> 550 551 * windres.c (usage): Fix typo. 552 5531999-06-04 Nick Clifton <nickc@cygnus.com> 554 555 * readelf.c: Use 64bit wide fields in internal structures even if 556 targetting a 32bit architecture. 557 (dump_relocations): Take a new parameter - the number of symbols 558 in the symbol table. 559 5601999-06-04 Nick Clifton <nickc@cygnus.com> 561 562 * readelf.c: Add support for 64bit ELF files. 563 5641999-06-03 Nick Clifton <nickc@cygnus.com> 565 566 * dlltool.c (mcore_elf_gen_out_file): Use constants for temporary 567 file names. 568 569Wed Jun 2 12:34:36 1999 Richard Henderson <rth@cygnus.com> 570 571 * dlltool.c (gen_exp_file): Revert 19990411 change. 572 573Mon May 31 09:56:22 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> 574 575 * readelf.c (process_relocs): Determine type of reloc from 576 DT_PLTREL and from section type. 577 5781999-05-29 Nick Clifton <nickc@cygnus.com> 579 580 * readelf.c (get_elf_class): Display unknown class number. 581 (get_data_encoding): Display unknown encoding number. 582 (get_osabi_name): Display unknown ABI number. 583 (process_file_header): Display unknown version number. 584 5851999-05-29 Nick Clifton <nickc@cygnus.com> 586 587 * readelf.c (dump_relocations): Fix typo. 588 5891999-05-28 Nick Clifton <nickc@cygnus.com> 590 591 * readelf.c (dump_relocations): Add extra parameter: is_rela to 592 specify the kind of relocations to be dumped. Call guess_is_rela 593 if this parameter has a value of UNKNOWN. 594 (guess_is_rela): New function: Guess the kind of reloc being used 595 baced on the machine number. 596 (process_relocs): Determine type of reloc before calling 597 dump_relocations. 598 5991999-05-28 Ian Lance Taylor <ian@zembu.com> 600 601 * readelf.c: Include "elf/i960.h". 602 (dump_relocations): Handle EM_960. 603 604Thu May 27 11:58:33 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> 605 606 * objcopy.c (copy_archive): Preserve dates of archive members if 607 requested. 608 609 * readelf.c (dump_relocations): Always print the addend on RELA 610 systems even if there is no symbol. 611 (process_program_headers): Reset dynamic_size before looping 612 through the program headers. 613 (process_version_sections): Cast sh_offset to unsigned long for 614 printing in case bfd_vma is wider. 615 (process_symbol_table): Use get_symbol_index_type when printing 616 st_shndx. 617 6181999-05-17 DJ Delorie <dj@cygnus.com> 619 620 * windres.c: add verbose option 621 (main): process verbose option 622 * resrc.c (look_for_default): new. Look for the default 623 preprocessor in a given location. 624 (read_rc_file): for foo/bar-windres, look for foo/bar-gcc, 625 foo/gcc (in case of foo/windres), and then gcc (the old default). 626 6271999-05-16 Nick Clifton <nickc@cygnus.com> 628 629 * dlltool.c (deduce_name): New function: Deduce name of program to 630 run. 631 (mcore_elf_out_file): New variable: Name of mcore-elf output file. 632 (mcore_elf_linker): New variable: Name of linker to use. 633 (mcore_elf_linker_flags): New variable: Linker flags to pass. 634 (scan_obj_file): Cache filenames if necessary. 635 (usage): Document new command line options. 636 (main): Support new command line options: -M (generate an 637 mcore-elf output file) -L (name of linker to use) -F (flags to 638 pass to linker). 639 (mcore_elf_cache_filename): Store a filename in a cache. 640 (mcore_elf_gen_out_file): New function: Generate an output file 641 per the mcore-elf spec. 642 6431999-05-15 Nick Clifton <nickc@cygnus.com> 644 645 * configure.in (BUILD_MISC): Build dlltool for mcore 646 * configure: Regenerate. 647 * dlltool.c: Update example in comment. 648 (DLLTOOL_MCORE): Define. 649 (DLLTOOL_MCORE_ELF): Define. 650 (DRECTVE_SECTION_NAME): Define. 651 (mcore_be_jtab, mcore_le_jtab): Binary for performing an mcore 652 jump to address. 653 (mtable): Add entries for mcore variants. 654 (rvaafter, rvabefore, asm_prefix): Add mcore suppport. 655 (scan_drectve_symbols): Use DRECTVE_SECTION_NAME. 656 (make_head, make_tail): Cope if file cannot be created. 657 (usage): Improve layout. 658 6591999-05-13 DJ Delorie <dj@cygnus.com> 660 661 * rclex.l: add code to suppress certain output from cpp, replace 662 all returns with MAYBE_RETURN 663 (MAYBE_RETURN): new, implement the suppression by returning 664 IGNORED_TOKEN as needed. 665 (cpp_line): remember which file we're in, mark data from included 666 *.h files for suppression. 667 * rcparse.y (input): allow IGNORED_TOKEN outside of known constructs 668 6691999-05-10 DJ Delorie <dj@cygnus.com> 670 671 * windres.c (quot): Quote shell metacharacters in a string 672 (main): quote parameters to cpp that might have metacharacters in 673 them. Allow -D as an alias for --define to allow for sharing make 674 macros with gcc. 675 676 * objdump.c (dump_reloc_set): don't core if howto->name is NULL 677 678 * Makefile.am: Give rescoff.c a cpu-specific -D so it can set 679 the correct BFD. 680 * Makefile.in: ditto 681 * rescoff.c (write_coff_file): Set the correct BFD 682 6831999-05-06 Ian Lance Taylor <ian@zembu.com> 684 685 * rename.c (smart_rename): Fix test of whether file exists. 686 6871999-05-06 Nick Clifton <nickc@cygnus.com> 688 689 * objdump.c (disassemble_data): Set display_endian based on target 690 endianism. 691 6921999-05-05 Catherine Moore <clm@cygnus.com> 693 694 * dlltool.c (interwork): Remove. 695 (arm_interwork_jtab): Use bx insn. 696 (thumb_jtab): Likewise. 697 (MARM_INTERWORK): New machine type. 698 (rvaafter): Handle it. 699 (rvabefore) Likewise. 700 (asm_prefix): Likewise. 701 (gen_exp_type): Check machine type instead of 702 interwork flag. 703 (make_one_lib_file): Likewise. 704 (make_head): Likewise. 705 (make_tail): Likewise. 706 (usage): Update machine types. 707 (main): Remove -interwork support. 708 7091999-05-05 Catherine Moore <clm@cygnus.com> 710 711 * readelf.c (get_machine_flags): Check for EF_CPU32. 712 (get_data_encoding): Fix typo. 713 7141999-04-26 Tom Tromey <tromey@cygnus.com> 715 716 * aclocal.m4, configure: Updated for new version of libtool. 717 7181999-04-18 Ian Lance Taylor <ian@zembu.com> 719 720 * stabs.c (parse_stab_range_type): Correct parenthesization in 721 BFD64 case. 722 723 * readelf.c (get_section_type_name): Use correct types in printf 724 formats. 725 (process_relocs): Likewise. 726 (process_dynamic_segment): Likewise. 727 (process_symbol_table): Likewise. 728 (process_mips_specific): Likewise. 729 730Tue Apr 13 21:22:00 1999 Catherine Moore <clm@cygnus.com> 731 732 * dlltool.c (make_one_lib_file): Mark thumb functions as 733 C_THUMBEXTFUNC. 734 7351999-04-11 Richard Henderson <rth@cygnus.com> 736 737 * bucomm.h (environ): Declare it, if needed. 738 (alloca) [C_ALLOCA]: Don't use gcc's builtin or <alloca.h>. 739 * configure.in (environ): Detect declaration. 740 * nm.c (main): Don't declare environ. 741 * configure, config.in: Rebuild. 742 743 * dlltool.c (gen_exp_file): Pad out the .reloc section to a 744 32-byte boundary with dummy relocations, to make the BeOS loader 745 happy. Patch from Bob Manson <manson@charmed.cygnus.com>. 746 7471999-04-08 Tom Tromey <tromey@cygnus.com> 748 749 * binutils.texi (c++filt): Updated for -j/--java, and hp/edg 750 formats. 751 7521999-04-08 Nick Clifton <nickc@cygnus.com> 753 754 * readelf.c: Add ability to decode new constants found in April 25 755 1998 Draft of System V ABI spec. 756 7571999-04-06 Ian Lance Taylor <ian@zembu.com> 758 759 * bucomm.h (LC_MESSAGES): Never define. 760 * addr2line.c (main): Don't pass LC_MESSAGES to setlocale if the 761 system does not define it. 762 * ar.c (main): Likewise. 763 * coffdump.c (main): Likewise. 764 * dlltool.c (main): Likewise. 765 * nlmconv.c (main): Likewise. 766 * nm.c (main): Likewise. 767 * objcopy.c (main): Likewise. 768 * objdump.c (main): Likewise. 769 * size.c (main): Likewise. 770 * srconv.c (main): Likewise. 771 * strings.c (main): Likewise. 772 * sysdump.c (main): Likewise. 773 * windres.c (main): Likewise. 774 * readelf.c (main): Call locale setting functions. 775 7761999-04-05 Nick Clifton <nickc@cygnus.com> 777 778 * readelf.c (decode_location_expression): Fix DW_OP_const8{s|u} 779 decodes. 780 7811999-04-04 Ian Lance Taylor <ian@zembu.com> 782 783 * rename.c: New file, copied out of objcopy.c with a few changes. 784 * bucomm.h (set_times, smart_rename): Declare. 785 * ar.c: Don't include <utime.h>. 786 (extract_file): Call set_times rather than utime. 787 (write_archive): Call smart_rename rather than unlink and rename. 788 * objcopy.c: Don't include <utime.h>. 789 (simple_copy, smart_rename, set_times): Move to rename.c. 790 (strip_main): Update smart_rename call for new parameter. 791 (copy_main): Likewise. 792 * Makefile.am: Rebuild dependencies. 793 (CFILES): Add rename.c. 794 (objcopy_SOURCES, strip_new_SOURCES): Add rename.c. 795 (ar_SOURCES, ranlib_SOURCES): Add rename.c. 796 * Makefile.in: Rebuild. 797 798 * Makefile.am: Rebuild dependencies. 799 (EXTRA_PROGRAMS): Remove backslash which troubles current version 800 of automake. 801 * Makefile.in: Rebuild. 802 803 * dllwrap.c (main): Expect correct type in format string. 804 * resres.c: Include "bfd.h", "bucomm.h", "libiberty.h", and 805 <time.h>. Don't include <stdio.h> and <errno.h>. 806 (write_res_file): Remove unused locals e and i. 807 (read_resource_entry): Remove unused locals rtype and n. 808 (read_unistring): Remove unused local n. 809 8101999-04-03 Ian Lance Taylor <ian@zembu.com> 811 812 * arparse.y: Declare yylex. 813 * objdump.c (disassemble_bytes): Initialize bytes. Add comment 814 for incorrect use of bytes. 815 * readelf.c: Change many formats to avoid warnings. 816 8171999-04-01 Nick Clifton <nickc@cygnus.com> 818 819 * readelf.c (reset_state_machine): New function. Resets the 820 registers of the source line number state machine. 821 (process_extended_line_op): Use state machine. 822 (display_debug_lines): Use state machine. Handle multiple line 823 number blocks within the same section. 824 8251999-03-29 Jason Merrill <jason@yorick.cygnus.com> 826 827 * readelf.c (process_extended_line_op): end_sequence also resets 828 the line number. 829 (display_debug_lines): advance_line takes a signed operand. 830 (read_and_display_attr): Print refs as <%x>, addresses as %#x, 831 others as %d. Handle other location expression attributes. 832 (display_debug_info): Handle nesting. Always print the offset. 833 8341999-03-23 Ian Lance Taylor <ian@zembu.com> 835 836 * objcopy.c (filter_symbols): When checking whether to keep a 837 symbol, check the BFD section symbol for a symbol with 838 BSF_SECTION_SYM set. 839 8401999-03-10 Ulrich Drepper <drepper@cygnus.com> 841 842 * readelf.c (process_dynamic_segment): Print new Solaris dynamic 843 section entries. Correct printing of DT_POSFLAG_1 and DT_FLAGS_1. 844 8451999-03-10 Nick Clifton <nickc@cygnus.com> 846 847 * readelf.c (request_dump): New function. 848 Removed arbitary limit on the number of sections that can be 849 dumped. 850 851Wed Mar 10 15:10:14 1999 Stan Cox <scox@cygnus.com> 852 853 * dlltool.c (make_one_lib_file): Use %05d to output the stub name so 854 order in the import library is preserved. 855 8561999-02-19 Nick Clifton <nickc@cygnus.com> 857 858 * readelf.c: Fix compile time warings. 859 8601999-02-17 DJ Delorie <dj@cygnus.com> 861 862 * resbin.c (res_to_bin_versioninfo): Instead of entering a value 863 length of zero in a version info string, enter the appropriate 864 length. 865 866Tue Feb 16 16:00:33 1999 Ian Lance Taylor <ian@cygnus.com> 867 868 * configure.in: Require autoconf 2.13. Change AM_PROG_INSTALL to 869 AC_PROG_INSTALL. Add comments for AC_DEFINE calls. 870 * acconfig.h: Remove. 871 * aclocal.m4: Rebuild. 872 * configure: Rebuild. 873 * Makefile.in: Rebuild. 874 * config.in: Rebuild. 875 8761999-02-02 Nick Clifton <nickc@cygnus.com> 877 878 * readelf.c (read_and_display_attr): Add display of basic type 879 encodings. 880 (display_debug_aranges): New function: Display the contents of a 881 .debug_aranges section. 882 (display_debug_info): Dump tags found after compunit entry. 883 884 * binutils.texi: Fixed bug in readelf documentation. 885 886Mon Feb 1 12:38:01 1999 Catherine Moore <clm@cygnus.com> 887 888 * readelf.c (dump_relocations): Handle EM_ARM as REL. 889 8901999-01-29 Nick Clifton <nickc@cygnus.com> 891 892 * readelf.c (process_symbol_table): Do not produce a histogram of 893 bucket chains if none were found. 894 8951999-01-27 Nick Clifton <nickc@cygnus.com> 896 897 * version.c: Add 1999 copyright. 898 899 * binutils.texi (readelf): Document new command line options 900 --debug-dump and --histogram. 901 902 * readelf.c: Add ability to display contents of some or all of the 903 Dwarf2 debug sections. {Work only partially completed}. 904 (display_debug_section): New function. 905 (display_debug_info): New function. 906 (display_debug_not_supported): New function. 907 (display_debug_line): New function. 908 (display_debug_abbrev): New function. 909 (process_abbrev_section): New function. 910 (read_leb128): New function. 911 (process_extended_line_op): New function. 912 (get_TAG_name): New function. 913 (get_AT_name): New function. 914 (get_FORM_name): New function. 915 (free_abbrevs): New function. 916 (add_abbrev): New function. 917 (add_abbrev_attr): New function. 918 (read_and_display_attr): New function. 919 (display_block): New function. 920 921Thu Jan 14 23:36:11 1999 Jeffrey A Law (law@cygnus.com) 922 923 * coffdump.c (xcalloc): Remove, in libiberty now. 924 * srconv.c (xcalloc): Likewise. 925 * sysdump.c (xcalloc): Likewise. 926 9271999-01-14 Nick Clifton <nickc@cygnus.com> 928 929 * readelf.c (process_section_headers): Omit trailing space at end 930 of section header contents line. 931 932Wed Dec 16 17:20:05 1998 Doug Evans <devans@canuck.cygnus.com> 933 934 * aclocal.m4: Regenerate. 935 936Mon Dec 14 12:55:36 1998 Jim Wilson <wilson@cygnus.com> 937 938 * dllwrap.c: Include bfd.h and bucomm.h. Move getopt.h include 939 after libiberty.h include. 940 941Tue Dec 8 16:29:43 1998 Ian Lance Taylor <ian@cygnus.com> 942 943 * objdump.1: Fix typo (-d to -D). From Nokubi Hirotaka 944 <hnokubi@yyy.or.jp>. 945 946Sun Dec 6 13:28:09 1998 Ian Lance Taylor <ian@cygnus.com> 947 948 * objdump.c (SFILE): Add size field. 949 (objdump_sprintf): Merge both versions into one. Increase buffer 950 size as needed to avoid overflow. 951 (disassemble_bytes): Change buf from 1000 bytes to 50. Change 952 initialization and use of sfile to match changes to 953 objdump_sprintf. 954 955 * strip.1: Fix typo (-V to -v). From Issei Hirayama 956 <iss@mail.wbs.or.jp>. 957 9581998-12-03 Ulrich Drepper <drepper@cygnus.com> 959 960 * readelf.c (process_dynamic_segment): Improve output format for 961 various DT_* values. 962 9631998-12-02 Ulrich Drepper <drepper@cygnus.com> 964 965 * readelf.c (process_mips_specific): Print .conflict section 966 content. 967 968 * readelf.c (process_mips_specific): Print l_flags in liblist in 969 textual form. 970 9711998-11-30 Nick Clifton <nickc@cygnus.com> 972 973 * ar.c (extract_file): Add some paranoia checks for negatively 974 sized files. 975 976Tue Nov 24 09:39:24 1998 Nick Clifton <nickc@cygnus.com> 977 978 * stabs.c (DIR_SEPARATOR): Define as '\\' if WIN32 is defined. 979 980Tue Nov 17 10:25:26 1998 Nick Clifton <nickc@cygnus.com> 981 982 * Makefile.in: Regenerate. 983 984Mon Nov 16 19:17:23 1998 Dave Brolley <brolley@cygnus.com> 985 986 * po/binutils.pot: Regenerate. 987 988Mon Nov 16 10:18:53 1998 Nick Clifton <nickc@cygnus.com> 989 990 * Makefile.am: Regernated dependencies. 991 * aclocal.m4: Regenerated. 992 * configure: Regenerated. 993 994Sat Nov 14 14:50:56 1998 Ian Lance Taylor <ian@cygnus.com> 995 996 * debug.c (debug_name_type): Correct return type from false to 997 DEBUG_TYPE_NULL. 998 999Sat Nov 14 14:48:21 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> 1000 1001 * objdump.c (disassemble_data): Skip over relocs below start 1002 address. 1003 1004Tue Nov 10 15:31:52 1998 Nick Clifton <nickc@cygnus.com> 1005 1006 * Makefile.am: Add dependency of readelf.c on elf/fr30.h 1007 * Makefile.in: Regenerate. 1008 1009Wed Nov 4 16:25:55 1998 Nick Clifton <nickc@cygnus.com> 1010 1011 * readelf.c: Add support for the FR30. 1012 1013Mon Nov 2 14:59:33 1998 Geoffrey Noer <noer@cygnus.com> 1014 1015 * configure.in: detect cygwin* instead of cygwin32* 1016 * configure: regenerate 1017 1018Fri Oct 30 15:14:49 1998 Geoffrey Noer <noer@cygnus.com> 1019 1020 * dllwrap.c: change all references to cygwin32_ to cygwin_, 1021 change Cygwin target def to CYGWIN. 1022 1023Wed Oct 28 10:31:19 1998 Nick Clifton <nickc@cygnus.com> 1024 1025 * objdump.c (disassemble_data): Replace 'unsigned long' with 1026 'bfd_vma'. 1027 1028Tue Oct 27 14:39:00 1998 Nick Clifton <nickc@cygnus.com> 1029 1030 * objdump.c (disassemble_bytes): Applied this patch from Philip 1031 Blundell <pb@nexus.co.uk>: Make address variables unsigned to 1032 avoid problems when disassembling code at high-bit-set addresses. 1033 1034Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu> 1035 1036 * dllwrap.c (strhash): New function. 1037 (main): Use it to supply image base if not supplied by user. 1038 (program_version): Up to 0.2.4. 1039 1040Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu> 1041 1042 * dlltool.c (add_stdcall_alias): New global. 1043 (long_options): Add --add-stdcall-alias option. 1044 (main): Handle it. 1045 (scan_drectve_symbols): Add alias if --add-stdcall-alias is 1046 specified. 1047 (scan_filtered_symbols): Likewise. 1048 (gen_def_file): Output alias for stdcall syms if appropriate. 1049 1050 * binutils.texi (dlltool): Document --add-stdcall-alias option. 1051 1052 * dllwrap.c (long_options): Add --add-stdcall-alias option. 1053 (main): Handle it. 1054 1055 * defparse.y (opt_name): Allow "." in name. 1056 * dlltool.c (def_name): Set dll_name from NAME entry in def file. 1057 (def_library): Set dll_name from LIBRARY entry in def file. 1058 1059Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu> 1060 1061 * dllwrap.c (long_options): --implib synonym for --output-lib. 1062 (main): Pass --export-all to dlltool only if specified. 1063 (program_version): Up to 0.2.3. 1064 1065Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu> 1066 1067 * dllwrap.c (mybasename): New function. 1068 (main): Run dlltool to create export definition file and import 1069 library file if necessary. 1070 Change exp_file_name so that it's based on the dll name. 1071 1072Sun Oct 25 10:37:45 1998 Mumit Khan <khan@xraylith.wisc.edu> 1073 1074 * dlltool.c (scan_all_symbols): Fix patch error. 1075 1076Fri Oct 16 22:56:20 1998 Felix Lee <flee@cygnus.com> 1077 1078 * nm.c (display_rel_file): fix "no symbols" messages. 1079 * objdump.c (slurp_symtab): ditto. 1080 * po/POTFILES.in, po/binutils.pot: rebuilt 1081 1082Mon Oct 12 14:28:03 1998 Nick Clifton <nickc@cygnus.com> 1083 1084 * readelf.c (dump_relocations): Rename field from Value to Info to 1085 match name of field in ELF structures. 1086 1087Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com> 1088 1089 * configure.in: call AC_EXEEXT instead of AM_EXEEXT and 1090 AM_CYGWIN32. 1091 * aclocal.m4: remove local AM_EXEEXT/AM_CYGWIN32 macros. 1092 * configure: regenerate 1093 1094Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com> 1095 1096 From Mumit Khan <khan@xraylith.wisc.edu>: 1097 * dlltool.c (scan_all_symbols): Don't re-export symbols exported 1098 by other DLLs. 1099 1100Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com> 1101 1102 * Makefile.am (BUILD_DLLWRAP): Add. 1103 (BUILD_DLLWRAP, DLLWRAP_PROG): Add. 1104 (bin_PROGRAMS): Add dllwrap. 1105 * Makefile.in: regenerate with automake 1106 1107 From Mumit Khan <khan@xraylith.wisc.edu>: 1108 * dllwrap.c: New file from dllhelpers v0.2.1. 1109 (print_version): New function. 1110 (long_options): Add --version. 1111 (main): Handle. 1112 * dyn-string.h, dyn-string.c: New files from egcs-1.1/gcc. 1113 * configure.in (BUILD_DLLWRAP): Add. 1114 * configure: Regenerate. 1115 1116Tue Oct 6 18:20:10 1998 Geoffrey Noer <noer@cygnus.com> 1117 1118 * Makefile.am (windres_SOURCES): Add resres.c. 1119 (windres_OBJECTS): Add resres.o. 1120 * Makefile.in: regenerate with automake 1121 1122 From Anders Norlander <anorland@hem2.passagen.se>. 1123 * resres.c: New file. Implementation of read_res_file and 1124 write_res_file functions for windres. 1125 * rcparse.y: Handle CONTROL's with named classes. 1126 * resbin.c: Bug in res_to_bin_dialog and bin_to_res_dialog 1127 when dialog is extended: The version and signature fields should 1128 be reversed (despite what the docs say). Id is 32 bits long in 1129 extended dialogs. 1130 * resrc.c (write_rc_dialog): properly print controls with named 1131 classes. 1132 * windres.c (read_res_file, write_res_file): Remove stubs. 1133 * resres.c (write_res): Rename RT_ACCELERATORS to RT_ACCELERATOR. 1134 1135Sun Oct 4 20:34:42 1998 Ian Lance Taylor <ian@cygnus.com> 1136 1137 From Nokubi Hirotaka <hnokubi@yyy.or.jp>: 1138 * objcopy.1: Fix typo in --remove-leading-char docs. 1139 * objdump.1: Fix formatting in --stabs docs. 1140 1141Sat Sep 19 23:33:56 1998 Ian Lance Taylor <ian@cygnus.com> 1142 1143 * rcparse.y (memflags_move): Correct recursion. 1144 11451998-09-10 Ulrich Drepper <drepper@cygnus.com> 1146 1147 * readelf.c (process_symbol_table): Print in histogram how many 1148 symbols are covered by the current chain length. 1149 1150Sun Sep 6 16:15:47 1998 Nick Clifton <nickc@cygnus.com> 1151 1152 * readelf.c (process_section_contents): Do not try to dump empty 1153 sections. 1154 1155Sat Sep 5 19:17:10 1998 Mumit Khan <khan@xraylith.wisc.edu> 1156 1157 * dlltool.c (scan_all_symbols): Don't re-export symbols exported 1158 by other DLLs. 1159 11601998-09-02 14:50 Ulrich Drepper <drepper@cygnus.com> 1161 1162 * readelf.c (process_dynamic_segment): Print DT_* value only if 1163 do_dynamic. 1164 (do_histogram): New variable. 1165 (options): New long option histogram. Set do_histogram if this 1166 option is used. 1167 (usage): Document --histogram. 1168 (parse_args): Handle 0 return value from getopt_long. Enable 1169 do_histogram for -a. 1170 (process_symbol_table): Read hash table also if only do_histogram. 1171 Add code to print hash table histogram. 1172 11731998-08-25 16:45 Ulrich Drepper <drepper@cygnus.com> 1174 1175 * readelf.c (process_dynamic_segment): Read syminfo section if 1176 available. 1177 (process_syminfo): New function. Print syminfo information. 1178 (process_file): Call process_syminfo and free syminfo data at the end. 1179 1180Wed Aug 19 16:19:51 1998 Ian Lance Taylor <ian@cygnus.com> 1181 1182 * dlltool.c (usage): Add file parameter. Change all callers. 1183 (main): Don't treat '?' as a special case in getopt return. 1184 1185 * binutils.texi (dlltool): Document new options. Add some uses of 1186 @var. 1187 1188Wed Aug 19 16:19:07 1998 Mumit Khan <khan@xraylith.wisc.edu> 1189 1190 * dlltool.c (gen_def_file): Plug memory leak. Don't print 1191 demangled name if it is NULL. 1192 1193 Support for exporting all symbols to an output export def file: 1194 * dlltool.c ({export_all_symbols, no_default_excludes, 1195 no_default_excludes, excludes}): New file static variables. 1196 (struct string_list): Type to hold list of symbols to exclude. 1197 (scan_drectve_symbols): Renamed from scan_open_obj_file. 1198 (scan_filtered_symbols): New static function. 1199 (add_excludes): New static function. 1200 (match_exclude): New static function. 1201 (set_default_excludes): New static function. 1202 (filter_symbols): New static function. 1203 (scan_all_symbols): New static function. 1204 (scan_open_obj_file): New static function. 1205 (usage): Document new options. 1206 (long_options): Add new options. 1207 (main): Handle new options. 1208 12091998-07-31 21:24 Ulrich Drepper <drepper@cygnus.com> 1210 1211 * readelf.c (process_program_headers): Print p_offset value with 1212 six hex digits. 1213 (dynamic_segment_mips_val): Add support for DT_MIPS_FLAGS, 1214 DT_MIPS_IVERSION, and DT_MIPS_TIME_STAMP. 1215 (process_mips_specific): Also print seconds of time stamp. 1216 1217Fri Jul 31 10:04:23 1998 Catherine Moore <clm@cygnus.com> 1218 1219 * readelf.c (dump_relocations): EM_ARM uses rela relocs. 1220 12211998-07-30 16:25 Ulrich Drepper <drepper@cygnus.com> 1222 1223 * readelf.c (get_dynamic_type): Don't used gettext on the names. 1224 Add new DT_* values from Solaris. Don't print nuemric value in 1225 case of an unknown entry. 1226 (process_dynamic_segment): Handle new DT_* entries. Print numeric 1227 values in decimal, not hex. 1228 1229Fri Jul 24 16:28:57 1998 Jeff Holcomb <jeffh@cygnus.com> 1230 1231 * readelf.c (get_dynamic_type): Remove empty default from switch 1232 statement. 1233 1234Fri Jul 24 16:28:12 1998 Ian Lance Taylor <ian@cygnus.com> 1235 1236 * Makefile.am (install-exec-local): Don't remove the file before 1237 checking whether $(bindir) == $(tooldir)/bin. From Maciej 1238 W. Rozycki <macro@ds2.pg.gda.pl>. 1239 * Makefile.in: Rebuild. 1240 1241Fri Jul 24 09:38:59 1998 Nick Clifton <nickc@cygnus.com> 1242 1243 * objcopy.c: Removed spurious inclusion of elf/internal.h and 1244 elf-bfd.h. 1245 12461998-07-22 Ulrich Drepper <drepper@cygnus.com> 1247 1248 * readelf.c: Consistantly use elf_ prefix for *_reloc_type 1249 functions. 1250 1251Wed Jul 22 16:29:12 1998 Nick Clifton <nickc@cygnus.com> 1252 1253 * readelf.c (dump_relocations): Add dumps of HPPA and ARC 1254 relocations. 1255 1256 (process_relocs): Do not abort if no string table can be found. 1257 12581998-07-22 14:58 Ulrich Drepper <drepper@cygnus.com> 1259 1260 * readelf.c: Remove definition of functions to return relocation 1261 symbol strings. They now get implicitly defined when include the 1262 system specific ELF header. 1263 12641998-07-22 13:51 Ulrich Drepper <drepper@cygnus.com> 1265 1266 * readelf.c: Before include system specific ELF header define 1267 START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS. For now 1268 used for ppc, mips, and mn10300. 1269 1270Wed Jul 22 10:26:32 1998 Nick Clifton <nickc@cygnus.com> 1271 1272 * readelf.c (dump_relocations): Display number of unrecognised 1273 relocations. 1274 12751998-07-21 13:13 Ulrich Drepper <drepper@cygnus.com> 1276 1277 * readelf.c: Use symbolic names of relocation entries for the various 1278 architectures. Correct more layout details. 1279 Print names of MIPS specific section types. Print Alpha, ARM, and 1280 MIPS relocation type names. 1281 12821998-07-20 Vladimir N. Makarov <vmakarov@cygnus.com> 1283 1284 * objcopy.c (filter_symbols): Add code for strip all symbols case. 1285 (copy_objects): Strip all case is now processed also through 1286 filter_symbols. No marking symbols used in relocations when strip 1287 all symbols case. 1288 (copy_section): When strip all symbols case, remove relocations 1289 which are not in keep strip specific list. 1290 (strip_main): Remove guard `strip_specific_list == NULL' for 1291 setting up strip all symbols by default. 1292 1293Mon Jul 20 12:51:16 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 1294 1295 * addr2line.c (find_address_in_section): Only consider a section 1296 if the pc value is completely contained within it. 1297 (translate_addresses): Don't crash if functionname or filename are 1298 null. 1299 13001998-07-20 07:45 Ulrich Drepper <drepper@cygnus.com> 1301 1302 * readelf.c (process_symbol_table): Fix little alignment problem 1303 in printed table header. 1304 13051998-07-20 07:14 Ulrich Drepper <drepper@cygnus.com> 1306 1307 * readelf.c: Correct reading of .dynamic section. 1308 (dynamic_section): Now a global variable. 1309 (process_mips_fpe_exception, process_mips_specific, 1310 process_arch_specific): New functions. 1311 (get_file_header): Call process_arch_specific. 1312 13131998-07-19 15:15 Ulrich Drepper <drepper@cygnus.com> 1314 1315 * readelf.c: Fix several versioning related bugs. Produce nicer 1316 output. 1317 Add support for processor specific information on MIPS. 1318 1319Fri Jul 10 15:57:58 1998 Nick Clifton <nickc@cygnus.com> 1320 1321 * readelf.c: Switch prototypes from unsigned short to unsigned 1322 int. 1323 1324Fri Jul 10 16:17:50 1998 Ian Lance Taylor <ian@cygnus.com> 1325 1326 From Christian Holland <CHolland@de.lucent.com>: 1327 * ieee.c (parse_ieee): Initialize info.global_vars and 1328 info.global_types. 1329 (parse_ieee_atn): Ignore register lifetime information reportedly 1330 emitted by MRI compiler. 1331 1332Thu Jul 9 13:08:01 1998 Ian Lance Taylor <ian@cygnus.com> 1333 1334 * Makefile.am (MAINTAINERCLEANFILES): Define. 1335 * Makefile.in: Rebuild. 1336 1337Tue Jul 7 21:48:54 1998 Jeffrey A Law (law@cygnus.com) 1338 1339 * readelf.c (byte_get): Use PARAMS in prototype. 1340 (error): Make it work with non-ANSI compilers. 1341 (warn): Likewise. 1342 (get_ver_flags): Don't use an ANSI prototype in the definition. 1343 1344Tue Jul 7 13:26:13 1998 Ian Lance Taylor <ian@cygnus.com> 1345 1346 * objcopy.c (filter_bytes): Set size correctly if the size of the 1347 section is not an even multiple of the interleave. Based on patch 1348 from Brion Stone <Brion.Stone@attws.com>. 1349 1350Thu Jul 2 14:01:34 1998 Klaus Kaempf <kkaempf@rmi.de> 1351 1352 * configure.com: Add vax/vms support. 1353 * makefile.vms-in: Renamed from makefile.vms. Add substitutions 1354 now done by configure.com. 1355 1356Wed Jul 1 20:43:52 1998 Ian Lance Taylor <ian@cygnus.com> 1357 1358 * stabs.c (parse_stab_range_type): Handle 4 and 8 byte signed 1359 integers with real upper bounds. Handle a lower bound one larger 1360 than the upper bound as a signed integer. Handle 8 byte signed 1361 integers. 1362 (stab_demangle_template): Optionally return the demangled name of 1363 the template. 1364 (stab_demangle_qualified): Treat a template name as a tagged 1365 type. 1366 (stab_demangle_fund_type): Likewise. 1367 1368Wed Jul 1 16:29:50 1998 Nick Clifton <nickc@cygnus.com> 1369 1370 * objcopy.c: Minor formatting improvements. 1371 * readelf.c: Minor output formatting improvement. 1372 1373Wed Jul 1 14:23:48 1998 Ian Lance Taylor <ian@cygnus.com> 1374 1375 * rclex.l: Add casts and change types to avoid warnings. 1376 * rcparse.y: Likewise. 1377 * resbin.c: Likewise. 1378 * rescoff.c: Likewise. 1379 * resrc.c: Likewise. 1380 1381 * Makefile.am: Rebuild dependencies. 1382 (HFILES): Remove readelf.h. 1383 * Makefile.in: Rebuild. 1384 1385 Based on patches from Andrew Kozin 1386 <Andrew.Kozin@p14.f960.n5020.z2.fidonet.org>: 1387 * winduni.h: New file, from windres.h. 1388 * winduni.c: New file, from windres.c. 1389 * windres.c: Move Unicode functions into winduni.c. 1390 * windres.h: Move Unicode declarations into winduni.h. Include 1391 winduni.h. 1392 (RT_ACCELERATOR): Rename from RT_ACCELERATORS to match Windows 1393 macro. Change all uses. 1394 (RT_PLUGPLAY, RT_VXD): Correct values. 1395 * Makefile.am (HFILES): Add windres.h. 1396 (CFILES): Add winduni.c. 1397 (windres_SOURCES): Add winduni.c. 1398 1399Mon Jun 29 17:01:21 1998 Nick Clifton <nickc@cygnus.com> 1400 1401 * readelf.c: Use BFD Internal and External Elf structures. 1402 * readelf.h: Removed - no longer needed. 1403 * Makefile.in: Remove readelf.c's dependency upon readelf.h. 1404 14051998-06-26 Vladimir N. Makarov <vmakarov@cygnus.com> 1406 1407 * objcopy.c (strip_main): keep_specific_list == NULL as additional 1408 condition to set up strip all symbols by default. 1409 (copy_archive): don't change archive when error in object files of 1410 the archive. 1411 1412Wed Jun 24 17:53:47 1998 Ian Lance Taylor <ian@cygnus.com> 1413 1414 * stabs.c (parse_number): Sign extend negative values correctly if 1415 bfd_vma is larger than unsigned long. 1416 1417Tue Jun 23 14:55:05 1998 Mike Stump <mrs@wrs.com> 1418 1419 * Makefile.am (install-exec-local): Don't let EXEEXT interfere 1420 with the program transform name. 1421 * Makefile.in: Rebuild. 1422 1423Tue Jun 23 11:08:53 1998 Nick Clifton <nickc@cygnus.com> 1424 1425 * readelf.c: Rewrite to use fopen/fread ratehr than mmap. 1426 1427 Add --section-headers command line switch, which is an alias for 1428 --sections. 1429 1430 Incorporate improvemnts made by Andreas Schwab 1431 <schwab@issan.informatik.uni-dortmund.de> including output 1432 formatting and version info display. 1433 1434 * binutils.texi: Document --section-headers switch to readelf. 1435 1436Mon Jun 22 18:28:19 1998 Ian Lance Taylor <ian@cygnus.com> 1437 1438 * readelf.c: Include bfd.h and bucomm.h before system header 1439 files. 1440 (parse_args): Change type of c from char to int. 1441 1442Sun Jun 14 14:26:28 1998 Nick Clifton <nickc@cygnus.com> 1443 1444 * readelf.c (usage): Write to stdout, not stderr. 1445 1446Fri Jun 12 13:33:51 1998 Tom Tromey <tromey@cygnus.com> 1447 1448 * po/Make-in (all-yes): Depend on .pot file if maintainer mode 1449 enabled. 1450 ($(PACKAGE).pot): Unconditionally depend on POTFILES. 1451 1452Fri Jun 12 16:06:15 1998 Michael Meissner <meissner@cygnus.com> 1453 1454 * readelf.c (get_ppc_rel_type): New PowerPC support. 1455 (dump_relocations): PowerPC uses RELA relocations. 1456 (get_machine_name): Spell PowerPC correctly. 1457 (get_file_type): Change unsigned short parameter to unsigned. 1458 (get_machine_name): Ditto. 1459 (get_machine_data): Return whether big endian or little endian. 1460 (get_machine_flags): Interpret PowerPC, M32R, and MIPS flags. 1461 (process_elf_header): Print endian-ess. Convert all numeric 1462 formats to long or unsigned long. Print out machine specific flag 1463 bits. 1464 (process_section_headers): Increase name by 3 columns and decrease 1465 type by the same so that .gcc_except_table fits in the space. 1466 1467 * readelf.h: Include elf/ppc.h, elf/mips.h, and elf/m32r.h to get 1468 machine specific flag bits. 1469 1470Thu Jun 11 17:54:26 1998 Nick Clifton <nickc@cygnus.com> 1471 1472 * readelf.c: Remove extraneous #includes. Fix warnings produced 1473 by -Wall when compiling under Linux. 1474 1475 * Makefile.am (readelf_LDADD): Add $(LIBIBERTY). 1476 1477Thu Jun 11 18:30:20 1998 Ian Lance Taylor <ian@cygnus.com> 1478 1479 * stabs.c (struct stab_handle): Add self_crossref field. 1480 (parse_stab_string): If a tag is a cross reference to itself, 1481 don't define it in the tags list. 1482 (parse_stab_type): Set info->self_crossref. 1483 1484 * debug.c (struct debug_type_real_list): Define. 1485 (debug_get_real_type): Add list parameter. Change all callers. 1486 Check for circularity to avoid crashing when it occurs. 1487 1488Thu Jun 11 14:48:32 1998 Nick Clifton <nickc@cygnus.com> 1489 1490 * readelf.c: New file: Display contents of ELF format file. 1491 * readelf.h: New file: Header file for readelf.c 1492 * Makefile.am: Add rules to build readelf. 1493 * Makefile.in: Rebuilt. 1494 * binutils.texi: Document readelf. 1495 * NEWS: Mention inclusion of readelf into binutils. 1496 * po/POTFILES.in; Rebuilt. 1497 1498Fri Jun 5 18:43:40 1998 Ian Lance Taylor <ian@cygnus.com> 1499 1500 * objcopy.c (setup_section): Adjust the section size if copy_byte 1501 is >= 0. 1502 (copy_section): Do not call bfd_set_section_size. 1503 1504Thu Jun 4 09:12:27 1998 Nick Clifton <nickc@cygnus.com> 1505 1506 * objcopy.c (copy_usage): Add missing \n\ from help description. 1507 1508Wed Jun 3 19:31:33 1998 Ian Lance Taylor <ian@cygnus.com> 1509 1510 * Makefile.am (YACC): Correct bison -L option. 1511 * Makefile.in: Rebuild. 1512 1513 * binutils.texi, objdump.1: Document -p/--private-headers. 1514 1515Wed Jun 3 12:09:40 1998 Nick Clifton <nickc@cygnus.com> 1516 1517 * objcopy.c: Add new command line options: --change-section-lma 1518 and --change-section-vma. Rename old command line option 1519 --adjust-section-vma to --change-section-address. Rename 1520 --adjust-vma to --change-addresses and --adjust-start to 1521 --change-start. Provide aliases to support the old versions of 1522 these command line options. 1523 1524 Change the names of macros and enum elements to upper case to 1525 match the GNU coding standard. 1526 1527 Replace calls to fprintf (stderr,...) with calls to fatal () or 1528 non_fatal () as appropriate. 1529 1530 * objcopy.1: Document command line option changes. 1531 * binutils.texi: Document command line option changes. 1532 1533 * bucomm.h: New exported funtion from bucomm.c: non_fatal(). 1534 * bucomm.c (non_fatal): New exported function. Just like fatal() 1535 except that it returns rather than calling xexit(). 1536 1537 (bfd_check_format_matches): Call fatal() rather than bfd_fatal(). 1538 1539 (check_matching_formats): Fix C formating. 1540 1541 (parse_vma): Call fatal(). 1542 1543Mon Jun 1 18:26:40 1998 Ian Lance Taylor <ian@cygnus.com> 1544 1545 From Yuli Barcohen <yuli.barcohen@telrad.co.il>: 1546 * debug.c (debug_type_samep): Avoid endless loops comparing 1547 function and method parameter types. 1548 1549Fri May 22 14:02:42 1998 Ian Lance Taylor <ian@cygnus.com> 1550 1551 * dlltool.c (dump_iat): Comment out; not used. 1552 (display): Rename from tell. Change all callers. 1553 1554Thu May 14 14:00:56 1998 Nick Clifton <nickc@cygnus.com> 1555 1556 * dlltool.c: Add support for Thumb DLLs. Add support for 1557 interworking between ARM and Thumb programs and DLLs. Tidy the 1558 code. 1559 1560 * binutils.texi: Document dlltool. 1561 1562 * configure: Build dlltool for thumb-pe targets. 1563 1564 * version.c (print_version): Include 1998 in copyright strings. 1565 1566 * stabs.c (parse_stab): Support Win32 style directory separators. 1567 1568Sun May 10 22:34:44 1998 Jeffrey A Law (law@cygnus.com) 1569 1570 * po/Make-in (install-info): New target. 1571 1572Fri May 8 10:33:13 1998 Nick Clifton <nickc@cygnus.com> 1573 1574 * ar.c (usage): Extend information provided about command line 1575 options. 1576 1577Wed May 6 15:28:51 1998 Klaus Kaempf <kkaempf@progis.de> 1578 1579 * makefile.vms: Run dec c with /nodebug. Pass CC value when 1580 calling make. 1581 1582Tue May 5 15:19:00 1998 Nick Clifton <nickc@cygnus.com> 1583 1584 * configure: Build dlltool for thumb-pe target. 1585 * configure.in: Build dlltool for thumb-pe target. 1586 1587Sun May 3 22:04:49 1998 Ian Lance Taylor <ian@cygnus.com> 1588 1589 * Makefile.am (EXTRA_PROGRAMS): Change $(SRCONV_PROG) to sysconf 1590 sysdump coffdump to avoid extra $(EXEEXT). 1591 * Makefile.in: Rebuild. 1592 1593Wed Apr 29 22:22:55 1998 Geoffrey Noer <noer@cygnus.com> 1594 1595 * configure.in: Stop appending EXEEXT to the end of 1596 SRCONV_PROG (wrong because that variable may contain multiple 1597 programs) 1598 * Makefile.am: instead, add EXEEXTs to each SRCONV_PROG 1599 program 1600 * Makefile.in: regenerate 1601 * configure: regenerate 1602 1603Tue Apr 28 19:14:34 1998 Tom Tromey <tromey@cygnus.com> 1604 1605 * addr2line.c (main): Conditionally call setlocale. 1606 * windres.c (main): Likewise. 1607 * sysdump.c (main): Likewise. 1608 * strings.c (main): Likewise. 1609 * srconv.c (main): Likewise. 1610 * size.c (main): Likewise. 1611 * objdump.c (main): Likewise. 1612 * objcopy.c (main): Likewise. 1613 * nm.c (main): Likewise. 1614 * nlmconv.c (main): Likewise. 1615 * dlltool.c (main): Likewise. 1616 * coffdump.c (main): Likewise. 1617 * ar.c (main): Likewise. 1618 * bucomm.h: Include <locale.h> if HAVE_LOCALE_H. 1619 (LC_MESSAGES): Now can be defined even when ENABLE_NLS. 1620 1621Tue Apr 28 10:33:07 1998 Bill Moyer <ttk@cygnus.com> 1622 1623 Add support for IMPORTS: 1624 * defparse.y (impline): Add IMPORTS syntaxes. 1625 * dlltool.c (ifunctype, iheadtype): New typedefs. 1626 (import_list): New static variable. 1627 (append_import): New static function. 1628 (def_import): Add an entry to import_list. 1629 (generate_idata_ofile): New static function. 1630 (gen_exp_file): Call generate_idata_ofile. 1631 * dlltool.h (def_import): Update declaration. 1632 1633Mon Apr 27 16:39:22 1998 Ian Lance Taylor <ian@cygnus.com> 1634 1635 * configure.in: Change version number to 2.9.4 1636 * configure: Rebuild. 1637 1638Wed Apr 22 16:00:35 1998 Tom Tromey <tromey@cygnus.com> 1639 1640 * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir). 1641 1642Wed Apr 22 00:33:56 1998 Tom Tromey <tromey@scribbles.cygnus.com> 1643 1644 * Makefile.am (INCLUDES): Search intl dirs for headers; define 1645 LOCALEDIR. 1646 * addr2line.c (main): Call setlocale, bindtextdomain, textdomain. 1647 * ar.c (main): Likewise. 1648 * coffdump.c (main): Likewise. 1649 * dlltool.c (main): Likewise. 1650 * nlmconv.c (main): Likewise. 1651 * nm.c (main): Likewise. 1652 * objcopy.c (main): Likewise. 1653 * objdump.c (main): Likewise. 1654 * size.c (main): Likewise. 1655 * srconv.c (main): Likewise. 1656 * strings.c (main): Likewise. 1657 * sysdump.c (main): Likewise. 1658 * windres.c (main): Likewise. 1659 1660Tue Apr 21 22:13:08 1998 Tom Tromey <tromey@scribbles.cygnus.com> 1661 1662 * Many files: Added gettext invocations around user-visible 1663 strings. 1664 * bucomm.h: Added gettext-related includes and defines. 1665 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, 1666 HAVE_LC_MESSAGES): Define. 1667 * configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and 1668 po/Makefile. Use AM_PROG_LEX. 1669 * Makefile.am (SUBDIRS): New macro. 1670 (POTFILES): Likewise. 1671 (po/POTFILES.in): New target. 1672 (LDADD): Added INTLLIBS. 1673 (objdump_LDADD): Likewise. 1674 (c__filt_LDADD): Likewise. 1675 (ar_LDADD): Likewise. 1676 (ranlib_LDADD): Likewise. 1677 (dlltool_LDADD): Likewise. 1678 (windres_LDADD): Likewise. 1679 * po/Make-in, po/POTFILES.in, po/binutils.pot: New files. 1680 1681Tue Apr 21 16:07:18 1998 Stanislav Brabec <utx@k332.feld.cvut.cz> 1682 1683 * objcopy.c (preserve_dates): New file static variable. 1684 (smart_rename): If preserve_dates, call set_times when copying. 1685 (strip_main): Remove preserve_dates local variable. 1686 (copy_main): Likewise. 1687 1688Tue Apr 7 15:41:15 1998 Ian Lance Taylor <ian@cygnus.com> 1689 1690 * Makefile.am (DISTSTUFF): Add defparse.h, defparse.c, rclex.c, 1691 rcparse.h, and rcparse.c 1692 * Makefile.in: Rebuild. 1693 1694Mon Apr 6 16:24:35 1998 Ian Lance Taylor <ian@cygnus.com> 1695 1696 * Makefile.am (PROGS): Move $(ADDR2LINE_PROG) to end, so that 1697 Makefile.in doesn't have an empty continuation line. 1698 (bin_PROGRAMS): Likewise. 1699 * Makefile.in: Rebuild. 1700 1701Fri Apr 3 14:48:42 1998 Ian Lance Taylor <ian@cygnus.com> 1702 1703 * Makefile.am (DISTCLEANFILES): Add site.exp and site.bak. 1704 (MOSTLYCLEANFILES): Add binutils.log, binutils.sum, and abcdefgh*. 1705 (mostlyclean-local): New target. 1706 * Makefile.in: Rebuild. 1707 1708Wed Apr 1 15:54:16 1998 Ian Lance Taylor <ian@cygnus.com> 1709 1710 From Zack Weinberg <zack@rabi.phys.columbia.edu> and H.J. Lu 1711 <hjl@gnu.org>: 1712 * ar.c (usage): Mention S modifier. 1713 (main): Add S modifier. 1714 * ar.1, binutils.texi: Document S modifier. 1715 1716Wed Apr 1 13:11:23 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 1717 1718 * binutils.texi: Use @itemx for a secondary item in a table. 1719 1720Tue Mar 31 18:44:13 1998 Ian Lance Taylor <ian@cygnus.com> 1721 1722 * dep-in.sed: Add rule to remove @OBJDIR@. 1723 * Makefile.am (dep.sed): Substitute for @OBJDIR@. 1724 * Makefile.in: Rebuild. 1725 1726Mon Mar 30 12:47:18 1998 Ian Lance Taylor <ian@cygnus.com> 1727 1728 * configure.in: Set version to 2.9.1. 1729 * configure: Rebuild. 1730 1731 * Branched binutils 2.9. 1732 1733 * Makefile.am (DISTCLEANFILES): Remove defparse.h, arparse.h, 1734 rcparse.h, and nlmheader.h. 1735 * Makefile.in: Rebuild. 1736 1737Sat Mar 28 17:39:27 1998 Ian Lance Taylor <ian@cygnus.com> 1738 1739 * Makefile.am (MOSTLYCLEANFILES): Define. 1740 * Makefile.in: Rebuild. 1741 1742 Fix some gcc -Wall warnings: 1743 * nlmconv.c (main): Add casts to avoid warnings. 1744 (alpha_mangle_relocs): Likewise. 1745 * objdump.c (dump_section_stabs): Likewise. 1746 * size.c (print_sysv_format): Likewise. 1747 * srcconv.c (wr_ob): Likewise. 1748 * wrstabs.c (stab_modify_type): Likewise. 1749 (stab_variable): Likewise. 1750 * nlmconv.c (main): Initialize variables to avoid warnings. 1751 * nm.c (sort_symbols_by_size): Likewise. 1752 * objdump.c (disassemble_bytes): Likewise. 1753 * wrstabs.c (stab_end_class_type): Likewise. 1754 * coffgrok.c (do_sections_p2): Change j to unsigned int. 1755 (do_lines): Change l to unsigned int. 1756 * nlmheader.y (yylex): Change i to unsigned int. 1757 * nm.c (print_symbol): Change j to long. 1758 * size.c (lprint_number): Comment out. 1759 * srconv.c (wr_ob): Change i to bfd_size_type. 1760 * sysdump.c (unit_info_list): Comment out. 1761 (object_body_list, program_structure, debug_list): Likewise. 1762 * sysinfo.y (yyerror): Return value. 1763 1764Thu Mar 26 17:06:51 1998 Richard Henderson <rth@cygnus.com> 1765 1766 * defparse.y (explist): Allow epsilon. 1767 Suggestion from Jonathan-Harris@psion.com. 1768 1769Thu Mar 26 16:59:09 1998 Richard Henderson <rth@cygnus.com> 1770 1771 * coffgrok.c (do_sections_p1): Use the section's lma instead of vma 1772 for the benefit of prom loaders. 1773 1774Wed Mar 25 13:05:39 1998 Ian Lance Taylor <ian@cygnus.com> 1775 1776 Based on patch from H.J. Lu <hjl@gnu.org>: 1777 * Makefile.am (DISTSTUFF): New variable. 1778 (diststuff): New target. 1779 (DISTCLEANFILES): New variable. 1780 * Makefile.in: Rebuild. 1781 1782Tue Mar 24 19:33:08 1998 Ian Lance Taylor <ian@cygnus.com> 1783 1784 * rclex.l: Accept { and } as synonyms for BEGIN and END. 1785 1786Fri Mar 20 19:18:08 1998 Ian Lance Taylor <ian@cygnus.com> 1787 1788 * aclocal.m4, configure: Rebuild with libtool 1.2. 1789 1790Tue Feb 24 13:07:50 1998 Doug Evans <devans@canuck.cygnus.com> 1791 1792 * objdump.c (disassemble_data): Delete "++place" after call to 1793 find_symbol_for_address. Set disasm_info.symbols to array of 1794 symbols at the current address. 1795 1796Wed Feb 18 23:39:46 1998 Richard Henderson <rth@cygnus.com> 1797 1798 * Makefile.am (install-exec-local): Install properly when ln 1799 fails or tooldir == prefix. 1800 1801Tue Feb 17 18:40:55 1998 Richard Henderson <rth@cygnus.com> 1802 1803 * objcopy.c (compare_section_lma): Rename from _vma. 1804 (copy_object): Gap fill based on LMA not VMA. 1805 * binutils.texi: Update and clarify. 1806 * objcopy.1: Likewise. 1807 1808Tue Feb 17 20:34:11 1998 Ian Lance Taylor <ian@cygnus.com> 1809 1810 * dlltool.c (gen_exp_file): Generate _imp__%s as well as __imp_%s, 1811 for Microsoft compatibility. 1812 (make_one_lib_file): Likewise. 1813 1814 * dlltool.c (make_one_lib_file): Don't add 1 to hint. 1815 1816Fri Feb 13 16:37:44 1998 Ian Lance Taylor <ian@cygnus.com> 1817 1818 * Makefile.am (AUTOMAKE_OPTIONS): Define. 1819 * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e. 1820 1821Thu Feb 12 14:13:46 1998 Ian Lance Taylor <ian@cygnus.com> 1822 1823 * deflex.l: Accept '?' in symbol names, for VC++ mangled names. 1824 From Mikey <jeffdb@netzone.com>. 1825 1826 * addr2line.c (usage): Update bug-gnu-utils address. 1827 * ar.c (usage): Likewise. 1828 * nlmconv.c (show_usage): Likewise. 1829 * nm.c (usage): Likewise. 1830 * objcopy.c (copy_usage): Likewise. 1831 (strip_usage): Likewise. 1832 * objdump.c (usage): Likewise. 1833 * size.c (usage): Likewise. 1834 * strings.c (usage): Likewise. 1835 * windres.c (usage): Likewise. 1836 * binutils.texi (Bug Reporting): Likewise. 1837 1838Sat Feb 7 15:36:24 1998 Ian Lance Taylor <ian@cygnus.com> 1839 1840 * configure, aclocal.m4: Rebuild with new libtool. 1841 1842Thu Feb 5 12:21:13 1998 Ian Lance Taylor <ian@cygnus.com> 1843 1844 * configure, Makefile.in, aclocal.m4: Rebuild with new libtool. 1845 1846Fri Jan 30 19:16:28 1998 Doug Evans <devans@canuck.cygnus.com> 1847 1848 * Makefile.am (CC_FOR_TARGET,nlmcomv.o): Change program_transform_name 1849 to transform. 1850 * Makefile.in: Regenerate. 1851 1852Thu Jan 29 16:24:04 1998 Mumit Khan <khan@xraylith.wisc.edu> 1853 1854 * dlltool.c: Define exit status macros for _WIN32 but not 1855 __CYGWIN32__. 1856 (gen_lib_file): Check for exit status of unlink. 1857 * resrc.c: Define popen and pclose if _WIN32 but not 1858 __CYGWIN32__. 1859 1860Wed Jan 28 17:45:46 1998 Ian Lance Taylor <ian@cygnus.com> 1861 1862 * configure.in: Remove vfork check. 1863 * nlmconv.c: Never include vfork.h. 1864 * aclocal.m4, configure, Makefile.in, config.in: Rebuild. 1865 1866Wed Jan 28 17:43:02 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl> 1867 1868 * objcopy.c (copy_archive): Only pass one argument to mkdir if 1869 _WIN32 but not __CYGWIN32__. 1870 (smart_rename): Add code for _WIN32 (not __CYGWIN32__), to cope 1871 with different rename behaviour and lack of chown. 1872 1873 * configure.in: Check for mingw32 when deciding whether to build 1874 dlltool. 1875 * dlltool.c: Never include vfork.h. 1876 (run): Use pexecute rather than vfork. 1877 (gen_lib_file): Check for errors from bfd_set_archive_head and 1878 bfd_close. Close all the BFDs in the archive before deleting the 1879 temporary files. 1880 1881Thu Jan 22 16:22:55 1998 Fred Fish <fnf@cygnus.com> 1882 1883 * objdump.c (disassemble_bytes): Add flag INSN_HAS_RELOC to tell 1884 disassembly function there is a reloc on this line. 1885 1886Wed Jan 14 15:29:43 1998 Richard Henderson <rth@cygnus.com> 1887 1888 * srconv.c (sh, h8300): Delete variables. 1889 (addrsize, toolname, rnames): New variables. 1890 (writeINT): Use addrsize. 1891 (wr_un): Use toolname. 1892 (wr_hd): Set up addrsize et al properly for h8300[hs]. 1893 (walk_tree_symbol): Zero dsy. Use rnames. 1894 (wr_un, wr_hd, wr_ob, wr_du): Use proper bfd access macros. 1895 * sysdump.c (sh, h8300): Delete variables. 1896 (addrsize): New variable. 1897 (getINT): Use it. 1898 (getone): Initialize it. 1899 (getBITS): Range check on MAX. 1900 1901For older changes see ChangeLog-9197 1902 1903Copyright (C) 1998-1999 Free Software Foundation, Inc. 1904 1905Copying and distribution of this file, with or without modification, 1906are permitted in any medium without royalty provided the copyright 1907notice and this notice are preserved. 1908 1909Local Variables: 1910mode: change-log 1911left-margin: 8 1912fill-column: 74 1913version-control: never 1914End: 1915