* dwarf2.c (struct attribute): Delete "unsnd", "snd" and "addr".
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 85f71748eb1e3413c0c3a2107cec4022cc9be021..05e8f130f4383504e3573a0208166a8fe598c2a8 100644 (file)
@@ -1,3 +1,141 @@
+2003-10-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * dwarf2.c (struct attribute): Delete "unsnd", "snd" and "addr".
+       Add "val" and "sval" fields.
+       (DW_STRING, DW_UNSND, DW_BLOCK, DW_SND, DW_ADDR): Delete.
+       (read_attribute_value): Expand and adjust DW_* occurrences.
+       (scan_unit_for_functions, parse_comp_unit): Likewise.
+
+2003-10-30  Phil Edwards  <phil@codesourcery.com>
+
+       * config.bfd (arm-*-vxworks):  Remove separate stanza; merge with
+       other common ELF triples.
+       (i[3-7]86-*-vxworks):  Change to ELF format.
+       (mips*-*-windiss):  New triple, add to common MIPS/ELF stanza.
+       (sh-*-vxworks):  New stanza.
+
+2003-10-30  Lars Knoll  <lars@trolltech.com>
+           Michael Matz  <matz@suse.de>
+           Jakub Jelinek  <jakub@redhat.com>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * merge.c (struct sec_merge_sec_info): Update comment.
+       (struct sec_merge_hash_entry): Remove entsize.
+       (sec_merge_hash_lookup): Only adjust alignment when creating.
+       (sec_merge_emit): Remove register keyword.
+       (cmplengthentry, last4_eq, last_eq): Delete.
+       (strrevcmp, strrevcmp_align, is_suffix): New.
+       (merge_strings): Use them to implement fast suffix merging.
+       * elf-strtab.c (struct elf_strtab_hash_entry): Update comments.
+       Make "len" signed.
+       (_bfd_elf_strtab_add): Lose on >2G strings.
+       (_bfd_elf_strtab_emit): Don't emit strings with len < 0.
+       (cmplengthentry, last4_eq): Delete.
+       (strrevcmp, is_suffix): New.
+       (_bfd_elf_strtab_finalize): Rework to implement fast suffix merging.
+
+2003-10-29  Daniel Jacobowitz  <drow@mvista.com>
+
+        * elf32-arm.h (elf32_arm_final_link_relocate): Move check for
+        SEC_ALLOC.
+
+2003-10-29  Philip Blundell  <philb@gnu.org>
+
+       * elf32-arm.h (elf32_arm_plt0_entry, elf32_arm_plt_entry): New
+       code sequence.
+       (PLT_HEADER_SIZE): New.
+       (struct elf32_arm_pcrel_relocs_copied): Rename to ...
+       (struct elf32_arm_relocs_copied): ... this.  Count both
+       pcrel and non-pcrel relocs.  All uses updated.
+       (struct elf32_arm_link_hash_table): Add pointers to dynamic linker
+       sections and symbol/section mapping cache.
+       (create_got_section): New.
+       (elf32_arm_create_dynamic_sections): New.
+       (elf_backend_create_dynamic_sections): Use it.
+       (elf32_arm_final_link_relocate): Support garbage collection of relocs.
+       (elf32_arm_check_relocs): Likewise.
+       (elf32_arm_adjust_dynamic_symbol): Likewise.
+       (elf32_arm_copy_indirect_symbol): New.
+       (elf32_arm_link_hash_table_create): Initialise new fields. 
+       (elf32_arm_gc_sweep_hook): Implement.
+       (elf32_arm_discard_copies): Delete.
+       (elf32_arm_finish_dynamic_symbol): Use new PLT code.
+       (elf32_arm_finish_dynamic_sections): Likewise.
+       (elf_backend_can_refcount): Define.
+       (elf_backend_copy_indirect_symbol): Likewise.
+       (elf_backend_plt_header_size): Set to PLT_HEADER_SIZE.
+
+2003-10-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (elf_backend_grok_prstatus): Define.
+       (elf_backend_grok_psinfo): Define.
+       (ppc64_elf_grok_prstatus, ppc64_elf_grok_psinfo): New functions.
+
+       * elf.c (_bfd_elfcore_make_pseudosection): Allow multiple
+       sections with the same name.
+       (elfcore_grok_lwpstatus): Likewise.
+       (elfcore_grok_win32pstatus): Likewise.
+       (elfcore_grok_note): Likewise.
+       (elfcore_grok_nto_status): Likewise.
+       (elfcore_grok_nto_gregs): Likewise.
+
+2003-10-27  Daniel Jacobowitz  <drow@mvista.com>
+
+       * elf32-arm.h (elf32_arm_merge_private_bfd_data): Never skip dynamic
+       objects.
+
+2003-10-14  Richard Sandiford  <rsandifo@redhat.com>
+
+       * elfxx-mips.c (mips_elf_create_got_section): Initialize global_gotno.
+
+2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Look up
+       hash table for real symbols.
+
+2003-10-23  Michael Snyder  <msnyder@redhat.com>
+
+       * section.c (asection): Fix typo in comment.
+
+2003-10-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (get_tls_mask): Add toc_symndx param, save toc
+       reloc symbol index to it.  Don't allow gd syms in shared libs
+       to be optimized.
+       (ppc64_elf_tls_optimize): Adjust get_tls_mask call.
+       (ppc64_elf_size_stubs): Likewise.
+       (ppc64_elf_relocate_section): Check that tls relocs are only used
+       with tls syms, and similarly for non-tls.  Correct symbol used
+       when optimizing toc tls code.
+
+2003-10-22  Nick Clifton  <nickc@redhat.com>
+
+       * peicode.h (coff_swap_scnhdr_in): Only remove padding when
+       processing an executable.
+
+2003-10-22  Jakub Jelinek  <jakub@redhat.com>
+
+       * elflink.c (_bfd_elf_export_symbol): Adjust for globals and locals
+       field changes.
+       (_bfd_elf_link_assign_sym_version): Likewise.
+       * elflink.h (size_dynamic_sections): Likewise.
+
+2003-10-21  Alexandre Oliva  <aoliva@redhat.com>,
+           Michael Snyder  <msnyder@redhat.com>
+
+       * archures.c (bfd_mach_sh4a, bfd_mach_sh4al_dsp, bfd_mach_sh4_nofpu,
+       bfd_mach_sh4a_nofpu): New machine types.
+       * bfd-in2.h: Rebuilt.
+       * cpu-sh.c (compatible): Remove unused function.
+       (SH4A_NEXT, SH4AL_DSP_NEXT, SH4_NOFPU_NEXT, SH4A_NOFPU_NEXT): New.
+       (arch_info_struct): Add sh4a, sh4al_dsp, sh4-nofpu and sh4a-nofpu.
+       * elf32-sh.c (sh_elf_set_mach_from_flags): Handle them.
+
+2003-10-21  Wouter van Heyst <wouter@vidicode.nl>
+
+       * elf32-arm.h (elf32_arm_merge_private_bfd_data): Correct text
+       describing mismatched formats involving the Maverick FP type.
+
 2003-10-21  Anil Paranjpe  <anilp1@KPITCummins.com>
 
        * binary.c (binary_object_p): Pass machine flag along with
@@ -9,7 +147,7 @@
        * ieee.c (ieee_write_processor): Likewise.
 
 2003-10-21  Peter Barada  <pbarada@mail.wm.sps.mot.com>
-            Bernardo Innocenti  <bernie@develer.com>
+           Bernardo Innocenti  <bernie@develer.com>
 
        * archures.c: Add MCF528x (MCFv4) support.
        * bfd/cpu-m68k.c (arch_info_struct): Likewise.
        * elf.c, coffgen.c, bfd.c, bfd-in.h, aoutf1.h: Ditto.
        * aout-tic30.c, aout-target.h:
        * bfd-in2.h, libcoff.h, libbfd.h: Regenerate.
-       
+
 2003-10-18  Hans-Peter Nilsson  <hp@bitrange.com>
 
        Support linker relaxation of new R_MMIX_PUSHJ_STUBBABLE relocs.
        output section has been discarded.
 
 2003-10-17  Shrinivas Atre  <shrinivasa@KPITCummins.com>
-       
+
        * coff-h8300.c (funcvec_hash_newfunc): Handle normal mode.
        (h8300_reloc16_extra_cases): Likewise.
        (h8300_bfd_link_add_symbols): Likewise.
        elf_backend_merge_symbol_attribute.
        * elflink.h (elf_link_add_object_symbols): Adjust call to
        elf_backend_merge_symbol_attribute if the backend defined it.
-        * elfxx-target.h (elf_backend_merge_symbol_attribute): New macro.
-        (elfNN_bed): Add that to the initializer.
+       * elfxx-target.h (elf_backend_merge_symbol_attribute): New macro.
+       (elfNN_bed): Add that to the initializer.
 
 2003-10-14  Bob Wilson  <bob.wilson@acm.org>
 
        * elf32-xtensa.c (elf_xtensa_relocate_section): Fix typo that clobbered
        dynamic relocation offsets.
 
-2003-09-23  Alan Modra  <alan@modra.org>
+2003-09-23  Alan Modra  <amodra@bigpond.net.au>
 
        * simple.c (bfd_simple_get_relocated_section_contents): Free the
        hash table using _bfd_generic_link_hash_table_free.
 
-2003-09-23  Alan Modra  <alan@modra.org>
+2003-09-23  Alan Modra  <amodra@bigpond.net.au>
 
        * elf-bfd.h (struct bfd_elf_special_section): Remove "suffix".  Change
        type of prefix_length and suffix_length to int.  Rename "attributes"
This page took 0.030403 seconds and 4 git commands to generate.