bfd/ * elflink.c (struct elf_smash_syms_data, elf_smash_syms): Delete. (elf_link_add_object_symbols): Delete unnecessary locals. Rename hash_table -> htab. Formatting. Save entire symbol table before loading as-needed syms, and restore afterwards if lib not needed. Use bfd_hash_allocate rather than bfd_alloc for sym name. Free some buffers earlier. * bfd-in.h (struct bfd_hash_table): Add entsize. (bfd_hash_table_init, bfd_hash_table_init_n): Adjust prototype. * elf-bfd.h (_bfd_elf_link_hash_table_init): Likewise * hash.c (bfd_hash_table_init_n): Add entsize param, save to hash table. (bfd_hash_table_init): Add param, adjust calls. * aoutx.h: Adjust all hash_table_init functions and calls. * bfd.c: Likewise. * coff-arm.c: Likewise. * coff-h8300.c: Likewise. * coff-ppc.c: Likewise. * cofflink.c: Likewise. * ecoff.c: Likewise. * ecofflink.c: Likewise. * elf-m10300.c: Likewise. * elf-strtab.c: Likewise. * elf.c: Likewise. * elf32-arm.c: Likewise. * elf32-bfin.c: Likewise. * elf32-cris.c: Likewise. * elf32-frv.c: Likewise. * elf32-hppa.c: Likewise. * elf32-i386.c: Likewise. * elf32-m32r.c: Likewise. * elf32-m68hc1x.c: Likewise. * elf32-m68k.c: Likewise. * elf32-ppc.c: Likewise. * elf32-s390.c: Likewise. * elf32-sh.c: Likewise. * elf32-vax.c: Likewise. * elf64-alpha.c: Likewise. * elf64-hppa.c: Likewise. * elf64-ppc.c: Likewise. * elf64-s390.c: Likewise. * elf64-sh64.c: Likewise. * elf64-x86-64.c: Likewise. * elfxx-ia64.c: Likewise. * elfxx-mips.c: Likewise. * elfxx-sparc.c: Likewise. * i386linux.c: Likewise. * libaout.h: Likewise. * libbfd-in.h: Likewise. * libcoff-in.h: Likewise. * linker.c: Likewise. * m68klinux.c: Likewise. * merge.c: Likewise. * opncls.c: Likewise. * pdp11.c: Likewise. * sparclinux.c: Likewise. * stabs.c: Likewise. * sunos.c: Likewise. * vms.c: Likewise. * xcofflink.c: Likewise. * section.c (struct section_hash_entry): Move to.. * libbfd-in.h: ..here. * Makefile.am: Run "make dep-am" * Makefile.in: Regenerate. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * libcoff.h: Regenerate. binutils/ * ieee.c (write_ieee_debugging_info): Adjust bfd_hash_table_init calls. * wrstabs.c (write_stabs_in_sections_debugging_info): Likewise. ld/ * ldcref.c (add_cref): Adjust bfd_hash_table_init calls. * ldlang.c (output_statement_table_init, lang_init): Likewise. * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise. (undefined_symbol): Likewise.
169 lines
5.1 KiB
Plaintext
169 lines
5.1 KiB
Plaintext
2006-03-16 Alan Modra <amodra@bigpond.net.au>
|
||
|
||
PR 2434
|
||
* ieee.c (write_ieee_debugging_info): Adjust bfd_hash_table_init calls.
|
||
* wrstabs.c (write_stabs_in_sections_debugging_info): Likewise.
|
||
|
||
2006-03-13 Ben Elliston <bje@au.ibm.com>
|
||
|
||
* bucomm.c (display_target_list): Make local variable `a' to be of
|
||
type enum bfd_architecture. Thus no need to cast enums to int.
|
||
(display_info_table): Likewise.
|
||
|
||
2006-03-10 Paul Brook <paul@codesourcery.com>
|
||
|
||
* readelf.c (decode_ARM_machine_flags): Handle EABIv5.
|
||
|
||
2006-03-10 Alan Modra <amodra@bigpond.net.au>
|
||
|
||
* dwarf.c (process_extended_line_op): Remove pointer_size param.
|
||
Use length instead to determine address size.
|
||
(get_pointer_size_and_offset_of_comp_unit): Delete.
|
||
(display_debug_lines): Adjust for above.
|
||
(display_debug_aranges): Don't stop on finding two zeros.
|
||
(display_debug_frames): For warning, print offset not pointer.
|
||
|
||
2006-03-09 Danny Smith <dannysmith@users.sourceforge.net>
|
||
|
||
* dlltool.c: Update copyright year.
|
||
* doc/binutils.texi: Likewise.
|
||
|
||
2006-03-09 Danny Smith <dannysmith@users.sourceforge.net>
|
||
|
||
* dlltool.c (add_stdcall_underscore): New flag.
|
||
(xlate): Also add underscore to stdcall symbol if
|
||
add_stdcall_underscore set.
|
||
(usage): Document --add-stdcall-underscore option.
|
||
(OPTION_ADD_STDCALL_UNDERSCORE): New define.
|
||
(long_options): Use it for --add-stdcall-underscore option.
|
||
(main): Handle it.
|
||
* doc/binutils.texi: Document --add-stdcall-underscore option
|
||
and differentiate from --add-underscore.
|
||
|
||
2006-03-06 Nathan Sidwell <nathan@codesourcery.com>
|
||
|
||
* readelf.c (get_machine_flags): Adjust.
|
||
|
||
2006-03-03 Jakub Jelinek <jakub@redhat.com>
|
||
|
||
* dwarf.c (frame_display_row, display_debug_frames): Handle
|
||
DW_CFA_val_offset, DW_CFA_val_offset_sf and DW_CFA_val_expression.
|
||
|
||
2006-02-28 Nick Clifton <nickc@redhat.com>
|
||
|
||
* objcopy.c (use_alt_mach_code): Change type to unsigned long.
|
||
(copy_object): If bfd_alt_mach_code fails emit a more helpful
|
||
message and if the target architecture is ELF use the alternative
|
||
as replacement value for the e_machine number.
|
||
(copy_main): Use strtoul to parse the number provided with the
|
||
--alt-mach-code switch.
|
||
* doc/binutils.texi (--alt-mach-code): Document that this switch
|
||
can now set the absolute e_machine value.
|
||
|
||
2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
|
||
|
||
* po/Make-in: Add html target.
|
||
|
||
2006-02-17 Nick Hudson <nick.hudson@dsl.pipex.com>
|
||
|
||
* readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
|
||
|
||
2006-02-14 Jakub Jelinek <jakub@redhat.com>
|
||
|
||
* config.in: Rebuilt.
|
||
|
||
2006-02-10 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR binutils/2258
|
||
* readelf.c (process_program_headers): Use
|
||
ELF_IS_SECTION_IN_SEGMENT_MEMORY.
|
||
|
||
2006-02-09 Eric Botcazou <ebotcazou@libertysurf.fr>
|
||
|
||
* configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
|
||
* configure: Regenerate.
|
||
* objdump.c (fprintf): Remove declaration.
|
||
* bucomm.h (fprintf): Declare if not already declared.
|
||
(snprintf): Likewise.
|
||
(vsnprintf): Likewise.
|
||
|
||
2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* readelf.c (process_program_headers): Match PT_TLS segment
|
||
only with SHT_TLS sections.
|
||
|
||
2006-02-07 Nathan Sidwell <nathan@codesourcery.com>
|
||
|
||
* readelf.c (get_machine_flags): Add logic for EF_M68K flags.
|
||
|
||
2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* readelf.c (process_program_headers): Undo the last change.
|
||
|
||
2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* readelf.c (process_program_headers): Undo the change made on
|
||
2004-09-22. Match PT_DYNAMIC segment only with SHT_DYNAMIC
|
||
sections.
|
||
|
||
2006-01-30 Nick Clifton <nickc@redhat.com>
|
||
|
||
* objcopy.c (copy_object): Catch the case where an attempt is made
|
||
to add a section that already exists and produce a more helpful
|
||
warning message.
|
||
|
||
2006-01-26 Nick Clifton <nickc@redhat.com>
|
||
|
||
* po/vi.po: New Vietnamese translation.
|
||
* configure.in (ALL_LINGUAS): Add vi.
|
||
* configure: Regenerate.
|
||
|
||
2006-01-18 Alexandre Oliva <aoliva@redhat.com>
|
||
|
||
Introduce TLS descriptors for i386 and x86_64.
|
||
* readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
|
||
DT_TLSDESC_PLT.
|
||
|
||
2006-01-18 Nick Clifton <nickc@redhat.com>
|
||
|
||
PR binutils/1391
|
||
* objcopy.c (copy_object): For PE format targets set the VMA of a
|
||
newly created gnu_debuglink section to a non-zero, aligned,
|
||
contiguous value.
|
||
* Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
|
||
* Makefile.in: Regenerate.
|
||
|
||
2006-01-17 Andreas Schwab <schwab@suse.de>
|
||
|
||
PR binutils/1486
|
||
* configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
|
||
* configure: Regenerate.
|
||
* objdump.c (struct objdump_disasm_info): Don't check for
|
||
DISASSEMBLER_NEEDS_RELOCS.
|
||
(objdump_print_addr): Likewise.
|
||
(disassemble_bytes): Check disassembler_needs_relocs from
|
||
disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
|
||
at compile-time.
|
||
(disassemble_section): Likewise.
|
||
(disassemble_data): Initialize it.
|
||
|
||
2006-01-11 Alan Modra <amodra@bigpond.net.au>
|
||
|
||
* objcopy.c (copy_object): Fix thinko.
|
||
|
||
* objcopy.c (copy_object): Set isympp and osympp to NULL after free.
|
||
|
||
2006-01-09 Mike Frysinger <vapier@gentoo.org>:
|
||
|
||
* readelf.c (guess_is_rela): Add case for Nios/Nios II.
|
||
(get_machine_name): Likewise.
|
||
|
||
For older changes see ChangeLog-2005
|
||
|
||
Local Variables:
|
||
mode: change-log
|
||
left-margin: 8
|
||
fill-column: 74
|
||
version-control: never
|
||
End:
|