Undo part of 3/26 change and always create got section
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index ca73a71a01be535861158e7c54015b3e4f0c7e67..c5665109e69b216f81e2aca33cf53b5e3b79feac 100644 (file)
@@ -1,5 +1,223 @@
+Wed Apr  2 16:19:41 1997  Mike Meissner  <meissner@cygnus.com>
+
+       * elf32-ppc.c (ppc_elf_check_relocs): Undo March 26 change and
+       always create got section so that the _GLOBAL_OFFSET_TABLE_ label
+       is always created.
+
+Wed Apr  2 10:49:07 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf-m10200.c: Rename from elf32-mn10200.c.
+       * elf-m10300.c: Rename from elf32-mn10300.c.
+       * cpu-m10200.c: Rename from cpu-mn10200.c
+       * cpu-m10300.c: Rename from cpu-mn10300.c
+       * Makefile.in: Update accordingly.
+
+       * elf32-mips.c (elf_mips_ctor64_howto): New static variable.
+       (elf_mips_isa): Move to earlier in file.
+       (mips_reloc_map): Remove BFD_RELOC_CTOR entry.
+       (bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_CTOR
+       specially.
+
+       * elf32-mips.c (mips16_jump_reloc): Print a warning rather than
+       calling abort.
+
+Tue Apr  1 16:18:05 1997  Klaus Kaempf  <kkaempf@progis.de>
+
+       * configure.com: New file.
+       * config.h-vms: Remove file.
+       * makefile.vms: Update for new configure scheme.
+
+Mon Mar 31 23:28:39 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
+
+       * libcoff-in.h (ppc_allocate_toc_section): Declare.
+       (ppc_process_before_allocation): Declare.
+       * libcoff.h: Rebuild.
+
+       * coffcode.h (coff_mkobject_hook): Declare if not a macro.
+
+Mon Mar 31 16:29:50 1997  Joel Sherrill  <joel@oarcorp.com>
+
+        * config.bfd (hppa*-*-rtems*): New target, like hppa-*-*elf*.
+
+Mon Mar 31 16:11:35 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * coff-a29k.c (coff_a29k_relocate_section): Don't use symndx as a
+       symbol index for a R_IHCONST reloc.
+
+Mon Mar 31 15:40:59 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
+
+       * targmatch.sed: Do not use \(\) recursively.
+
+Fri Mar 28 14:44:08 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
+
+       * m68klinux.c (MACHTYPE_OK): Define.
+       * i386linux.c (MACHTYPE_OK): Define.
+
+Fri Mar 28 11:56:15 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       From David S. Miller <davem@caip.rutgers.edu> and H.J. Lu
+       <hjl@gnu.ai.mit.edu>:
+       * sparclinux.c: New file.
+       * bfd-in.h (bfd_sparclinux_size_dynamic_sections): Declare.
+       * bfd-in2.h: Rebuild.
+       * config.bfd (sparc-*-linuxaout*, sparc-*-linux*): New targets.
+       * configure.in (sparclinux_vec): Add to list of vectors.
+       * configure: Rebuild.
+       * targets.c (sparclinux_vec): Declare.
+       (bfd_target_vector): Add sparclinux_vec.
+       * Makefile.in: Rebuild dependencies.
+       (BFD32_BACKENDS): Add sparclinux.o.
+       (BFD32_BACKENDS_CFILES): Add sparclinux.c.
+
+       * coff-mips.c (mips_ecoff_backend_data): Initialize new
+       bfd_coff_backend_data field.
+       * coff-alpha.c (alpha_ecoff_backend_data): Likewise.
+
+       * config.bfd: Add bfd_elf64_{big,little}mips_vec to targ_selvecs
+       for mips*el*-*-linux* and mips*-*-linux*.  From H.J. Lu
+       <hjl@lucon.org> and Ralf Baechle <ralf@gnu.ai.mit.edu>.
+
+       * bfd.c: Include "libiberty.h".
+       (strerror): Don't declare.
+       (bfd_errmsg): Call xstrerror rather than strerror.
+
+Thu Mar 27 12:55:42 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Generate a COPY
+       reloc even if the symbol is in the .bss section.
+       * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.
+       * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise.
+       * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.
+
+       * coffcode.h (bfd_coff_backend_data): Add new field
+       _bfd_coff_default_section_alignment_power.
+       (bfd_coff_default_section_alignment_power): Define.
+       (bfd_coff_std_swap_table): Initialize new field.
+       * libcoff.h: Rebuild.
+       * cofflink.c (coff_link_add_symbols): Limit alignment of a common
+       symbol to the default section alignment.
+
+       * COPYING: Update FSF address.
+
+start-sanitize-d30v
+Thu Mar 27 00:45:57 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * 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      
+Wed Mar 26 14:50:20 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elflink.c (_bfd_elf_create_linker_section): Don't set
+       bss_section and rel_section from existing sections.
+
+       * elf32-ppc.c (ppc_elf_check_relocs): Only create the got section
+       if it is needed.
+
+Tue Mar 25 22:26:56 1997  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * aoutx.h (some_aout_object_p):  Change executable test to fix
+       problems with embedded a.out systems.
+
+Tue Mar 25 14:35:37 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * stabs.c (_bfd_stab_section_offset): New function.
+       * libbfd-in.h (_bfd_stab_section_offset): Declare.
+       * libbfd.h: Rebuild.
+       * elf32-i386.c (elf_i386_relocate_section): Adjust the offset of a
+       stab reloc.
+       * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
+       * elf32-mips.c (mips_elf_relocate_section): Likewise.
+       * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
+       * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
+       * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
+
+       * stabs.c (_bfd_link_section_stabs): Copy over the first header
+       symbol.  Check for memory allocation failure of *psinfo.
+       (_bfd_write_section_stabs): Add psinfo parameter.  Change all
+       callers.  Set the value of the header symbol.
+       * libbfd-in.h (_bfd_write_section_stabs): Update declaration.
+       * libbfd.h: Rebuild.
+
+start-sanitize-tic80
+Mon Mar 24 20:07:29 1997  Fred Fish  <fnf@cygnus.com>
+
+       * coff-tic80.c (tic80_howto_table): Add R_ABS entry.
+       (rtype2howto): Handle R_ABS reloc type.  Also abort on unhandled
+       reloc types, rather than silently failing to generate an output file.
+
+end-sanitize-tic80
+Mon Mar 24 13:41:00 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * targmatch.sed: Use the hold space to put the #ifdef around the
+       the string constant.
+       * targets.c (UNSUPPORTED_TARGET): Don't define.
+       (find_target): Don't check for UNSUPPORTED_TARGET.
+       (bfd_set_default_target): Don't try to optimize by checking for
+       default.
+
+       * Makefile.in: Rebuild dependencies.
+       (ALL_MACHINES_CFILES): Add cpu-m32r.c.
+       (BFD32_BACKENDS_CFILES): Add elf32-m32r.c.
+       (elf32-m32r.o): Remove explicit target.
+
+       * config.bfd: Don't set targ_underscore for i[3456]86-*-gnu* or
+       i[3456]86-*-linux*.
+
+       * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Don't
+       count section symbols for sections that were created by the
+       linker, or are not allocatable or not loadable.
+       (elf32_sparc_finish_dynamic_sections): Output output section
+       symbols for section for which we made space for them.
+
+Fri Mar 21 13:08:26 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf32-sparc.c (elf32_sparc_size_dynamic_sections): If there is
+       no .rela.plt section, don't output a DT_PLTGOT dynamic entry.
+
+Fri Mar 21 12:36:46 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * elf32-m32r.c (m32r_elf_howto_table): Use special function for LO16.
+       (m32r_hi16_list): New static local.
+       (m32r_elf_hi16_reloc): Don't perform reloc, just queue it up.
+       (m32r_elf_do_hi16_reloc): Delete.
+       (m32r_elf_relocate_hi16): New function.
+       (m32r_elf_lo16_reloc): New function.
+       (m32r_elf_relocate_section): For HI16 relocs, scan for corresponding
+       LO16 reloc.
+
+       Mon Mar 10 16:03:31 1997  Doug Evans  <dje@seba.cygnus.com>
+
+       * elf32-m32r.c (m32r_elf_create_linker_section): Delete.
+       (m32r_elf_add_symbol_hook): Rewrite _SDA_BASE_ support.
+       (m32r_elf_final_sda_base): New function.
+       (m32r_elf_relocate_section): Rewrite sdata support.
+       (m32r_elf_finish_dynamic_sections): Delete.
+
 Thu Mar 20 12:39:02 1997  Ian Lance Taylor  <ian@cygnus.com>
 
+       Based on patches from Philippe De Muyter <phdm@info.ucl.ac.be>.
+       * coff-svm68k.c: New file.  Just defines some macros and includes
+       coff-m68k.c.
+       * coff-m68k.c: Add functions to handle common addends, moved in
+       from cf-m68klynx.c.  Control them using COFF_COMMON_ADDEND macro.
+       Control whether relocs are visible using STATIC_RELOCS.
+       * cf-m68klynx.c: Simplify greatly: just define macros to control
+       coff-m68k.c.
+       * coff-aux.c: Likewise.  Just leave add_one_symbol routine.
+       * targets. (m68ksysvcoff_vec): Declare.
+       (bfd_target_vector): Add m68ksysvcoff_vec.
+       * config.bfd (m68*-motorola-sysv*): New target.
+       * configure.in (m68ksysvcoff_vec): New vector.
+       * configure: Rebuild.
+       * Makefile.in: Rebuild dependencies.
+       (BFD32_BACKENDS): Add coff-svm68k.o.
+       (BFD32_BACKENDS_CFILES): Add coff-svm68k.c.
+
+       * binary.c (binary_set_section_contents): Don't get misled if the
+       first section is not loadable.  From Matthew L. Martin
+       <mlm@xedia.com>.
+
        * elflink.h (elf_bfd_final_link): Set the value of a section
        symbol to the section address unless doing a relocateable link.
 
@@ -23,11 +241,9 @@ Tue Mar 18 22:40:09 1997  H.J. Lu  <hjl@lucon.org>
 
 Tue Mar 18 12:58:08 1997  Ian Lance Taylor  <ian@cygnus.com>
 
-start-sanitize-m32r
        * elf32-m32r.c (m32r_elf_is_local_label_name): Remove.
        (bfd_elf32_bfd_is_local_label): Don't define.
 
-end-sanitize-m32r
        * xcofflink.c (_bfd_xcoff_bfd_final_link): Call bfd_malloc rather
        than malloc.
 
@@ -237,14 +453,12 @@ end-sanitize-tic80
        * coff-w65.c: Ditto
        * coff-z8k.c: Ditto.
        
-start-sanitize-m32r
 Wed Mar  5 13:59:09 1997  Doug Evans  <dje@seba.cygnus.com>
 
        * elf32-m32r.c (m32r_elf_do_10_pcrel_reloc): Fix overflow calc.
        (m32r_elf_relax_section, m32r_elf_relax_delete_bytes,
        m32r_elf_get_relocated_section_contents): First pass at relax support.
 
-end-sanitize-m32r
 Mon Mar  3 13:27:09 1997  Ulrich Drepper  <drepper@rtl.cygnus.com>
 
        * elflink.h (elf_link_add_object_symbols): Use correct sh_size
@@ -451,7 +665,6 @@ Fri Feb 21 16:15:18 1997  Jeffrey A Law  (law@cygnus.com)
        relaxing.  Implement abs24 -> abs16, imm24 -> imm16 and d24 -> d16
        relaxing.
 
-start-sanitize-m32r
 Fri Feb 21 13:55:14 1997  Doug Evans  <dje@seba.cygnus.com>
 
        * elf32-m32r.c: Rewrite to use ELF backend linker.
@@ -460,7 +673,6 @@ Fri Feb 21 13:55:14 1997  Doug Evans  <dje@seba.cygnus.com>
        * reloc.c: Document BFD_RELOC_M32R_SDA16.
        * bfd-in2.h,libbfd.h: Regenerated.
 
-end-sanitize-m32r
 Thu Feb 20 23:50:31 1997  Jeffrey A Law  (law@cygnus.com)
 
        * elf32-mn10200.c (mn10200_elf_relax_section): New function.
@@ -569,13 +781,11 @@ Tue Feb 11 15:27:32 1997  Ian Lance Taylor  <ian@cygnus.com>
        * reloc.c (BFD_RELOC_MIPS16_GPREL): Define.
        * bfd-in2.h, libbfd.h: Rebuild.
 
-start-sanitize-m32r
 Mon Feb 10 23:25:00 1997  Doug Evans  <dje@seba.ricochet.net>
 
        * elf32-m32r.c (elf_m32r_howto_table): Change partial_inplace to true
        for R_M32R_{16,32,24,HI16_ULO,HI16_SLO,LO16}.
 
-end-sanitize-m32r
 start-sanitize-r5900
         Fri Feb  7 16:20:17 1997  Gavin Koch   <gavin@cygnus.com>
         
@@ -640,14 +850,12 @@ Wed Jan 29 00:00:49 1997  Jeffrey A Law  (law@cygnus.com)
        (elf_mn10200_howto_table): Likewise.
        (mn10200_reloc_map): Likewise.
 
-start-sanitize-m32r
 Mon Jan 27 12:07:35 1997  Doug Evans  <dje@seba.cygnus.com>
 
        * reloc.c: Add relocs BFD_RELOC_M32R_{HI16_[US]LO,LO16}.
        * bfd-in2.h, libbfd.h: Regenerated.
        * elf32-m32r.c: Add support for them.
 
-end-sanitize-m32r
 Mon Jan 27 12:25:02 1997  Ian Lance Taylor  <ian@cygnus.com>
 
        * aout-arm.c (MY_swap_std_reloc_in): Remove unused r_length.
@@ -1123,13 +1331,11 @@ Mon Nov 11 10:37:02 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
        appropriate relocations in the .so file if shared.
        (ppc_elf_relocate_section): Ditto.
 
-start-sanitize-m32r
 Tue Oct 29 15:03:02 1996  Doug Evans  <dje@canuck.cygnus.com>
 
        * elf32-m32r.c (elf_m32r_howto_table, R_M32R_24): Use
        complain_overflow_unsigned.
 
-end-sanitize-m32r
 Tue Oct 29 12:53:46 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
 
        * elf32-d10v.c (elf_d10v_howto_table): Don't complain on
@@ -1217,7 +1423,6 @@ Mon Oct 21 10:54:58 1996  Ian Lance Taylor  <ian@cygnus.com>
        when attempting to do a relocateable link with different object
        file formats, rather than calling abort.
 
-start-sanitize-m32r
 Thu Oct 17 10:43:29 1996  Doug Evans  <dje@canuck.cygnus.com>
 
        * reloc.c (m32r relocs): Rename them.
@@ -1227,7 +1432,6 @@ Thu Oct 17 10:43:29 1996  Doug Evans  <dje@canuck.cygnus.com>
        (elf_m32r_howto_table, R_M32R_10_PCREL entry): Use it.
        (elf_m32r_howto_table, R_M32R_24 entry): Fix {src,dst}_masks.
 
-end-sanitize-m32r
 Wed Oct 16 11:24:35 1996  Jeffrey A Law  (law@cygnus.com)
 
        * linker.c (_bfd_generic_final_link): Set "linker_mark" for
@@ -1474,14 +1678,12 @@ Mon Sep 23 13:33:00 1996  Ian Lance Taylor  <ian@cygnus.com>
        * elf32-ppc.c (ppc_elf_add_symbol_hook): Create the .sbss section
        by hand, rather than by calling bfd_make_section.
 
-start-sanitize-m32r
 Mon Sep 23 09:23:41 1996  Doug Evans  <dje@seba.cygnus.com>
 
        * reloc.c: Rename m32r relocs.
        * bfd-in2.h, libbfd.h: Rebuilt.
        * elf32-m32r.c: Update.
 
-end-sanitize-m32r
 Fri Sep 20 11:43:43 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * aoutx.h (aout_link_input_section_ext): When doing a relocateable
@@ -1550,14 +1752,12 @@ Fri Sep 13 15:50:57 1996  Ian Lance Taylor  <ian@cygnus.com>
        R_PARISC_DIR32, so that _bfd_stab_section_find_nearest_line passes
        its sanity check.
 
-start-sanitize-m32r
 Thu Sep 12 11:45:57 1996  Doug Evans  <dje@seba.cygnus.com>
 
        * reloc.c: Add m32r relocs.
        * bfd-in2.h, libbfd.h: Rebuilt.
        * cpu-m32r.c,elf32-m32r.c: New files.
 
-end-sanitize-m32r
 Thu Sep 12 11:10:05 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * ieee.c (ieee_vec): Set symbol_leading_char field to '_'.
@@ -1655,18 +1855,14 @@ Tue Sep 10 16:18:30 1996  Fred Fish  <fnf@cygnus.com>
        (copy_name): Ditto.
        * syms.c (coff_section_type): Ditto.
        
-start-sanitize-m32r
 Mon Sep  9 22:36:01 1996  Jeffrey A Law  (law@cygnus.com)
 
        * bfd-in2.h: Rebuilt after m32r changes.
 
-end-sanitize-m32r
 Mon Sep  9 12:31:22 1996  Doug Evans  <dje@canuck.cygnus.com>
 
-start-sanitize-m32r
        * config.bfd,configure.in,configure: Add m32r support.
        * Makefile.in,archures.c,elf.c,targets.c: Likewise.
-end-sanitize-m32r
        * config.bfd: Keep target list alphabetically sorted.
 
 start-sanitize-v850
This page took 0.031163 seconds and 4 git commands to generate.