Make ld -s work on AIX:
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 24d192ff9c940c3ad1f07a4bb505fa563fe81d1b..87d9a9849657ca8dda584909075394abb06991df 100644 (file)
@@ -1,5 +1,191 @@
+Fri Oct  3 11:23:47 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       Make ld -s work on AIX:
+       * xcofflink.c (xcoff_link_add_symbols): Don't create the .debug
+       section if we are stripping.
+       (bfd_xcoff_size_dynamic_sections): Don't set the .debug section
+       size if we are stripping.
+       (_bfd_xcoff_bfd_final_link): Don't set SEC_RELOC or rel_filepos,
+       and don't write out relocs, if we are stripping.
+       (xcoff_link_input_bfd): Don't set up reloc if we are stripping.
+       (xcoff_write_global_symbol): Don't write out symbol or reloc if we
+       are stripping.
+
+       * configure.in: Don't include elf.lo again for ELF targets; it's
+       always in the library anyhow.
+       * configure: Rebuild.
+
+       * bfd-in2.h: Rebuild.
+
+       * elf32-sparc.c (sparc_elf_wdisp16_reloc): Cast to bfd_byte *, not
+       char *, when calling bfd_get_32 and bfd_put_32.
+       * sunos.c (sunos_scan_dynamic_symbol): Cast contents to char *
+       when calling strcpy.
+
+Thu Oct  2 16:15:50 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * reloc.c (bfd_check_overflow): New function.
+       (bfd_perform_relocation, bfd_install_relocation): Use it.
+       (BFD_RELOC_SPARC_{DISP64,PLT64}): New relocs.
+       (BFD_RELOC_SPARC_{HIX22,LOX10,H44,M44,L44,REGISTER}): New relocs.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+
+Thu Oct  2 13:17:18 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * peicode.h (coff_swap_scnhdr_out): Set IMAGE_SCN_MEM_READ for an
+       unrecognized section.  From Jon Thackray <jont@harlequin.co.uk>.
+
+Wed Oct  1 14:03:44 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.am ($(BFD_H)): Change stmp-bfd.h to stmp-bfd-h.
+       (stmp-bfd-h): Rename from stmp-bfd.h.
+       (BFD_H_FILES, LIBBFD_H_FILES, LIBCOFF_H_FILES): New variables.
+       ($(srcdir)/bfd-in2.h): Just depend upon stmp-bin2-h.
+       (stmp-bin2-h): New target.
+       ($(srcdir)/libbfd.h): Just depend upon stmp-lbfd-h.
+       (stmp-lbfd-h): New target.
+       ($(srcdir)/libcoff.h): Just depend upon stmp-lcoff-h.
+       (stmp-lcoff-h): New target.
+       (CLEANFILES): Change stmp-bfd.h to stmp-bfd-h.  Add stmp-bin2.h,
+       stmp-lbfd-h, and stmp-lcoff-h.
+       * Makefile.in: Rebuild.
+
+       * configure.in: Use a diversion to set enable_shared before the
+       arguments are parsed.
+       * configure: Rebuild.
+
+Tue Sep 30 14:18:32 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * elf32-sparc.c (_bfd_sparc_elf_howto_table): R_SPARC_GLOB_JMP
+       renamed to R_SPARC_UNUSED_42.
+       (sparc_reloc_map): Delete R_SPARC_GLOB_JMP entry.
+       * elf64-sparc.c (_bfd_sparc_elf_howto_table): R_SPARC_GLOB_JMP
+       renamed to R_SPARC_UNUSED_42.
+       (sparc_reloc_map): Delete R_SPARC_GLOB_JMP entry.
+       * reloc.c (BFD_RELOC_SPARC_GLOB_JMP): Delete.
+       * bfd-in2.h: Regenerated.
+       * libbfd.h: Regenerated.
+
+Thu Sep 25 12:15:02 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elflink.h (elf_merge_symbol): Don't check the hash creator until
+       after we have set *sym_hash.
+
+Wed Sep 24 16:52:28 1997  Joel Sherrill  <joel@oarcorp.com>
+
+        * config.bfd (sh*-*-rtems*): New target, like sh-*-*elf*.
+
+Wed Sep 24 11:27:23 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.am (libbfd_a_SOURCES): Define.
+       * Makefile.in: Rebuild.
+
+       * configure.in: Call AC_CHECK_TOOL before AM_PROG_LIBTOOL.
+       * aclocal.m4: Rebuild with new libtool.
+       * configure: Rebuild.
+
+Tue Sep 23 19:03:13 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf.c (map_sections_to_segments): Even if we are not demand
+       paged, don't put a loadable section after a nonloadable section.
+       (assign_file_positions_for_segments): Increment the file offset
+       for a section with contents, even if it is not loadable.
+
+start-sanitize-v850e
+Sun Sep 21 11:03:24 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-v850.c (v850_elf_final_link_relocate): Add return code
+       indicating that __ctbp could not be found.
+
+end-sanitize-v850e
+Thu Sep 18 15:04:57 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-v850.c (v850_elf_check_relocs): Improve error message.
+
+Wed Sep 17 09:54:51 1997  Nick Clifton  <nickc@cygnus.com>
+start-sanitize-v850e
+
+       * elf32-v850.c (v850_elf_final_link_relocate, v850_elf_reloc,
+       v850_elf_check_relocs, v850_elf_reloc_map, v850_elf_howto_table):
+       Add support for the CALLT relocs.
+
+       * reloc.c (COMMENT): Add BFD_RELOC_V850_CALLT_6_7_OFFSET and
+       BFD_RELOC_V850_CALLT_16_16_OFFSET. 
+end-sanitize-v850e
+
+       * elf32-v850.c (v850_elf_final_link_relocate): Add checks to catch
+       relocations against non-existant symbols.
+
+Tue Sep 16 14:20:27 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * reloc.c: Add BFR_RELOC_V850_TDA_16_16_OFFSET.
+
+       * elf32-v850.c (v850_elf_reloc, v850_elf_final_link_relocate,
+       v850_elf_howto_table, v850_elf_reloc_map): Add support for a 16
+       bit reloc in the tiny data area.
+
+start-sanitize-d30v
+Mon Sep 15 11:27:36 1997  Ken Raeburn  <raeburn@cygnus.com>
+
+       Merged changes from Martin Hunt:
+
+       * elf32-d30v.c (bfd_elf_d30v_reloc): Change pc-relative relocs
+       over 2^32 bytes to be absolute.  Needed because D30V PC doesn't
+       necessarily wrap.
+
+       * reloc.c, elf32-d30v.c (BFD_RELOC_D30V_9_PCREL,
+       BFD_RELOC_D30V_9_PCREL_R): New relocs.
+
+       * elf32-d30v.c (bfd_elf_d30v_reloc_21): New function.
+       Do 15 and 21 bit pc-relative relocations.
+       * reloc.c (BFD_RELOC_D30V_15_PCREL_R, BFD_RELOC_D30V_21_PCREL_R):
+       New relocations.
+
+       * elf32-d30v.c (bfd_elf_d30v_reloc): Addend needs to be
+       added to the relocation, not or'd.
+
+end-sanitize-d30v
+Wed Sep 10 15:17:25 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-v850.c (v850_elf_reloc): Remove spurious error message.
+
+Wed Sep 10 11:17:50 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * archures.c (bfd_default_scan): Use strcasecmp.
+       (bfd_default_scan): Test for match with arch_name + ":" +
+       printable_name.
+       (bfd_default_scan): Test for match with printable_name - ":".
+       (bfd_default_scan): Delete w65, h8300, h8500, z8k, i960 special
+       cases.  Each implements their own scan function.
+       (bfd_default_scan): Delete 386, 2900, 860, mips 2000, mips 4400
+       special cases.  Since info->mach == 0.  The test mach == number
+       fails.
+       (bfd_arch_list): New function, return name of all the supported
+       architectures.
+
+Tue Sep  9 10:21:56 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-v850.c (v850_elf_print_private_bfd_data): Break after
+       decoding architecture.
+       (v850_elf_reloc): Do not complain if a R_V850_LO16 reloc has bit
+       15 set.
+
+Sun Sep  7 12:25:22 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
+
+       * bfd/elf64-alpha.c (reloc_howto_type): Fix the howto table.
+
 Thu Sep  4 09:44:10 1997  Ian Lance Taylor  <ian@cygnus.com>
 
+       * Makefile.am: Rebuild dependencies.
+       (ALL_MACHINES_CFILES): Add cpu-v850.c.
+       (ALL_MACHINES_CFILES): Add elf32-v850.c.
+       * Makefile.in: Rebuild.
+
+       * reloc.c: Remove extraneous commas from relocation entries.
+       Remove BFD_RELOC_V850_16_PCREL.
+       * bfd-in2.h: Rebuild.
+
        * xcofflink.c (xcoff_link_add_symbols): Put XTY_CM/XMC_TD symbols
        in sections named .tocbss rather than .bss.
 
@@ -29,9 +215,7 @@ start-sanitize-v850e
 Tue Sep  2 17:43:49 1997  Nick Clifton  <nickc@cygnus.com>
 
        * elf.c (prep_headers): Remove V850E magic number.
-start-sanitize-v850eq
        * elf.c (prep_headers): Remove V850EQ magic number.
-end-sanitize-v850eq
 end-sanitize-v850e
 
 Tue Sep  2 17:35:05 1997  Doug Evans  <dje@canuck.cygnus.com>
@@ -111,9 +295,7 @@ start-sanitize-v850e
        number.
        
        * elf.c (prep_headers): Add support for v850e machine number. 
-end-sanitize-v850e
-       
-start-sanitize-v850eq
+
        * archures.c (bfd_mach_v850eq): Machine value for v850eq.
        
        * bfd-in2.h (bfd_mach_v850eq): Machine value for v850eq.
@@ -122,8 +304,7 @@ start-sanitize-v850eq
        number.
        
        * elf.c (prep_headers): Add support for v850eq machine number. 
-
-end-sanitize-v850eq
+end-sanitize-v850e
 
 Mon Aug 25 14:07:33 1997  Ian Lance Taylor  <ian@cygnus.com>
 
@@ -197,9 +378,7 @@ Mon Aug 18 11:33:56 1997  Nick Clifton  <nickc@cygnus.com>
        * config.bfd: Add support for v850e target.
 
        * archures.c: Add support for v850e target.
-end-sanitize-v850e
 
-start-sanitize-v850eq
 Mon Aug 18 11:33:56 1997  Nick Clifton  <nickc@cygnus.com>
 
        * cpu-v850eq: New file.
@@ -211,7 +390,7 @@ Mon Aug 18 11:33:56 1997  Nick Clifton  <nickc@cygnus.com>
        * config.bfd: Add support for v850eq target.
 
        * archures.c: Add support for v850eq target.
-end-sanitize-v850eq
+end-sanitize-v850e
 
 Fri Aug 15 12:01:28 1997  Ian Lance Taylor  <ian@cygnus.com>
 
This page took 0.026462 seconds and 4 git commands to generate.