From cf2cd4cf5d67f049ca0479b7471748404dce8b7e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 6 Jun 1997 21:19:41 +0000 Subject: [PATCH] (elf_link_find_version_dependencies): When searching for known version symbol skip non-matching verdef records, not matching records. --- bfd/ChangeLog | 147 +++++++++++++++++++++++++++----------------------- bfd/elflink.h | 2 +- 2 files changed, 80 insertions(+), 69 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e299ee17e3d..50aa25fec8c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,14 @@ +1997-06-06 22:58 Ulrich Drepper + + * elflink.h (elf_link_find_version_dependencies): When searching + for known version symbol skip non-matching verdef records, not + matching records. + +Thu Jun 5 15:52:45 1997 Ian Lance Taylor + + * cofflink.c (_bfd_coff_generic_relocate_section): Write a long, + not a bfd_vma, to the base file, to match how dlltool reads it. + Tue Jun 3 16:57:45 1997 Nick Clifton * reloc.c: Add thumb relocations. @@ -34,7 +45,7 @@ Wed May 28 16:16:04 1997 Ian Lance Taylor Wed May 28 09:48:43 1997 Nick Clifton * cpu-arm.c (compatible): Add test for supersets of ARM - architectures. + architectures. Tue May 27 19:42:03 1997 Bob Manson @@ -45,7 +56,7 @@ Tue May 27 14:34:08 1997 Nick Clifton * coff-arm.c (coff_arm_bfd_set_private_flags): Make global. It is called directly by gas/config/tc-arm.c. - + Tue May 27 15:58:53 1997 Richard Henderson * elf64-alpha.c (PLT_ENTRY_*): Use a new thread-safe format. @@ -189,7 +200,7 @@ Fri May 9 10:15:27 1997 Nick Clifton * archures.c (constants): Added new constants to identify the type of the ARM architecture: bfd_mach_arm_2, bfd_mach_arm_2a, - bfd_mach_arm_3, bfd_mach_arm_3M, bfd_mach_arm_4 and bfd_mach_arm_4T. + bfd_mach_arm_3, bfd_mach_arm_3M, bfd_mach_arm_4 and bfd_mach_arm_4T. * bfd-in2.h (constants): Added new constants to identify the type of the ARM architecture: bfd_mach_arm_2, bfd_mach_arm_2a, @@ -201,7 +212,7 @@ Fri May 9 10:15:27 1997 Nick Clifton coff_arm_bfd_print_private_bfd_data, coff_arm_bfd_set_private_flags, coff_arm_bfd_copy_private_bfd_data): Added these new functions. - (global): Macro redefinitions set up to use these new functions. + (global): Macro redefinitions set up to use these new functions. * coffcode.h (coff_mkobject_hook): Added call to coff_arm_bfd_set_private_flags(). @@ -218,7 +229,7 @@ Fri May 9 10:15:27 1997 Nick Clifton ARMv2a, ARMv3, ARMv3M, ARMv4 and ARMv4T. * libcoff-in.h (struct coff_tdata): Added flags field. - + Fri May 9 17:40:02 1997 Ian Lance Taylor * config.bfd (i[3456]86-*-gnu*): Don't include Mach support. @@ -309,7 +320,7 @@ Wed Apr 16 12:43:32 1997 Martin Hunt * elf32-d30v.c (elf_d30v_howto_table): Changed size of R_D30V_32_NORMAL to 2 (4 bytes). -end-sanitize-d30v +end-sanitize-d30v Wed Apr 16 14:02:29 1997 Ian Lance Taylor From Gordon W. Ross : @@ -571,10 +582,10 @@ Thu Mar 27 12:55:42 1997 Ian Lance Taylor start-sanitize-d30v Thu Mar 27 00:45:57 1997 Martin M. Hunt - * elf32-d30v.c (elf_d30v_howto_table): Fix a typo in the - 21-bit absolute that made it act as a relative. + * elf32-d30v.c (elf_d30v_howto_table): Fix a typo in the + 21-bit absolute that made it act as a relative. -end-sanitize-d30v +end-sanitize-d30v Wed Mar 26 14:50:20 1997 Ian Lance Taylor * elflink.c (_bfd_elf_create_linker_section): Don't set @@ -921,7 +932,7 @@ end-sanitize-tic80 * coff-h8500.c: Ditto. * coff-w65.c: Ditto * coff-z8k.c: Ditto. - + Wed Mar 5 13:59:09 1997 Doug Evans * elf32-m32r.c (m32r_elf_do_10_pcrel_reloc): Fix overflow calc. @@ -1002,7 +1013,7 @@ Thu Feb 27 18:36:23 1997 Ian Lance Taylor * coffgen.c (_bfd_coff_is_local_label_name): New function. * libcoff-in.h (_bfd_coff_is_local_label_name): Declare. * libcoff.h: Rebuild. - + * targets.c (BFD_JUMP_TABLE_SYMBOLS): Change _bfd_is_local_label to _bfd_is_local_label_name. (bfd_target): Likewise. @@ -1032,7 +1043,7 @@ Wed Feb 26 15:19:51 1997 Martin M. Hunt * elf32-d30v.c (bfd_elf_d30v_reloc): Add code to do 32-bit relocations. -end-sanitize-d30v +end-sanitize-d30v Wed Feb 26 13:33:03 1997 Ian Lance Taylor * elflink.h (elf_link_input_bfd): Don't skip symbols from sections @@ -1159,13 +1170,13 @@ start-sanitize-d30v Tue Feb 18 17:22:59 1997 Martin M. Hunt * Makefile.in, archures.c, config.bfd, configure.in, elf.c, - reloc.c, targets.c: New target, elf-*-D30V. + reloc.c, targets.c: New target, elf-*-D30V. * bfd-in2.h, configure, libbfd.h: Rebuilt. * cpu-d30v.c, elf32-d30v.c: New files. - -end-sanitize-d30v + +end-sanitize-d30v Tue Feb 18 15:31:48 1997 Fred Fish * reloc.c (struct reloc_howto_struct): Fix typo in comment. @@ -1175,7 +1186,7 @@ start-sanitize-tic80 (rtype2howto): Add function. (tic80_howto_table): Add. end-sanitize-tic80 - + Tue Feb 18 11:41:00 1996 Dawn Perchik * sysdep.h: Don't define errno in MSVC if error.h is included. @@ -1257,10 +1268,10 @@ Mon Feb 10 23:25:00 1997 Doug Evans start-sanitize-r5900 Fri Feb 7 16:20:17 1997 Gavin Koch - + * config.bfd: add r5900 - -end-sanitize-r5900 + +end-sanitize-r5900 Fri Feb 7 12:39:11 1997 Ian Lance Taylor * elflink.h (elf_link_input_bfd): If we've discarded a section, @@ -1432,7 +1443,7 @@ Fri Jan 3 16:58:31 1997 Richard Henderson (bfd_elf*_mkobject): Don't define here ... * elfxx-target.h: ... but rather here. Default always_size_sections hook to NULL. - * elf.c (elf_mkobject): Rename to bfd_elf_mkobject, since that was + * elf.c (elf_mkobject): Rename to bfd_elf_mkobject, since that was what the #defines in elf-bfd.h transmuted it to anyway. * section.c: Add SEC_LINKER_CREATED flag. @@ -1450,7 +1461,7 @@ Fri Jan 3 16:58:31 1997 Richard Henderson ppc_elf_size_dynamic_sections): Likewise. * elf32-sparc.c (elf32_sparc_check_relocs, elf32_sparc_size_dynamic_sections): Likewise. - * elflink.c (_bfd_elf_create_got_section): Add SEC_LINKER_CREATED to + * elflink.c (_bfd_elf_create_got_section): Add SEC_LINKER_CREATED to section flags. (_bfd_elf_create_dynamic_sections): Likewise. (_bfd_elf_make_linker_section_rela): Likewise. @@ -1644,7 +1655,7 @@ Tue Dec 10 23:23:52 1996 Jeffrey A Law (law@cygnus.com) * bfd-in2.h, libbfd.h: Rebuilt. * elf32-mn10200.c: Update from elf32-mn10300.c. - + Fri Dec 6 15:18:05 1996 Jeffrey A Law (law@cygnus.com) * elf32-mn10300.c (elf_symbol_leading_char): Define. @@ -1750,7 +1761,7 @@ Mon Nov 25 08:52:29 1996 Jeffrey A Law (law@cygnus.com) (elf32_mn10300_reloc_map): Update for new reloc types. * reloc.c: Add some new relocs for the mn10300 series. * bfd-in2.h, libbfd.h: Rebuilt. - + Sat Nov 23 13:26:18 1996 Jeffrey A Law (law@cygnus.com) * som.c (setup_sections): Don't lose for a space which has @@ -1774,7 +1785,7 @@ Fri Nov 22 11:32:13 1996 Ian Lance Taylor dynamic linking information if needed. Thu Nov 21 10:31:31 1996 Rob Savoye (rob@cygnus.com) - + * config.bfd: Added VersaDOS format to the Ericsson configuration. Wed Nov 20 16:31:31 1996 Jeffrey A Law (law@cygnus.com) @@ -1944,7 +1955,7 @@ Mon Oct 14 12:37:26 1996 Ian Lance Taylor Mon Oct 14 11:17:24 1996 Richard Henderson - * reloc.c: Create a new BFD_RELOC_ALPHA_ELF_LITERAL. It was a + * reloc.c: Create a new BFD_RELOC_ALPHA_ELF_LITERAL. It was a mistake to have reused the ECOFF LITERAL for ELF since they have different semantics. * elf64-alpha.c (elf_reloc_map): Map from ELF_LITERAL. @@ -2085,7 +2096,7 @@ Wed Oct 2 21:40:55 1996 Jeffrey A Law (law@cygnus.com) * targets.c (bfd_elf32_mn10x00_vec): Declare. (bfd_target_vector): Add bfd_elf32_mn10x00_vec. * bfd-in2.h, configure: Rebuilt. - + Wed Oct 2 15:46:45 1996 Klaus Kaempf openVMS/Alpha: Provide filename and case_hack flags via @@ -2323,7 +2334,7 @@ Tue Sep 10 16:18:30 1996 Fred Fish (build_debug_section): Ditto. (copy_name): Ditto. * syms.c (coff_section_type): Ditto. - + Mon Sep 9 22:36:01 1996 Jeffrey A Law (law@cygnus.com) * bfd-in2.h: Rebuilt after m32r changes. @@ -2341,7 +2352,7 @@ Mon Sep 9 11:48:41 1996 Jeffrey A Law (law@cygnus.com) to add in the constant part found in the instruction itself. (case R_V850_HI16_S): Likewise. -end-sanitize-v850 +end-sanitize-v850 Fri Sep 6 17:04:39 1996 Martin M. Hunt * elf32-d10v.c (elf_d10v_howto_table): Modify the size of R_D10V_16 @@ -2510,7 +2521,7 @@ Thu Aug 22 10:54:38 1996 Ian Lance Taylor start-sanitize-v850 Tue Aug 20 15:06:05 1996 J.T. Conklin - + * Makefile.in (ALL_MACHINES): Add cpu-v850.o. (BFD32_BACKENDS) Add elf32-v850.o. * archures.c: Add bfd_v850_arch. @@ -2522,7 +2533,7 @@ Tue Aug 20 15:06:05 1996 J.T. Conklin * elf.c (prep_headers): Added case bfd_arch_v850. * elf32-v850.c: New file. * targets.c (bfd_elf32_v850_vec): New vector. - + end-sanitize-v850 Fri Aug 16 16:25:35 1996 Ian Lance Taylor @@ -2849,7 +2860,7 @@ Wed Jul 17 14:51:52 1996 Martin M. Hunt * reloc.c (BFD_RELOC_D10V_10_PCREL_R, BFD_RELOC_D10V_10_PCREL_L, BFD_RELOC_D10V_18, BFD_RELOC_D10V_18_PCREL): Define. * targets.c (bfd_elf32_d10v_vec): New vector. - + Wed Jul 17 10:58:55 1996 Kim Knuttila * coff-ppc.c (coff_ppc_relocate_section): Removed bogus fprintf @@ -3033,16 +3044,16 @@ Tue Jun 25 11:41:24 1996 Richard Henderson .rela.plt offset directly rather than calculating it. Mon Jun 24 17:15:10 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) - - * Makefile.in, (bindir, libdir, datadir, mandir, infodir, includedir): + + * Makefile.in, (bindir, libdir, datadir, mandir, infodir, includedir): Use autoconf-set values. - * doc/Makefile.in (bindir, libdir, datadir, mandir, infodir, - includedir, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set + * doc/Makefile.in (bindir, libdir, datadir, mandir, infodir, + includedir, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. (docdir): Deleted. * configure.in (AC_PREREQ): autoconf v2.5 or higher. * configure: Rebuilt. - + Mon Jun 24 22:50:35 1996 Jeffrey A Law (law@cygnus.com) * som.c (som_write_fixups): Fix typo in R_END_TRY for exception @@ -3071,7 +3082,7 @@ Sun Jun 23 20:42:51 1996 Doug Evans Fri Jun 21 17:38:15 1996 Joel Sherrill * config.bfd: Add support for *-*-rtems* configurations. - + Fri Jun 21 15:19:59 1996 Ian Lance Taylor * elf.c (prep_headers): Add bfd_arch_alpha case. @@ -3125,7 +3136,7 @@ Tue Jun 18 15:17:36 1996 Jeffrey A. Law * coff-h8300.c: Remove #if 0 code. (compatable): Don't allow mixing/matching of different architectures. - + * archures.c (bfd_mach_h8300s): Add. * bfd-in2.h: Rebuilt. * coff-h8300.c (funcvec_hash_newfunc): Handle H8/S too. @@ -3482,7 +3493,7 @@ Wed May 29 16:15:29 1996 Ian Lance Taylor (bfd_elf64_littlemips_vec): Declare. (bfd_target_vector): Add bfd_elf64_bigmips_vec and bfd_elf64_littlemips_vec if BFD64 is defined. - + * libbfd.c (bfd_get_file_window): Add cast to fprintf argument. Tue May 28 11:42:08 1996 Ian Lance Taylor @@ -3572,7 +3583,7 @@ Tue May 7 16:10:19 1996 Michael Meissner * config{ure.in,.bfd}: Add support for ppcboot target. * targets.c: Ditto. * configure: Regenerate. - + Tue May 7 11:15:19 1996 Jeffrey A Law (law@cygnus.com) * coff-h8300.c (howto_table): Update names to match recent @@ -3733,7 +3744,7 @@ Wed Apr 24 14:04:07 1996 Ian Lance Taylor (xcoff_dynamic_reloc): New static variable. (_bfd_xcoff_canonicalize_dynamic_reloc): New function. (xcoff_link_add_dynamic_symbols): Use xcoff_get_section_contents. - + Tue Apr 23 12:48:42 1996 Ian Lance Taylor * coff-sparc.c (bfd_coff_generic_reloc): Return bfd_reloc_ok even @@ -3931,7 +3942,7 @@ Thu Apr 4 18:49:09 1996 Fred Fish * sysdep.h: Use TIME_WITH_SYS_TIME and HAVE_SYS_TIME_H to control what combination of