(_bfd_elf_link_hash_table_init): Initialize dynlocal.

This commit is contained in:
Alan Modra
2000-05-29 05:16:19 +00:00
parent ce8ff112cf
commit 1ae00f9d91
2 changed files with 110 additions and 106 deletions

View File

@ -1,3 +1,7 @@
2000-05-29 Anatoly Vorobey <mellon@pobox.com>
* elf.c (_bfd_elf_link_hash_table_init): Initialize dynlocal.
2000-05-26 Alan Modra <alan@linuxcare.com.au> 2000-05-26 Alan Modra <alan@linuxcare.com.au>
* Makefile.am: Update dependencies with "make dep-am" * Makefile.am: Update dependencies with "make dep-am"
@ -463,7 +467,7 @@ Mon Apr 24 15:20:35 2000 Clinton Popetz <cpopetz@cygnus.com>
* config.bfd: Add bfd_powerpc_64_arch to targ_arch and define * config.bfd: Add bfd_powerpc_64_arch to targ_arch and define
targ_selvecs to include rs6000coff64_vec for rs6000. targ_selvecs to include rs6000coff64_vec for rs6000.
* configure.in: Add rs6000coff64_vec case. * configure.in: Add rs6000coff64_vec case.
* cpu-powerpc.c: New bfd_arch_info_type. * cpu-powerpc.c: New bfd_arch_info_type.
Mon Apr 24 02:17:31 2000 Jeffrey A Law (law@cygnus.com) Mon Apr 24 02:17:31 2000 Jeffrey A Law (law@cygnus.com)
@ -637,7 +641,6 @@ Mon Apr 17 19:14:36 2000 David Mosberger <davidm@hpl.hp.com>
2000-04-12 Alan Modra <alan@linuxcare.com.au> 2000-04-12 Alan Modra <alan@linuxcare.com.au>
* dep-in.sed: Match space before file name, not after. * dep-in.sed: Match space before file name, not after.
* Makefile.am: Regenerate dependencies. * Makefile.am: Regenerate dependencies.
* Makefile.in: Regenerate. * Makefile.in: Regenerate.
@ -665,7 +668,7 @@ Mon Apr 17 19:14:36 2000 David Mosberger <davidm@hpl.hp.com>
Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com> Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
* configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
--enable-build-warnings option. --enable-build-warnings option.
* Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
* Makefile.in, configure: Re-generate. * Makefile.in, configure: Re-generate.
@ -883,7 +886,7 @@ Wed Mar 30 15:28:00 2000 Donald Lindsay <dlindsay@cygnus.com>
* elf32-mips.c (_bfd_mips_elf_relocate_section): Do proper * elf32-mips.c (_bfd_mips_elf_relocate_section): Do proper
sign-extension and big-endian compensation for sign-extension and big-endian compensation for
R_MIPS_64 even in ld -r. R_MIPS_64 even in ld -r.
2000-03-10 Geoffrey Keating <geoffk@cygnus.com> 2000-03-10 Geoffrey Keating <geoffk@cygnus.com>
@ -1760,7 +1763,7 @@ Tue Nov 2 01:44:41 1999 Jeffrey A Law (law@cygnus.com)
Sat Oct 23 17:36:12 1999 Andrew Cagney <cagney@b1.cygnus.com> Sat Oct 23 17:36:12 1999 Andrew Cagney <cagney@b1.cygnus.com>
* archures.c: Add definitions bfd_mach_d10v, bfd_mach_d10v_ts2 and * archures.c: Add definitions bfd_mach_d10v, bfd_mach_d10v_ts2 and
bfd_mach_d10v_ts3. bfd_mach_d10v_ts3.
* cpu-d10v.c (d10v_ts3_info, d10v_ts2_info): Add. * cpu-d10v.c (d10v_ts3_info, d10v_ts2_info): Add.
* bfd-in2.h: Regenerate. * bfd-in2.h: Regenerate.
@ -1783,8 +1786,8 @@ Fri Oct 8 13:03:45 1999 Geoffrey Keating <geoffk@cygnus.com>
* elf32-mips.c (mips_elf_calculate_relocation): R_MIPS_LITERAL * elf32-mips.c (mips_elf_calculate_relocation): R_MIPS_LITERAL
relocs also need the GP value. relocs also need the GP value.
(_bfd_mips_elf_relocate_section): Handle unpaired LO16 relocs (_bfd_mips_elf_relocate_section): Handle unpaired LO16 relocs
properly. Handle sign-extension for R_MIPS_64 correctly. Correct properly. Handle sign-extension for R_MIPS_64 correctly. Correct
the GP value for R_MIPS_LITERAL relocs too. Handle the GP value for R_MIPS_LITERAL relocs too. Handle
R_MIPS_64 relocs properly on big-endian MIPS. R_MIPS_64 relocs properly on big-endian MIPS.
(mips_elf_sign_extend): Behave properly with 'long long'. (mips_elf_sign_extend): Behave properly with 'long long'.
(mips_elf_highest): Correct typo. (mips_elf_highest): Correct typo.
@ -2242,7 +2245,7 @@ Tue Sep 7 17:25:12 1999 Jeffrey A Law (law@cygnus.com)
(pj-*-*, pjl-*-*): New targets. (pj-*-*, pjl-*-*): New targets.
* configure.in (bfd_elf32_pj_vec): New target vector. * configure.in (bfd_elf32_pj_vec): New target vector.
(bfd_elf32_pjl_vec): New target vector. (bfd_elf32_pjl_vec): New target vector.
* archures.c (bfd_arch_pj): Define. * archures.c (bfd_arch_pj): Define.
* elf.c (prep_headers): Handle bfd_arch_pj. * elf.c (prep_headers): Handle bfd_arch_pj.
* reloc.c: Define BFD_RELOC_PJ_* relocations. * reloc.c: Define BFD_RELOC_PJ_* relocations.
* targets.c (bfd_elf32_pj_vec, bfd_elf32_pjl_vec): Declare and add * targets.c (bfd_elf32_pj_vec, bfd_elf32_pjl_vec): Declare and add
@ -2709,9 +2712,9 @@ Wed Aug 4 18:08:07 1999 Jeffrey A Law (law@cygnus.com)
Mon Jul 19 14:03:44 1999 Mark P. Mitchell <mark@codesourcery.com> Mon Jul 19 14:03:44 1999 Mark P. Mitchell <mark@codesourcery.com>
* elf32-mips.c (_bfd_mips_elf_final_link): Restore setting of GP * elf32-mips.c (_bfd_mips_elf_final_link): Restore setting of GP
removed in previous change. removed in previous change.
(_bfd_mips_elf_relocate_section): Adjust GP relative relocations (_bfd_mips_elf_relocate_section): Adjust GP relative relocations
in relocateable output. in relocateable output.
1999-07-19 Ian Lance Taylor <ian@zembu.com> 1999-07-19 Ian Lance Taylor <ian@zembu.com>
@ -3900,7 +3903,7 @@ Wed Jun 2 11:51:12 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
section. section.
(elf32_arm_final_link_relocate): New parameter h. (elf32_arm_final_link_relocate): New parameter h.
(elf32_arm_relocate_section): Pass symbol hash entry to above (elf32_arm_relocate_section): Pass symbol hash entry to above
routine. routine.
(elf32_arm_gc_sweep_hook, elf32_arm_check relocs): Correct (elf32_arm_gc_sweep_hook, elf32_arm_check relocs): Correct
comments. comments.
@ -3919,7 +3922,7 @@ Wed Jun 2 11:51:12 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1999-05-24 Philip Blundell <pb@nexus.co.uk> 1999-05-24 Philip Blundell <pb@nexus.co.uk>
* elf32-arm.h (elf32_arm_relocate_section): Undo change of * elf32-arm.h (elf32_arm_relocate_section): Undo change of
1999-03-25. 1999-03-25.
Mon May 17 13:35:35 1999 Stan Cox <scox@cygnus.com> Mon May 17 13:35:35 1999 Stan Cox <scox@cygnus.com>
@ -3952,7 +3955,7 @@ Mon May 17 13:35:35 1999 Stan Cox <scox@cygnus.com>
Fri May 14 10:59:55 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> Fri May 14 10:59:55 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* elf32-arm.h (elf32_arm_relocate_section): Fix operator * elf32-arm.h (elf32_arm_relocate_section): Fix operator
precedence between bit-and and comparison. precedence between bit-and and comparison.
Thu May 13 09:45:23 1999 Joel Sherrill (joel@OARcorp.com) Thu May 13 09:45:23 1999 Joel Sherrill (joel@OARcorp.com)
@ -4541,8 +4544,8 @@ Fri Jan 29 00:47:21 1999 H.J. Lu <hjl@gnu.org>
Thu Jan 28 20:05:22 1999 Ian Lance Taylor <ian@cygnus.com> Thu Jan 28 20:05:22 1999 Ian Lance Taylor <ian@cygnus.com>
* binary.c (binary_set_section_contents): Don't return early for a * binary.c (binary_set_section_contents): Don't return early for a
non-loadable section, in case the first section is non-loadable. non-loadable section, in case the first section is non-loadable.
Don't set the low lma for a SEC_NEVER_LOAD section. From Maciej Don't set the low lma for a SEC_NEVER_LOAD section. From Maciej
W. Rozycki <macro@ds2.pg.gda.pl>. W. Rozycki <macro@ds2.pg.gda.pl>.
1999-01-28 Nick Clifton <nickc@cygnus.com> 1999-01-28 Nick Clifton <nickc@cygnus.com>
@ -4552,8 +4555,8 @@ Thu Jan 28 20:05:22 1999 Ian Lance Taylor <ian@cygnus.com>
Thu Jan 28 11:08:16 1999 Catherine Moore <clm@cygnus.com> Thu Jan 28 11:08:16 1999 Catherine Moore <clm@cygnus.com>
* elflink.h (elf_link_output_sym): Zero syms which are * elflink.h (elf_link_output_sym): Zero syms which are
part of sections which have been excluded. part of sections which have been excluded.
Wed Jan 27 13:35:35 1999 Stan Cox <scox@cygnus.com> Wed Jan 27 13:35:35 1999 Stan Cox <scox@cygnus.com>
@ -4692,32 +4695,32 @@ Tue Dec 8 16:21:35 1998 Ian Lance Taylor <ian@cygnus.com>
Wed Dec 2 15:03:59 1998 David Taylor <taylor@texas.cygnus.com> Wed Dec 2 15:03:59 1998 David Taylor <taylor@texas.cygnus.com>
The following changes were made by David Taylor The following changes were made by David Taylor
<taylor@texas.cygnus.com>, Edith Epstein <taylor@texas.cygnus.com>, Edith Epstein
<eepstein@sophia.cygnus.com>, Jim Blandy <eepstein@sophia.cygnus.com>, Jim Blandy
<jimb@zwingli.cygnus.com>, and Elena Zannoni <jimb@zwingli.cygnus.com>, and Elena Zannoni
<ezannoni@kwikemart.cygnus.com> as part of the project to merge in <ezannoni@kwikemart.cygnus.com> as part of the project to merge in
changes originally made by HP; HP did not create ChangeLog changes originally made by HP; HP did not create ChangeLog
entries. entries.
* aclocal.m4, configure, Makefile.in: Rebuilt using latest * aclocal.m4, configure, Makefile.in: Rebuilt using latest
automake macro library. automake macro library.
* hpux-core.c (hpux_core_core_file_p): this function now * hpux-core.c (hpux_core_core_file_p): this function now
understands HPUX 10.30 thread info. Yes, the thread stacks can be understands HPUX 10.30 thread info. Yes, the thread stacks can be
found in the corefile! Also, in hpux_core_core_file_p, if we found in the corefile! Also, in hpux_core_core_file_p, if we
encounter a section with an unknown type, don't punt. Instead, encounter a section with an unknown type, don't punt. Instead,
just skip it. Also, count the number of sections of known type just skip it. Also, count the number of sections of known type
that we encounter. If we encounter at least one good one, then that we encounter. If we encounter at least one good one, then
we'll declare that the file is a core file. If we encounter any we'll declare that the file is a core file. If we encounter any
unknown ones but some known ones, then we'll issue a warning (but unknown ones but some known ones, then we'll issue a warning (but
still declare it to be a core file). Also, correctly decide when a still declare it to be a core file). Also, correctly decide when a
file is not a core. file is not a core.
(PROC_INFO_HAS_THREAD_ID): define if CORE_ANON_SHMEM defined. (PROC_INFO_HAS_THREAD_ID): define if CORE_ANON_SHMEM defined.
(CORE_ANON_SHMEM): define if not defined. (CORE_ANON_SHMEM): define if not defined.
(hpux_core_struct): add members lwpid and user_tid. (hpux_core_struct): add members lwpid and user_tid.
(core_kernel_thread_id, core_user_thread_id): new macros. (core_kernel_thread_id, core_user_thread_id): new macros.
(make_bfd_asection): use bfd_alloc to allocate room for a copy of (make_bfd_asection): use bfd_alloc to allocate room for a copy of
the name before storing it in the bfd. the name before storing it in the bfd.
(hpux_core_core_file_p): handle threads. (hpux_core_core_file_p): handle threads.
* libhppa.h (GET_FIELD): protect against redefinition. * libhppa.h (GET_FIELD): protect against redefinition.
@ -4898,15 +4901,15 @@ Tue Nov 17 15:28:31 1998 Nick Clifton <nickc@cygnus.com>
Mon Nov 16 22:19:21 1998 DJ Delorie <dj@cygnus.com> Mon Nov 16 22:19:21 1998 DJ Delorie <dj@cygnus.com>
* archive.c (bfd_ar_hdr_from_filesystem): support BFD_IN_MEMORY * archive.c (bfd_ar_hdr_from_filesystem): support BFD_IN_MEMORY
bfds; they have no "file" so we fake it. bfds; they have no "file" so we fake it.
* bfd-in2.h: add bfd_make_writable and bfd_make_readable (regen) * bfd-in2.h: add bfd_make_writable and bfd_make_readable (regen)
* libbfd.c (bfd_write): Allow writing to BFD_IN_MEMORY bfds by * libbfd.c (bfd_write): Allow writing to BFD_IN_MEMORY bfds by
resizing the memory buffer. resizing the memory buffer.
* opncls.c (bfd_make_writable): New function; lets you write a * opncls.c (bfd_make_writable): New function; lets you write a
bfd_create'd bfd to an in-memory buffer. bfd_create'd bfd to an in-memory buffer.
(bfd_make_readable): New function; lets you read back that buffer (bfd_make_readable): New function; lets you read back that buffer
as if it were from bfd_openr. Used to build generated archive as if it were from bfd_openr. Used to build generated archive
members (winsup's ld's dlltool) members (winsup's ld's dlltool)
Mon Nov 16 19:15:19 1998 Dave Brolley <brolley@cygnus.com> Mon Nov 16 19:15:19 1998 Dave Brolley <brolley@cygnus.com>
@ -4947,8 +4950,8 @@ Tue Nov 10 15:13:59 1998 Nick Clifton <nickc@cygnus.com>
Tue Nov 10 13:37:36 1998 Felix Lee <flee@cygnus.com> Tue Nov 10 13:37:36 1998 Felix Lee <flee@cygnus.com>
* acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE, * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE,
BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): didn't define macro when value BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): didn't define macro when value
was cached. was cached.
* aclocal.m4, configure: regenerated. * aclocal.m4, configure: regenerated.
Tue Nov 10 14:31:01 1998 Catherine Moore <clm@cygnus.com> Tue Nov 10 14:31:01 1998 Catherine Moore <clm@cygnus.com>
@ -5059,13 +5062,13 @@ Mon Oct 19 16:57:05 1998 Felix Lee <flee@cygnus.com>
Mon Oct 19 01:47:21 1998 Felix Lee <flee@cygnus.com> Mon Oct 19 01:47:21 1998 Felix Lee <flee@cygnus.com>
* acinclude.m4, aclocal.m4: move gettext-related fragments from * acinclude.m4, aclocal.m4: move gettext-related fragments from
aclocal.m4 to acinclude.m4, so they don't get lost. aclocal.m4 to acinclude.m4, so they don't get lost.
* elfcore.h: rewrite for better corefile support. * elfcore.h: rewrite for better corefile support.
* elf.c (elfcore_*): new functions. * elf.c (elfcore_*): new functions.
* elf-bfd.h (elf_obj_tdata): new structure members. * elf-bfd.h (elf_obj_tdata): new structure members.
* acconfig.h, acinclude.m4, configure.in: add feature-tests for * acconfig.h, acinclude.m4, configure.in: add feature-tests for
flavor of procfs. flavor of procfs.
* aclocal.m4, config.in, configure, Makefile.in: regenerated. * aclocal.m4, config.in, configure, Makefile.in: regenerated.
Fri Oct 16 14:07:45 1998 Catherine Moore <clm@cygnus.com> Fri Oct 16 14:07:45 1998 Catherine Moore <clm@cygnus.com>
@ -5246,20 +5249,20 @@ Wed Sep 16 11:26:49 CDT 1998 Catherine Moore <clm@cygnus.com>
Tue Sep 15 12:40:05 1998 Catherine Moore <clm@cygnus.com> Tue Sep 15 12:40:05 1998 Catherine Moore <clm@cygnus.com>
* elf-bfd.h: Add argument to elf_backend_get_symbol_type. * elf-bfd.h: Add argument to elf_backend_get_symbol_type.
Tue Sep 15 08:34:40 1998 Catherine Moore <clm@cygnus.com> Tue Sep 15 08:34:40 1998 Catherine Moore <clm@cygnus.com>
* elf.c (swap_out_syms): Pass type to elf_backend_get_symbol_type. * elf.c (swap_out_syms): Pass type to elf_backend_get_symbol_type.
* elf32-arm.c: Add HOWTO entries for R_ARM_GNU_VTINHERIT and * elf32-arm.c: Add HOWTO entries for R_ARM_GNU_VTINHERIT and
R_ARM_GNU_VTENTRY. R_ARM_GNU_VTENTRY.
(elf32_arm_gc_mark_hook): New. (elf32_arm_gc_mark_hook): New.
(elf32_arm_gc_sweep_hook): New. (elf32_arm_gc_sweep_hook): New.
(elf32_arm_check_relocs): New. (elf32_arm_check_relocs): New.
(elf32_arm_final_link_relocate): Handle VTINHERIT and VTENTRY (elf32_arm_final_link_relocate): Handle VTINHERIT and VTENTRY
relocations. relocations.
(elf32_arm_relocate_section): Handle VTINHERIT and VTENTRY (elf32_arm_relocate_section): Handle VTINHERIT and VTENTRY
relocations. relocations.
1998-09-10 Geoff Keating <geoffk@ozemail.com.au> 1998-09-10 Geoff Keating <geoffk@ozemail.com.au>
@ -5400,28 +5403,28 @@ Fri Aug 14 09:12:28 1998 Stan Cox <scox@cygnus.com>
Thu Aug 13 14:02:02 1998 Catherine Moore <clm@cygnus.com> Thu Aug 13 14:02:02 1998 Catherine Moore <clm@cygnus.com>
* bfd-in.h: Add prototypes for elf32_arm_get_bfd_for_interworking, * bfd-in.h: Add prototypes for elf32_arm_get_bfd_for_interworking,
elf32_arm_allocate_interworking_sections and elf32_arm_allocate_interworking_sections and
elf32_arm_process_before_allocation. elf32_arm_process_before_allocation.
* bfd-in2.h: Regenerated. * bfd-in2.h: Regenerated.
* elf32-arm.c Define elf32_arm_link_hash_table. * elf32-arm.c Define elf32_arm_link_hash_table.
(insert_thumb_branch): New routine. (insert_thumb_branch): New routine.
(find_thumb_glue): New routine. (find_thumb_glue): New routine.
(find_arm_glue): New routine. (find_arm_glue): New routine.
(record_arm_to_thumb_glue): New routine. (record_arm_to_thumb_glue): New routine.
(record_thumb_to_arm_glue): New routine. (record_thumb_to_arm_glue): New routine.
(elf32_arm_link_hash_table_create): New routine. (elf32_arm_link_hash_table_create): New routine.
(elf32_arm_get_bfd_for_interworking): New routine. (elf32_arm_get_bfd_for_interworking): New routine.
(elf32_arm_allocate_interworking_sections) New routine. (elf32_arm_allocate_interworking_sections) New routine.
(elf32_arm_process_before_allocation) New routine. (elf32_arm_process_before_allocation) New routine.
(elf32_thumb_to_arm_stub): New routine. (elf32_thumb_to_arm_stub): New routine.
(elf32_arm_to_thumb_stub): New routine. (elf32_arm_to_thumb_stub): New routine.
(elf32_print_private_bfd_data): Fix typo. (elf32_print_private_bfd_data): Fix typo.
(elf32_arm_final_link_relocate): Add argument sym_sec. (elf32_arm_final_link_relocate): Add argument sym_sec.
Check for branches to thumb symbols in case R_ARM_PC24. Check for branches to thumb symbols in case R_ARM_PC24.
Check for branches to arm symbols in case R_ARM_THM_PC22. Check for branches to arm symbols in case R_ARM_THM_PC22.
(elf32_arm_relocate_section): Pass symbol section to (elf32_arm_relocate_section): Pass symbol section to
elf32_arm_final_link_relocate. elf32_arm_final_link_relocate.
Wed Aug 12 19:00:39 1998 Geoff Keating <geoffk@ozemail.com.au> Wed Aug 12 19:00:39 1998 Geoff Keating <geoffk@ozemail.com.au>
@ -5435,16 +5438,16 @@ Wed Aug 12 14:48:33 1998 Ian Lance Taylor <ian@cygnus.com>
Wed Aug 12 08:10:11 1998 Catherine Moore <clm@cygnus.com> Wed Aug 12 08:10:11 1998 Catherine Moore <clm@cygnus.com>
* elf32-arm.c (elf32_arm_final_link_relocate): Rework * elf32-arm.c (elf32_arm_final_link_relocate): Rework
R_ARM_PC24 relocation. R_ARM_PC24 relocation.
Tue Aug 11 14:42:26 1998 Catherine Moore <clm@cygnus.com> Tue Aug 11 14:42:26 1998 Catherine Moore <clm@cygnus.com>
* elf32-arm.c (elf32_arm_final_link_relocate): Remove unused * elf32-arm.c (elf32_arm_final_link_relocate): Remove unused
argument is_local. Add argument sym_flags. Check sym_flags argument is_local. Add argument sym_flags. Check sym_flags
in R_ARM_ABS32 case. Include addend for R_ARM_THM_PC22 case. in R_ARM_ABS32 case. Include addend for R_ARM_THM_PC22 case.
(elf32_arm_relocate_section): Don't pass local sym and pass (elf32_arm_relocate_section): Don't pass local sym and pass
sym_flags to elf32_arm_final_link_relocate. sym_flags to elf32_arm_final_link_relocate.
Mon Aug 10 20:38:39 1998 Richard Henderson <rth@cygnus.com> Mon Aug 10 20:38:39 1998 Richard Henderson <rth@cygnus.com>
@ -5829,7 +5832,7 @@ Wed Jul 1 17:05:53 1998 Nick Clifton <nickc@cygnus.com>
Wed Jul 1 16:58:50 1998 Ian Lance Taylor <ian@cygnus.com> Wed Jul 1 16:58:50 1998 Ian Lance Taylor <ian@cygnus.com>
* coff-sh.c (sh_relax_delete_bytes): Correct address comparisons * coff-sh.c (sh_relax_delete_bytes): Correct address comparisons
when handling 32 bit immediate relocs. when handling 32 bit immediate relocs.
* elf32-sh.c (sh_elf_relax_delete_bytes): Likewise. * elf32-sh.c (sh_elf_relax_delete_bytes): Likewise.
Tue Jun 30 09:55:03 1998 Jeffrey A Law (law@cygnus.com) Tue Jun 30 09:55:03 1998 Jeffrey A Law (law@cygnus.com)
@ -5947,8 +5950,8 @@ Fri Jun 19 17:08:18 1998 Ian Lance Taylor <ian@cygnus.com>
Tue Jun 16 11:55:55 1998 Ian Lance Taylor <ian@cygnus.com> Tue Jun 16 11:55:55 1998 Ian Lance Taylor <ian@cygnus.com>
* elf.c (copy_private_bfd_data): Improve handling of Solaris * elf.c (copy_private_bfd_data): Improve handling of Solaris
native linker output. Avoid putting an empty section in more than native linker output. Avoid putting an empty section in more than
one segment. one segment.
Fri Jun 12 13:30:17 1998 Tom Tromey <tromey@cygnus.com> Fri Jun 12 13:30:17 1998 Tom Tromey <tromey@cygnus.com>
@ -6010,7 +6013,7 @@ Tue Jun 2 15:29:35 1998 Ian Lance Taylor <ian@cygnus.com>
* elflink.h (elf_merge_symbol): Don't always set type_change_ok * elflink.h (elf_merge_symbol): Don't always set type_change_ok
and size_change_ok. and size_change_ok.
(elf_link_add_object_symbols): Set type_change_ok and (elf_link_add_object_symbols): Set type_change_ok and
size_change_ok before calling elf_merge_symbol. size_change_ok before calling elf_merge_symbol.
* elf32-mips.c (mips_elf_relocate_section): If we issue an * elf32-mips.c (mips_elf_relocate_section): If we issue an
@ -6074,7 +6077,7 @@ Tue May 19 18:41:19 1998 Ian Lance Taylor <ian@cygnus.com>
* bfd-in.h: Move over patch to bfd-in2.h. * bfd-in.h: Move over patch to bfd-in2.h.
* reloc.c (bfd_check_overflow): Add casts before shifts which may * reloc.c (bfd_check_overflow): Add casts before shifts which may
not fit in 32 bits. not fit in 32 bits.
(_bfd_relocate_contents): Likewise. (_bfd_relocate_contents): Likewise.
Mon May 18 14:44:15 1998 Nick Clifton <nickc@cygnus.com> Mon May 18 14:44:15 1998 Nick Clifton <nickc@cygnus.com>
@ -6354,8 +6357,8 @@ Thu Apr 16 13:49:00 1998 Richard Henderson <rth@cygnus.com>
Thu Apr 16 11:43:33 1998 Ian Lance Taylor <ian@cygnus.com> Thu Apr 16 11:43:33 1998 Ian Lance Taylor <ian@cygnus.com>
* archive.c (bfd_generic_archive_p): If a slurp subroutine returns * archive.c (bfd_generic_archive_p): If a slurp subroutine returns
an error other than bfd_error_system_call, set the error to an error other than bfd_error_system_call, set the error to
bfd_error_wrong_format. bfd_error_wrong_format.
* targets.c (bfd_target_vector) [SELECT_VECS not defined]: Add * targets.c (bfd_target_vector) [SELECT_VECS not defined]: Add
bfd_elf32_powerpcle_vec. bfd_elf32_powerpcle_vec.
@ -6699,10 +6702,10 @@ Wed Mar 25 11:19:28 1998 Ian Lance Taylor <ian@cygnus.com>
From Yan Meroth <YAN.MEROTH@st.com>: From Yan Meroth <YAN.MEROTH@st.com>:
* ihex.c (ihex_scan): Add extbase variable so that getting an * ihex.c (ihex_scan): Add extbase variable so that getting an
extended linear address record does not ignore any previous extended linear address record does not ignore any previous
extended address. extended address.
(ihex_write_object_contents): When writing out an extended linear (ihex_write_object_contents): When writing out an extended linear
address record, zero out any previous extended address. address record, zero out any previous extended address.
Tue Mar 24 16:09:43 1998 Manfred Hollstein <manfred@s-direktnet.de> Tue Mar 24 16:09:43 1998 Manfred Hollstein <manfred@s-direktnet.de>
@ -6774,8 +6777,8 @@ Mon Feb 23 16:17:08 1998 Ian Lance Taylor <ian@cygnus.com>
Sun Feb 22 20:39:00 1998 Richard Henderson <rth@cygnus.com> Sun Feb 22 20:39:00 1998 Richard Henderson <rth@cygnus.com>
* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Don't create * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Don't create
a plt entry when we can determine that we authoritatively define a plt entry when we can determine that we authoritatively define
the symbol. the symbol.
Sun Feb 22 20:33:05 1998 Richard Henderson <rth@cygnus.com> Sun Feb 22 20:33:05 1998 Richard Henderson <rth@cygnus.com>
@ -6839,7 +6842,7 @@ Thu Feb 12 17:31:11 1998 Ian Lance Taylor <ian@cygnus.com>
netbsd-core.lo, set COREFLAG to -DNETBSD_CORE. netbsd-core.lo, set COREFLAG to -DNETBSD_CORE.
* config.bfd (alpha*-*-netbsd*): New target. * config.bfd (alpha*-*-netbsd*): New target.
* Makefile.am: Rebuild dependencies. * Makefile.am: Rebuild dependencies.
(BFD32_BACKENDS): Add vaxnetbsd.lo. (BFD32_BACKENDS): Add vaxnetbsd.lo.
(BFD32_BACKENDS_CFILES): Add vaxnetbsd.c. (BFD32_BACKENDS_CFILES): Add vaxnetbsd.c.
* configure, Makefile.in: Rebuild. * configure, Makefile.in: Rebuild.
@ -6904,8 +6907,8 @@ Thu Feb 5 11:51:05 1998 Ian Lance Taylor <ian@cygnus.com>
skip empty sections, to match coff_write_object_contents. skip empty sections, to match coff_write_object_contents.
* elf64-mips.c (mips_elf64_swap_reloca_out): Swap out r_addend, * elf64-mips.c (mips_elf64_swap_reloca_out): Swap out r_addend,
rather than swapping out r_offset twice. From Luke Deller rather than swapping out r_offset twice. From Luke Deller
<luked@cse.unsw.edu.au>. <luked@cse.unsw.edu.au>.
Wed Feb 4 19:11:28 1998 Ian Lance Taylor <ian@cygnus.com> Wed Feb 4 19:11:28 1998 Ian Lance Taylor <ian@cygnus.com>
@ -6988,7 +6991,7 @@ Fri Jan 30 19:07:07 1998 Geoff Keating <geoffk@ozemail.com.au>
* elf32-ppc.c (ppc_elf_check_relocs): Don't emit R_PPC_REL* relocs * elf32-ppc.c (ppc_elf_check_relocs): Don't emit R_PPC_REL* relocs
against _GLOBAL_OFFSET_TABLE_. against _GLOBAL_OFFSET_TABLE_.
(ppc_elf_relocate_section): Don't emit R_PPC_REL32 relocs in (ppc_elf_relocate_section): Don't emit R_PPC_REL32 relocs in
shared libraries which refer to local symbols. Make sure that the shared libraries which refer to local symbols. Make sure that the
test for allocating space for a reloc in a shared object is the test for allocating space for a reloc in a shared object is the
same as the test for emitting a reloc. same as the test for emitting a reloc.
@ -7066,10 +7069,10 @@ Thu Jan 22 21:13:39 1998 Richard Henderson <rth@cygnus.com>
Wed Jan 21 21:19:03 1998 Ian Lance Taylor <ian@cygnus.com> Wed Jan 21 21:19:03 1998 Ian Lance Taylor <ian@cygnus.com>
* coff-i386.c (coff_i386_rtype_to_howto): If COFF_WITH_PE, don't * coff-i386.c (coff_i386_rtype_to_howto): If COFF_WITH_PE, don't
adjust addend for an output common symbol (from Jimmy Blair adjust addend for an output common symbol (from Jimmy Blair
<jimmyb@wrs.com>). If COFF_WITH_PE, adjust addend for PC relative <jimmyb@wrs.com>). If COFF_WITH_PE, adjust addend for PC relative
defined symbol to counteract adjustment made in generic relocation defined symbol to counteract adjustment made in generic relocation
code. code.
* dwarf2.c: Include sysdep.h, not stdio.h and stdlib.h. * dwarf2.c: Include sysdep.h, not stdio.h and stdlib.h.

View File

@ -977,6 +977,7 @@ _bfd_elf_link_hash_table_init (table, abfd, newfunc)
table->needed = NULL; table->needed = NULL;
table->hgot = NULL; table->hgot = NULL;
table->stab_info = NULL; table->stab_info = NULL;
table->dynlocal = NULL;
return _bfd_link_hash_table_init (&table->root, abfd, newfunc); return _bfd_link_hash_table_init (&table->root, abfd, newfunc);
} }