12004-12-31 Alan Modra <amodra@bigpond.net.au> 2 3 * objdump.c (remove_useless_symbols): Discard section symbols. 4 52004-12-27 H.J. Lu <hongjiu.lu@intel.com> 6 7 * readelf.c (read_leb128): Support 64bit host. 8 92004-12-23 Nick Clifton <nickc@redhat.com> 10 11 PR binutils/616 12 * readelf.c (debug_info): Add 'cu_offset' field. 13 (get+pointer_size_of_comp_unit): Rename to 14 'get_pointer_size_and_offset_of_comp_unit'. Add code to return 15 the offset of the comp_unit if requested. 16 (get_debug_info): Record comp_unit offsets as well. 17 (display_debug_lines): Call get_pointer_size_of_comp_unit. 18 (decode_location_expression): Add an extra parameter - the offset 19 of the current comp-unit. Use this when decoding the DW_OP_call2 20 and DW_OP_call4 operators. 21 (display_debug_loc): Call get_pointer_size_of_comp_unit, pass the 22 comp_unit offset on the decode_location_expression. 23 (read_and_display_attr_value): Pass the comp_unit offset on the 24 decode_location_expression. 25 (display_debug_frames): Pass 0 as the comp_unit offset to 26 decode_location_expression. 27 282004-12-22 Nick Clifton <nickc@redhat.com> 29 30 * readelf.c (last_pointer_size, warned_about_missing_comp_units): 31 New variables associated with obtaining the pointer size for a 32 comp_unit. 33 (get_pointer_size_of_comp_unit): Add an extra parameter - the name 34 of the section requesting the pointer size. Use this name in 35 error messages. If there are not enough comp_units available 36 produce a warning message, but return the last known pointer size 37 so that section dumping can continue. 38 (get_debug_info): Reset the new variables. 39 (display_debug_lines): Add extra parameter to invocation of 40 get_pointer_size_of_comp_unit and remove error message when it 41 returns 0. 42 (display_debug_loc): Likewise. 43 442004-12-15 Jan Beulich <jbeulich@novell.com> 45 46 * doc/binutils.texi: Document --strip-unneeded-symbol and 47 --strip-unneeded-symbols. 48 * objcopy.c (strip_unneeded_list): New. 49 (enum command_line_switch): Add OPTION_STRIP_UNNEEDED_SYMBOL 50 and OPTION_STRIP_UNNEEDED_SYMBOLS. 51 (copy_options): Add --strip-unneeded-symbol and 52 --strip-unneeded-symbols. 53 (copy_usage): Likewise. 54 (filter_symbols): Suppress copying of symbol if in strip_unneeded_list 55 and the symbol is not needed. 56 (copy_main): Handle OPTION_STRIP_UNNEEDED_SYMBOL and 57 OPTION_STRIP_UNNEEDED_SYMBOLS. 58 592004-12-09 Ian Lance Taylor <ian@wasabisystems.com> 60 61 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_9000. 62 632004-12-08 Ben Elliston <bje@au.ibm.com> 64 65 * arlex.l: Fix formatting. 66 672004-12-08 Ben Elliston <bje@au.ibm.com> 68 69 * doc/Makefile.am (config.texi): Emit a @set UPDATED command to 70 config.texi whose value is the current month and year. 71 * doc/Makefile.in: Rebuild. 72 * doc/binutils.texi: Set the document subtitle to be the value of 73 the Texinfo UPDATED variable (obtained from config.texi). 74 752004-12-07 Ben Elliston <bje@au.ibm.com> 76 77 PR binutils/249 78 * doc/binutils.texi (def file format): New node. 79 (dlltool): Use the tool name as the @chapter name, like all the 80 other binutils. Use @file{.def} throughout for consistency. 81 822004-12-06 Ben Elliston <bje@au.ibm.com> 83 84 * dlltool.c: Comment fix. 85 862004-12-06 Ben Elliston <bje@au.ibm.com> 87 88 * doc/binutils.texi: Update copyright years. 89 902004-12-03 Richard Sandiford <rsandifo@redhat.com> 91 92 * MAINTAINERS: Remove mention of config.if. 93 942004-11-30 Tero Niemela <tero_niemela@yahoo.com> 95 96 * Makefile.am: Change LOCALEDIR to $(datadir)/share. 97 * Makefile.in: Regenerate. 98 992004-11-10 Ian Lance Taylor <ian@wasabisystems.com> 100 101 PR binutils/536 102 * stabs.c (stab_demangle_template): Call stab_demangle_count 103 rather than stab_demangle_get_count to get the length of a pointer 104 target. 105 1062004-11-10 Danny Smith <dannysmith@users.sourceforge.net> 107 108 * defparse.y: Remove unnecessary commas from token list. 109 1102004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> 111 112 * doc/binutils.texi (nm): Update description of weak symbols. 113 1142004-11-03 Nick Clifton <nickc@redhat.com> 115 116 * readelf.c (do_debug_ranges): New variable. 117 (usage): Document new switch: -wR or --debug-dump=Ranges. 118 (parse_args): Handle new switch. Replace switch statement for the 119 long options with a more compact table structure. 120 (process_section_headers): Allow the dumping of .debug_ranges 121 sections if so requested. 122 (debug_displays): Likewise. 123 (load_debug_range): New function: Grabs the contents of a 124 .debug_ranges section. 125 (free_debug_range): New function: Releases the grabbed 126 .debug_ranges section. 127 (decode_64bit_range): New function: Displays a 64-bit range in a 128 .debug_ranges section. 129 (decode_range): New function: Displays a 32-bit range in a 130 .debug_ranges section. 131 (read_and_display_attr_value): Record the value of DW_AT_low_pc 132 attributes. Use decode_ranges() to display a DW_AT_ranges 133 attribute. 134 (display_debug_info): Use load_debug_range() and 135 free_debug_range(). 136 (display_64bit_debug_ranges): New function. Displays the contents 137 of a 64-bit format .debug_ranges section. 138 (display_debug_ranges): New function: Displays the contents of a 139 32-bit .debug_ranges section. 140 141 (main): Move cmdline_dump_sects and num_cmdline_dump_sects into the 142 global scope. 143 (process_object): Initialise the dump_sects array from the 144 cmdline_dump_sects array before processing each object file. 145 146 (streq, strneq): New macros. Use them to replace occurrences of 147 strcmp() and strncmp(). 148 149 (debug_information): New structure array to replace 150 debug_line_pointer_sizes array. 151 (num_debug_info_entries): New variable to replace 152 num_debug_line_pointers. 153 (get_pointer_size_of_comp_unit): New function: Returns the pointer 154 size of a given compilation unit. 155 (get_debug_info): New function to replace 156 get_debug_line_pointer_sizes. 157 (display_debug_lines): Use the new functions. 158 (display_debug_loc): Likewise. 159 160 (disassemble_section): Change return type to int. 161 (display_debug_lines): Move local variables to their 162 innermost scope. 163 (display_debug_section): Likewise. Also record the return value 164 of functions called and pass this back to the parent. Also only 165 warn about undumped sections when the user explicitly requested 166 their dumping. 167 168 (debug_apply_rela_addends): Allow relocations against STT_OBJECT 169 types as well. 170 171 * NEWS: Mention the support for decoding .debug_ranges sections. 172 * doc/binutils.texi: Document the new command line switch to 173 readelf. 174 1752004-11-03 Randolph Chung <tausq@debian.org> 176 177 * readelf.c (ia64_unw_aux_info, ia64_unw_table_entry): Rename from 178 unw_aux_info and unw_table_entry. 179 (find_symbol_for_address): Pass symtab and strtab info explicitly. 180 (dump_ia64_unwind): Rename unw_{aux_info,table_entry} with ia64_ 181 prefix. 182 (slurp_ia64_unwind_table): Likewise. 183 (ia64_process_unwind): Rename from old process_unwind. 184 (hppa_unw_aux_info): New. 185 (dump_hppa_unwind): New. 186 (slurp_hppa_unwind_table): New. 187 (hppa_process_unwind): New. 188 (process_unwind): Factor out common unwinding checks; dispatch to 189 unwind handler based on machine type. 190 1912004-11-02 Nick Clifton <nickc@redhat.com> 192 193 * readelf.c (display_debug_lines): Fix typo in error message. 194 1952004-10-26 Mark Mitchell <mark@codesourcery.com> 196 197 * readelf.c (get_note_type): Handle notes not in core files. 198 (process_note_sections): New function. 199 (process_corefile_contents): Rename to ... 200 (process_notes): ... this. 201 (process_object): Call process_notes, not 202 process_corefile_contents. 203 * doc/binutils.texi: Update readelf -n documentation. 204 2052004-10-26 Jakub Jelinek <jakub@redhat.com> 206 207 * ar.c (extract_file): Set atime to mtime for ar xo. 208 2092004-10-25 Ian Lance Taylor <ian@wasabisystems.com> 210 211 * stabs.c (stab_demangle_v3_arglist): New static function, broken 212 out of stab_demangle_v3_argtypes. 213 (stab_demangle_v3_argtypes): Call it. 214 (stab_demangle_v3_arg): Handle DEMANGLE_COMPONENT_FUNCTION_TYPE. 215 If we find an unrecognized component, print out its number. 216 2172004-10-25 David Mosberger <davidm@hpl.hp.com> 218 219 * readelf.c (slurp_ia64_unwind_table): Support relocations against 220 non-section symbols by adding in the symbol value. 221 2222004-10-25 Nick Clifton <nickc@redhat.com> 223 224 PR 465 225 * readelf.c (dynamic_strings_length): New global variable. 226 (VALID_DYNAMIC_NAME, GET_DYNAMIC_NAME): New macros for accessing 227 strings in the dynamic string table. 228 (process_section_headers): Initialise dynamic_strings_length. 229 (process_dynamic_section): Likewise. 230 (process_object): Reset dynamic_string_length when the buffer is freed. 231 (dynamic_sections_mips_val): Use the new macros. 232 (process_dynamic_section): Likewise. 233 (process_version_sections): Likewise. 234 (process_symbol_table): Likewise. 235 (process_syminfo): Likewise. 236 (process_mips_specific): Likewise. 237 (dump_relocations): Add a new parameter 'strtablen' and use this 238 to verify that string offset in a given reloc is valid. Print a 239 suitable error message otherwise. 240 (process_relocs): Pass the new argument to dump_relocations. 241 2422004-10-23 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> 243 244 * dlltool.c: Include <assert.h>. 245 (PREFIX_ALIAS_BASE): Define. 246 (struct export): Add member import_name; 247 (def_exports): Set import_name. 248 (make_one_lib_file): Remove prefix alias code, use import_name 249 in .idata$6. 250 (gen_lib_file): Create and delete aliases. 251 2522004-10-19 H.J. Lu <hongjiu.lu@intel.com> 253 254 * readelf.c (process_section_groups): Free symtab after use. 255 2562004-10-18 Tommy Pettersson <ptp@lysator.liu.se> 257 Nick Clifton <nickc@redhat.com> 258 259 * strings.c (usage): Place radix values for -t option into the 260 correct order. 261 262 * objcopy.c (add_redefine_syms_file): Change error messages to use 263 <filename>:<linenumber>: format for easier parsing by automatic 264 tools. 265 266 * srconv.c (show_usage): Fix spelling typo. 267 268 * windres.c (format_from_filename): Suggest the use of -J instead 269 of -I if the file type cannot be determined. 270 2712004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> 272 273 * strings.c: Include <sys/stat.h>. 274 2752004-10-18 Alan Modra <amodra@bigpond.net.au> 276 277 * budemang.c (demangle): Fix thinko. 278 279 * budemang.c (demangle): Handle "@plt" suffix. 280 2812004-10-14 Nick Clifton <nickc@redhat.com> 282 283 * nm.c (usage): Fix description of --special-syms switch. 284 2852004-10-13 Jakub Jelinek <jakub@redhat.com> 286 287 * strings.c (statbuf): New typedef. 288 (file_stat): Define. 289 (strings_object_file): Avoid using get_file_size, instead do the 290 checks here, using file_stat. 291 * configure.in (HAVE_STAT64): New test. 292 * configure: Rebuilt. 293 * config.in: Rebuilt. 294 2952004-10-12 Paul Brook <paul@codesourcery.com> 296 297 * readelf.c (decode_ARM_machine_flags): Support EABI version 4. 298 2992004-10-11 Alan Modra <amodra@bigpond.net.au> 300 301 * objdump.c (dump_symbols): Fix thinko last change. Improve error 302 messages. 303 3042004-10-08 Nick Clifton <nickc@redhat.com> 305 306 * nm.c: Add a new switch --special-syms which, if enabled, will 307 include the ARM Mapping symbols in nm's output. 308 (usage): Mention the switch. 309 (filter_symbols): Handle the switch. 310 * objdump.c: Add a similar switch. 311 (usage): Mention the switch. 312 (dump_symbols): Handle the switch. 313 * doc/binutils.texi: Document the new switches. 314 * NEWS: Mention the new switches. 315 3162004-10-08 Daniel Jacobowitz <dan@debian.org> 317 318 * readelf.c (get_x86_64_section_type_name): New function. 319 (get_section_type_name): Use it. 320 3212004-10-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> 322 323 * dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04 324 patches. 325 * doc/binutils.texi (dlltool): Revert 2004-09-06 patch. 326 3272004-10-07 Alexandre Oliva <aoliva@redhat.com> 328 329 * readelf.c (get_machine_flags): Don't fall through into m68k cpu 330 types. 331 3322004-10-01 Paul Brook <paul@codesourcery.com> 333 334 * readelf.c (get_arm_section_type_name): New function. 335 (get_section_type_name): Use it. 336 3372004-09-28 Nick Clifton <nickc@redhat.com> 338 339 * nm.c: Reorder functions to eliminate most of the static function 340 prototypes. 341 3422004-09-22 Alan Modra <amodra@bigpond.net.au> 343 344 * readelf.c (process_program_headers): Don't include .tbss in non-TLS 345 segments. 346 3472004-09-17 Alan Modra <amodra@bigpond.net.au> 348 349 * Makefile.am: Run "make dep-am". 350 * Makefile.in: Regenerate. 351 * config.in: Regenerate. 352 * configure: Regenerate. 353 * doc/Makefile.in: Regenerate. 354 * po/binutils.pot: Regenerate. 355 3562004-09-12 Alan Modra <amodra@bigpond.net.au> 357 358 * readelf.c (decode_location_expression): Sign extend value for 359 DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip. 360 3612004-09-09 Nick Clifton <nickc@redhat.com> 362 363 PR 363 364 * ar.c (replace_members): Do not use get_file_size as 365 ar_emul_append correctly handles missing files. 366 3672004-09-07 H.J. Lu <hongjiu.lu@intel.com> 368 369 * configure: Regenerated with autconfig 2.13. 370 3712004-09-06 Danny Smith <dannysmith@users.sourceforge.net> 372 373 * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at 374 documentation. 375 3762004-09-06 Michael Wardle <mbw@endbracket.net> 377 378 * doc/binutils.texi (objdump): Document that the -x switch includes 379 the effect of the -p switch. 380 3812004-09-04 Danny Smith <dannysmith@users.sourceforge.net> 382 383 * dlltool.c (make_one_lib_file): Test if internal_name was 384 specified by user before using it. 385 3862004-09-02 Carlo Wood <carlo@alinoe.com> 387 388 PR binutils/351 389 * dlltool.c (make_one_lib_file): For IDATA6 take the name from 390 exp->internal_name if it is present. 391 3922004-09-02 Alexandre Oliva <aoliva@redhat.com> 393 394 * MAINTAINERS: Add self as co-maintainer of FR-V. 395 * readelf.c (get_machine_flags): Print FR-V cpu types. 396 3972004-08-28 Alan Modra <amodra@bigpond.net.au> 398 399 * nm.c (show_synthetic): New var. 400 (long_options): Add "synthetic". 401 (usage): Here too. 402 (display_rel_file): Handle show_synthetic. 403 4042004-08-28 Alan Modra <amodra@bigpond.net.au> 405 406 * objdump.c (dump_bfd): Pass both symbol tables to 407 bfd_get_synthetic_symtab. 408 4092004-08-17 Jakub Jelinek <jakub@redhat.com> 410 411 * objdump.c (dump_bfd): For relocatable objects, pass syms instead 412 of dynsyms to bfd_get_synthetic_symtab. 413 4142004-08-16 Alan Modra <amodra@bigpond.net.au> 415 416 * readelf.c (debug_apply_rela_addends): New function, extracted from.. 417 (display_debug_info): ..here. 418 (display_debug_frames): Call debug_apply_rela_addends. Don't do 419 DW_EH_PE_pcrel adjustment for ET_REL. 420 4212004-08-06 Andreas Schwab <schwab@suse.de> 422 423 * readelf.c (dump_relocations): Fix typo when calculating 424 sec_index. 425 4262004-08-02 Jakub Bogusz <qboosh@pld-linux.org> 427 428 * dllwrap.c (deduce_name): Fix typos introduced when program_name 429 was renamed to prog_name. 430 4312004-07-29 Alexandre Oliva <aoliva@redhat.com> 432 433 * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and 434 EF_SH2A_NOFPU. 435 4362004-07-28 Alexandre Oliva <aoliva@redhat.com> 437 438 2003-07-08 Alexandre Oliva <aoliva@redhat.com> 439 * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and 440 EF_SH4A_NOFPU. 441 2003-06-12 Alexandre Oliva <aoliva@redhat.com> 442 * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name. 443 4442004-07-21 H.J. Lu <hongjiu.lu@intel.com> 445 446 * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section 447 to access comdat. 448 * objdump.c (dump_section_header): Likewise. 449 4502004-07-15 Aravinda PR <aravindapr@rediffmail.com> 451 452 * nlmconv.c (main): Pass map_file argument to link_inputs. 453 (link_inputs): Use map_file argument if it is defined. 454 4552004-07-13 Nick Clifton <nickc@redhat.com> 456 457 * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid 458 conflicts with exported global defined in bucomm.h. 459 (deduce_name): Rename parameter 'program_name' to 'name' to avoid 460 shadowing the global defined in bucomm.h. 461 4622004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> 463 464 * dlltool.c (ext_prefix_alias): New global variable. 465 (make_one_lib_file): Add aliases with prefixes for external 466 and import definitions. 467 (usage): Document -p option. 468 (long_options): Add --ext-prefix-alias option. 469 (main): Handle -p. 470 * doc/binutils.texi: Document new switch. 471 * NEWS: Mention new switch. 472 4732004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> 474 475 * binutils/dlltool.c (asm_prefix): Add parameter: name. 476 No underscore for symbols beginning with ?. 477 (ASM_PREFIX): Add parameter: NAME. 478 (gen_exp_file): Use new parameter. 479 (make_label): Likewise. 480 (make_imp_label): Likewise. 481 (make_one_lib_file): Likewise. 482 4832004-07-07 Tomer Levi <Tomer.Levi@nsc.com> 484 485 * MAINTAINERS: Added myself to the list. 486 * readelf.c: Include "elf/crx.h". 487 (guess_is_rela): Handle EM_CRX. 488 (get_machine_name): Likewise. 489 (dump_relocations): Likewise. 490 4912004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> 492 493 * doc/binutils.texi (nm): Clarify weak symbol description. 494 4952004-06-24 Ben Elliston <bje@au.ibm.com> 496 497 * readelf.c (get_segment_type): Display "GNU_STACK", not just 498 "STACK", when a PT_GNU_STACK segment is encountered. 499 5002004-06-24 Alan Modra <amodra@bigpond.net.au> 501 502 * objcopy.c (copy_section): Don't set _cooked_size. 503 5042004-06-22 Alan Modra <amodra@bigpond.net.au> 505 506 * readelf.c (Elf32_Word): Delete. 507 (get_32bit_dynamic_section): Handle SGI ELF dynamic segment. 508 (get_64bit_dynamic_section): Likewise. 509 510 * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry. 511 (get_64bit_dynamic_section): Likewise. 512 513 * readelf.c (dynamic_nent): New variable. 514 (get_32bit_dynamic_section): Set it. 515 (get_64bit_dynamic_section): Here too. 516 (process_dynamic_section): Use it instead of dynamic_size. 517 (process_syminfo): Likewise. 518 519 * readelf.c (get_32bit_dynamic_section): Correct number of entries 520 translated from external to internal form. 521 (get_64bit_dynamic_section): Likewise. 522 5232004-06-18 Jie Zhang <zhangjie@magima.com.cn> 524 525 * readelf.c (process_program_headers): When locating the dynamic 526 section use the section table if it is present. 527 (dynamic_segment): Renamed to dynamic_section. 528 Replace references to dynamic segment with references to dynamic 529 section, except where appropriate. 530 (dynamic_segment_mips_val): Rename to dynamic_section_mips_val. 531 (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val. 532 (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val. 533 (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section. 534 Remove tag counting code as it is no longer needed. 535 (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section. 536 Remove tag counting code as it is no longer needed. 537 (process_dynamic_segment): Rename to process_dynamic_section. 538 5392004-06-15 Alan Modra <amodra@bigpond.net.au> 540 541 * objcopy.c (copy_section): Use bfd_get_section_size instead of 542 _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done. 543 (compare_section_lma): Likewise. 544 * addr2line.c (find_address_in_section): Likewise. 545 * coffgrok.c (do_sections_p1): Likewise. 546 * dlltool.c (scan_drectve_symbols): Likewise. 547 * nlmconv.c (main): Likewise. 548 (copy_sections): Likewise. 549 (powerpc_mangle_relocs): Likewise. 550 * objdump.c (disassemble_section): Likewise. 551 * prdbg.c (find_address_in_section): Likewise. 552 * size.c (berkeley_sum): Likewise. 553 * srconv.c (wr_ob): Likewise. 554 * strings.c (strings_a_section): Likewise. 555 5562004-05-28 Ian Lance Taylor <ian@wasabisystems.com> 557 558 * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT. 559 5602004-05-17 David Heine <dlheine@tensilica.com> 561 562 * objcopy.c (setup_bfd_headers): New function. 563 (copy_object): Call setup_bfd_headers. 564 5652004-05-13 Paul Brook <paul@codesourcery.com> 566 567 * readelf.c (display_debug_frames): Handle dwarf3 format CIE 568 entries. 569 5702004-05-13 Nick Clifton <nickc@redhat.com> 571 572 * po/fr.po: Updated French translation. 573 5742004-05-11 Jakub Jelinek <jakub@redhat.com> 575 576 * readelf.c (get_segment_type): Handle PT_GNU_RELRO. 577 5782004-05-07 H.J. Lu <hongjiu.lu@intel.com> 579 580 * readelf.c (section_groups): New. 581 (group_count): New. 582 (section_headers_groups): New. 583 (process_section_groups): Populate group_count, section_groups 584 and section_headers_groups. 585 (process_unwind): Support section group. 586 (process_object): Always call process_section_groups. Free 587 section_groups and section_headers_groups. 588 5892004-04-30 H.J. Lu <hongjiu.lu@intel.com> 590 591 * readelf.c (process_section_headers): Use %3lu on sh_info. 592 5932004-04-30 Michael Deutschmann <michael@talamasca.ocis.net> 594 595 * ranlib.sh: Quote $1 argument in case it contains spaces. 596 5972004-04-27 John Paul Wallington <jpw@gnu.org> 598 599 * objcopy.c (copy_usage, strip_usage): Fix spelling. 600 6012004-04-26 H.J. Lu <hongjiu.lu@intel.com> 602 603 * readelf.c (do_section_groups): New. 604 (options): Add --section-groups/-g. 605 (usage): Mention --section-groups/-g. 606 (parse_args): Support --section-groups/-g. 607 (get_group_flags): New. 608 (process_section_groups): New. 609 (process_object): Call process_section_groups. 610 6112004-04-24 Alan Modra <amodra@bigpond.net.au> 612 613 * objdump.c (disassemble_section): Don't disassemble sections 614 without SEC_HAS_CONTENTS. 615 6162004-04-22 Jakub Jelinek <jakub@redhat.com> 617 618 * objdump.c (synthsyms, synthcount): New variables. 619 (disassemble_data): Use dynsyms for stripped binaries or libraries. 620 Add synthetized symbols. 621 (dump_bfd): For disassemble, initialize dynsyms always and 622 also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count 623 before returning. 624 6252004-04-14 Alan Modra <amodra@bigpond.net.au> 626 627 * strings.c (print_strings): Cast file_off to unsigned long in 628 printf arg list. 629 6302004-04-07 Benjamin Monate <benjamin.monate@cea.fr> 631 632 PR 86 633 * arsup.c (ar_save): Use smart_rename. 634 6352004-04-01 Dean Luick <luick@cray.com> 636 637 * readelf.c (display_debug_pubnames): Align offset and data 638 columns. 639 (read_and_display_attr_value): Add missing break; 640 (debug_displays): Enable the display of the .debug_pubtypes 641 section. 642 6432004-03-30 Stan Shebs <shebs@apple.com> 644 645 * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW 646 support files, no longer used. 647 6482004-03-23 Paul Brook <paul@codesourcery.com> 649 650 * readelf.c (decode_ARM_machine_flags): Add EABI v3. 651 6522004-03-21 Richard Henderson <rth@redhat.com> 653 654 * readelf.c (display_debug_frames): Don't crash for mismatched 655 DW_CFA_restore_state. 656 6572004-03-19 Alan Modra <amodra@bigpond.net.au> 658 659 * Makefile.am: Run "make dep-am". 660 * Makefile.in: Regenerate. 661 * aclocal.m4: Regenerate. 662 * config.in: Regenerate. 663 * configure: Regenerate. 664 * po/binutils.pot: Regenerate. 665 6662004-03-15 Nathan Sidwell <nathan@codesourcery.com> 667 668 * objdump.c (struct SFILE): Replace current pointer with pos 669 offset, rename size to alloc. 670 (objdump_sprintf): Avoid unnecessary copies in the common case 671 (disassemble_bytes): Keep sfile live throughout the 672 function. Adjust usage appropriately. 673 6742004-03-10 Ben Elliston <bje@gnu.org> 675 676 * MAINTAINERS: Update my mail address. 677 6782004-03-08 Danny Smith <dannysmith@users.sourceforge.net> 679 680 * deflex.l: Handle "PRIVATE" string. 681 * defparse.y (%token): Add PRIVATE. 682 (%type): Add opt_PRIVATE. 683 (expline): Pass opt_PRIVATE to def_exports. 684 (opt_PRIVATE): Handle PRIVATE token. 685 * dlltool.h (def_exports): Add 7th param for private flag to 686 declaration. 687 * dlltool.c: Add PRIVATE to comment on EXPORTS syntax. 688 (struct export): Add 'private' field. 689 (def_exports): Set 'private' field of struct exports. 690 (scan_drectve_symbols): Adjust calls to def_exports. 691 (scan_filtered_symbols): Likewise. 692 (dump_def_info): Print 'private' field. 693 (gen_def_file): Likewise. 694 (gen_lib_file): Skip generation of lib object if private. 695 Delete tmp object files in same order as they were generated. 696 Don't delete non-existent private object files. 697 6982004-02-27 Andreas Schwab <schwab@suse.de> 699 700 * ar.c (main): Support POSIX-compatible argument parsing. 701 7022004-02-23 Daniel Lucq <daniel@lucq.org> 703 704 * readelf.c (process_mips_specific): Print conflictsno as an 705 unsigned long. 706 7072004-02-21 Dmitry Timoshkov <dmitry@baikal.ru> 708 709 * dlltool.c (gen_exp_file): Always output names for forwarded symbols. 710 7112004-02-19 Jakub Jelinek <jakub@redhat.com> 712 713 * objcopy.c (copy_section): Avoid warnings. 714 7152004-02-14 Andrew Cagney <cagney@redhat.com> 716 717 * ar.c (remove_output): Use bfd_cache_close. 718 * arsup.c (ar_end): Ditto. 719 7202004-01-21 Roland McGrath <roland@redhat.com> 721 722 * readelf.c (get_note_type): Match NT_AUXV. 723 7242004-01-20 Nick Clifton <nickc@redhat.com> 725 726 * version.c (print_version): Update copyright year to 2004. 727 7282004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl> 729 730 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN 731 throughout. 732 * aclocal.m4: Regenerate. 733 * configure: Regenerate. 734 7352004-01-12 Jakub Jelinek <jakub@redhat.com> 736 737 * objcopy.c: Include elf-bfd.h. 738 (is_strip_section): Don't strip debugging sections if 739 STRIP_NONDEBUG. 740 (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections 741 ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS. 742 743 * objcopy.c (copy_section): Free relpp if relcount == 0. 744 7452004-01-12 Ian Lance Taylor <ian@wasabisystems.com> 746 747 * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names. 748 (stab_demangle_argtypes): Likewise. 749 (stab_demangle_v3_argtypes): New static function. 750 (stab_demangle_v3_arg): New static function. 751 7522004-01-12 Nick Clifton <nickc@redhat.com> 753 754 * objcopy.c (copy_object): Make the function boolean, returning 755 FALSE upon failure. 756 (copy_archive): Handle the return value from copy_object. 757 (copy_file): Likewise. 758 7592004-01-07 Nick Clifton <nickc@redhat.com> 760 761 * readelf.c (find_section): New function. Locates a named 762 section. 763 (get_debug_line_pointer_sizes): New function: Initialises the 764 debug_line_pointer_sizes array. 765 (display_debug_lines): Call get_debug_line_pointer_sizes. 766 (display_debug_loc): Likewise. 767 (load_debug_loc): Use find_section. 768 (load_debug_str): Likewise. 769 (display_debug_info): Likewise. 770 (prescan_debug_info): Delete. 771 (debug_displays): Remove prescan field. 772 (process_section_contents): Do not perform prescans. 773 7742004-01-03 Alan Modra <amodra@bigpond.net.au> 775 776 * objcopy.c (filter_bytes): Delete. Move code to.. 777 (copy_section): ..here. Simplify size adjustment. Divide 778 section lma by interleave. 779 7802004-01-02 Nick Clifton <nickc@redhat.com> 781 782 * po/ru.po: New file: Russian translation. 783 * configure.in (ALL_LINGUAS): Add ru 784 * configure: Regenerate. 785 786For older changes see ChangeLog-0203 787 788Local Variables: 789mode: change-log 790left-margin: 8 791fill-column: 74 792version-control: never 793End: 794