bfd/
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index b0f0666a6edf5c13060b11032d62bacbe5830a5b..5607b97d308017da23e8f36df800dc3f0b291bde 100644 (file)
@@ -1,3 +1,84 @@
+2005-02-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (func_desc_adjust): Move code creating func desc sym to..
+       (make_fdh): ..here.  New function.  Don't set BSF_OBJECT for
+       undefined syms.
+       (struct add_symbol_adjust_data): New.
+       (add_symbol_adjust): Make an undefweak func desc for old ABI
+       objects to link with --as-needed shared libs.  Return fail status.
+       Don't adjust old ABI func entry sym to weak if func desc syms
+       isn't defined.
+       (ppc64_elf_check_directives): Adjust call to add_symbol_adjust,
+       and return status.
+
+2005-02-01  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cpu-cris.c (get_compatible): Rearrange disabled code and comment
+       for clarity.
+
+2005-02-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_check_directives): Move undefs list fixup..
+       * linker.c (bfd_link_repair_undef_list): ..to new function, but don't
+       remove anything but new and undefweak.
+       * elflink.c (_bfd_elf_link_create_dynamic_sections): Override any
+       existing _DYNAMIC.
+       (_bfd_elf_create_dynamic_sections): Formatting.
+       (bfd_elf_record_link_assignment): Call bfd_link_repair_undef_list.
+       (_bfd_elf_merge_symbol): Don't handle as-needed syms here.
+       (struct elf_smash_data): New.
+       (elf_smash_syms): New function.
+       (elf_link_add_object_symbols): Call elf_smash_syms.  Don't add
+       unneeded dynamic objects to loaded list.
+       (elf_link_output_extsym): Don't handle as-needed here.  Strip
+       bfd_link_hash_new symbols.
+       * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't
+       delref when dynindx is already -1.
+       * elf64-alpha.c (elf64_alpha_output_extsym): Strip bfd_link_hash_new
+       symbols.
+       * elfxx-mips.c (mips_elf_output_extsym): Likewise.
+
+2005-02-01  Ben Elliston  <bje@au.ibm.com>
+
+       * elfxx-target.h (bfd_elfNN_bfd_discard_group): Redefine.
+
+2005-02-01  Ben Elliston  <bje@au.ibm.com>
+
+       * aout-arm.c, aout-target.h, aoutx.h, archive.c, armnetbsd.c,
+       bfd-in.h, bfdio.c, coff-alpha.c, coff-arm.c, coff-h8300.c,
+       coff-i860.c, coff-mcore.c, coff-or32.c, coff-ppc.c, coff-sh.c,
+       coff-sparc.c, coffcode.h, coffgen.c, cofflink.c, cpu-cris.c,
+       cpu-h8500.c, cpu-ns32k.c, ecoff.c, ecofflink.c, elf.c,
+       elf32-dlx.c, elf32-fr30.c, elf32-frv.c, elf32-hppa.c,
+       elf32-i860.c, elf32-ip2k.c, elf32-m32r.c, elf32-sh.c,
+       elf32-v850.c, elf64-mips.c, elf64-sparc.c, elflink.c,
+       i386aout.c, i386msdos.c, i386os9k.c, ieee.c, mach-o.c,
+       nlm32-sparc.c, oasys.c, opncls.c, pdp11.c, pe-mips.c, peXXigen.c,
+       pef.c, peicode.h, reloc.c, riscix.c, section.c, simple.c, som.c,
+       sparclynx.c, targets.c, vms-misc.c, vms-tir.c, xsym.c, doc/chew.c,
+       hosts/delta68.h, hosts/vaxbsd.h: Remove #if 0'd code
+       throughout. Similarly, collapse #if 1'd code.
+
+2005-02-01  Ben Elliston  <bje@au.ibm.com>
+
+       * elf-bfd.h (bfd_elf_discard_group): Remove.
+       * elf.c (bfd_elf_discard_group): Likewise.
+       * elfxx-target.h (bfd_elfNN_bfd_discard_group): Remove macro.
+
+2005-01-31  Richard Sandiford  <rsandifo@redhat.com>
+
+       * elf-bfd.h (elf_backend_data): Add elf_backend_eh_frame_address_size.
+       (_bfd_elf_eh_frame_address_size): Declare.
+       * elfxx-target.h (elf_backend_eh_frame_address_size): Define a default.
+       (elfNN_bed): Initialize elf_backend_eh_frame_address_size.
+       * elfxx-mips.h (_bfd_mips_elf_eh_frame_address_size): Declare.
+       (elf_backend_eh_frame_address_size): Define.
+       * elfxx-mips.c (_bfd_mips_elf_eh_frame_address_size): New function.
+       * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Get the address
+       size from the new backend hook.
+       (_bfd_elf_write_section_eh_frame): Likewise.
+       (_bfd_elf_eh_frame_address_size): New function.
+
 2005-01-31  Andrew Cagney  <cagney@gnu.org>
 
        * configure: Regenerate to track ../gettext.m4.
This page took 0.025269 seconds and 4 git commands to generate.