* section.c (_bfd_strip_section_from_output): Ignore sections
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index be727751eb6d5223f5e0efb2faa1465412e9fabf..af50cb8831eece972218eec73609994b799f9c04 100644 (file)
@@ -1,3 +1,182 @@
+Sun Jun 20 14:13:57 1999  Richard Henderson  <rth@cygnus.com>
+
+       * section.c (_bfd_strip_section_from_output): Ignore sections
+       DISCARDed by the link script.
+
+1999-06-19  Ian Lance Taylor  <ian@zembu.com>
+
+       * elflink.h (elf_link_remove_section_and_adjust_dynindices):
+       Remove unused local variable spp.
+
+       * xcofflink.c (bfd_xcoff_size_dynamic_sections): Don't crash if
+       the entry symbol is not set.
+
+Fri Jun 18 04:24:57 1999  Richard Henderson  <rth@cygnus.com>
+
+       * elf64-alpha.c (elf64_alpha_relocate_section): Don't adjust
+       GPDISP or LITUSE in a relocatable link.
+
+Thu Jun 17 21:24:43 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * dwarf1.c (alloc_dwarf1_unit): Allocate using bfd_zalloc.
+       * (alloc_dwarf1_func): Likewise.
+
+Wed Jun 16 03:09:57 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * libhppa.h: Fix various formatting errors.
+       (assemble_3); Rewrite using CATENATE.
+       (assemble_17): Fix various bugs.
+
+1999-06-16  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-mcore.c (R_MCORE_RAW): Fix definition.
+
+1999-06-15  Richard Henderson  <rth@cygnus.com>
+
+       * section.c (SEC_SHORT): Define.
+       * bfd-in2.h: Rebuild.
+
+1999-06-13  Mark Mitchell  <mark@codesourcery.com>
+
+       * elflink.h (elf_link_remove_section_and_adjust_dynindices):
+       Remove abfd parameter.  Use _bfd_strip_section_from_output.
+       (bfd_elf_size_dynamic_sections): Adjust callers accordingly.
+       
+       * elf-bfd.h (_bfd_elf_link_adjust_dynindx): New function.
+       * elflink.c (_bfd_elf_link_adjust_dynindx): Define it.
+       * elflink.h (elf_link_remove_section_and_adjust_dynindices): New
+       function.
+       (bfd_elf_size_dynamic_sections): Use it.
+
+1999-06-13  Alan Modra  <alan@spri.levels.unisa.edu.au>
+
+       * elf32-i386.c (elf_howto_table): Change R_386_PC8 from
+       complain_overflow_bitfield to complain_overflow_signed.
+
+1999-06-13  Mark Mitchell  <mark@codesourcery.com>
+
+       * elflink.h (elf_link_read_relocs_from_section): New function,
+       split out from ...
+       (elf_link_read_relocs): Here.  Use it for both relocation
+       sections.
+
+1999-06-12  Mark Mitchell  <mark@codesourcery.com>
+
+       * elfcode.h (elf_slurp_reloc_table_from_section): Don't assume
+       asect->reloc_count is valid.
+
+1999-06-12  Ian Lance Taylor  <ian@zembu.com>
+
+       * elf32-mips.c (mips_elf32_section_processing): Permit a
+       SHT_MIPS_REGINFO section to have a size of 0.
+
+1999-06-12  David O'Brien  <obrien@freebsd.org>
+
+       * config.bfd (alpha*-*-freebsd*): New target.
+       (i[3456]86-*-freebsd*): Now defaults to ELF.
+
+1999-06-11  Ian Lance Taylor  <ian@zembu.com>
+
+       * reloc.c (_bfd_relocate_contents): Permit bitfield relocations to
+       wrap if the relocation covers the high bit of an address.
+
+       * dwarf2.c (decode_line_info): Remove unused variable first_time.
+
+1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
+
+       * elf64_sparc.c (sparc64_elf_relocate_section): Use R_SPARC_max_std
+       instead of R_SPARC_max.
+       (sparc64_elf_info_to_howto): Likewise.
+       * elf32_sparc.c (elf32_sparc_relocate_section): Likewise.
+       (elf32_sparc_info_to_howto): Likewise; handle vtable relocations.
+
+1999-06-07  Richard Henderson  <rth@cygnus.com>
+
+       * section.c (_bfd_strip_section_from_output): Remove output
+       sections with no initial link_order.
+
+1999-06-07  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-m88k.c (ELF_MAXPAGESIZE): Define.
+
+Mon Jun  7 11:49:43 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
+
+       * Makefile.am (SOURCE_HFILES): Add missing headers.
+       * Makefile.in: Regenerated.
+
+1999-06-06  Mark Mitchell  <mark@codesourcery.com>
+
+       * elf32-mips.c (_bfd_mips_elf_print_private_data): Recognize
+       the N32 ABI.
+
+1999-06-04  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
+
+       * elf32-ppc.c (ppc_elf_relocate_section): Don't barf on out of
+       range undefweak symbols.
+       * hash.c: Add missing comma after @xref{}
+       * linker.c: Likewise.
+
+1999-06-04  Nick Clifton  <nickc@cygnus.com>
+
+       * elfxx-target.h (ELF_MAXPAGESIZE): Produce an error message
+       if not defined.
+       * elf32-gen.c (ELF_MAXPAGESIZE): Define.
+       * elf32-i860.c (ELF_MAXPAGESIZE): Define.
+       * elf32-i960.c (ELF_MAXPAGESIZE): Define.
+       * elf64-gen.c (ELF_MAXPAGESIZE): Define.
+
+1999-06-04  Ian Lance Taylor  <ian@zembu.com>
+
+       * Makefile.am: Rebuild dependencies.
+       (BFD32_BACKENDS): Add dwarf1.lo.
+       (BFD32_BACKENDS_CFILES): Add dwarf1.c.
+       * Makefile.in: Rebuild.
+
+1999-06-04  Nick Clifton  <nickc@cygnus.com>
+
+       * Makefile.am: Add epoc-arm-pe target.
+       * Makefile.in: Regenerate.
+       * pe-arm.c: Only redefine interworking function names if they have
+       not already been redefined.
+       * pei-arm.c: Only redefine interworking function names if they have
+       not already been redefined.
+       * epoc-pe-arm.c: Redefine interworking function names to avoid a
+       name space clash.
+       * epoc-pei-arm.c: Redefine interworking function names to avoid a
+       name space clash.
+
+1999-06-03  Nick Clifton  <nickc@cygnus.com>
+
+       * elfxx-target.h (ELF_MAXPAGESIZE): Default to 0x1000 not 1.
+
+Fri Jun  4 10:05:11 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
+
+       * elf.c (elf_fake_sections): Undo change of 1999-05-10.
+
+Fri Jun  4 03:10:49 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * elf32-sh.c (sh_elf_relax_delete_bytes): Fix setting of
+       start / stop for recalculating of r_addend of R_SH_SWITCH*.
+
+Fri Jun  4 02:53:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH32
+       in other text sections.
+
+Fri Jun  4 02:29:34 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * libbfd.c (_bfd_generic_verify_endian_match): New function.
+       * libbfd-in.h (_bfd_generic_verify_endian_match): Declare.
+       * libbfd.h: Regenerate.
+       * coff-sh.c (sh_merge_private_data): Delete.
+       (coff_bfd_merge_private_bfd_data): Change to
+       _bfd_generic_verify_endian_match.
+       (elf32-sh.c): bfd_elf32_bfd_merge_private_bfd_data: Define.
+
+1999-06-03  Ulrich Drepper  <drepper@cygnus.com>
+
+       * elf32-arm.h: Fix typo: change ELF_MAXPAGE_SIZE to ELF_MAXPAGESIZE.
+
 1999-06-03  Ian Lance Taylor  <ian@zembu.com>
 
        * bfd-in.h (bfd_elf32_arm_allocate_interworking_sections): Correct
        split out from ...
        (elf_slurp_reloc_table): Here.  Use it to handle the case where a
        single section has two associated relocation sections.
-       
+
 1999-06-02  Mark Salter  <msalter@cygnus.com>
 
        * coffcode.h (coff_set_alignment_hook): Set lma from s_vaddr if
        (elf_backend_may_use_rela_p): Likewise.
        (elf_backend_default_use_rela_p): Likewise.
        (elfNN_bed): Use them.
-       
+
 Wed Jun  2 12:38:49 1999  Miodrag Vallat <miodrag@multimania.com>
 
        * hosts/alphalinux.h (TRAD_CORE_EXTRA_SIZE_ALLOWED): Expand to 4096.
@@ -92,7 +271,7 @@ Tue Jun  1 17:57:58 1999  Mark P. Mitchell  <mitchell@n02.acl.lanl.gov>
        (USE_REL): Adjust for new conventions.
        (MINUS_ONE): New macro.
        (elf_mips_howto_table): Add R_MIPS_SUB.
-       (mips_r): Add entries for MIPS_SUB, MIPS_GOT_PAGE, MIPS_GOT_OFST, 
+       (mips_r): Add entries for MIPS_SUB, MIPS_GOT_PAGE, MIPS_GOT_OFST,
        and MIPS_GOT_DISP.
        (mips_elf_final_write_processing): Set sh_link, not sh_info, for a
        .MIPS.content section.
@@ -109,7 +288,7 @@ Wed Jun  2 11:51:12 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
        variable.
 
        * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Avoid ambigous
-       `else'. 
+       `else'.
 
 1999-05-30  Philip Blundell  <philb@gnu.org>
 
@@ -122,7 +301,7 @@ Wed Jun  2 11:51:12 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
        * bfd-in.h: Amend prototype for
        bfd_elf32_arm_process_before_allocation .
        * bfd-in.h: Regenerate.
-       
+
        * elfarm-oabi.c (NUM_ELEM): New macro: Compute the number of
        elements in a fixed sized array.
        (ARM_ELF_ABI_VERSION): Define.
@@ -162,7 +341,7 @@ Wed Jun  2 11:51:12 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
        made to linl together big endian and little endian code.
        (elf32_arm_post_process_headers): New function:  Initialise the
        EI_OSABI and EI_ABIVERSION fields of the newly created ELF program
-       header. 
+       header.
        (elf_backend_post_process_headers): Define.
 
 1999-05-28  Nick Clifton  <nickc@cygnus.com>
@@ -172,12 +351,12 @@ Wed Jun  2 11:51:12 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
 
        * elfxx-target.h (elf_backend_post_process_headers): Define to
        NULL if not already defined.
-       (elfNN_bed): Initialise elf_backend_post_process_headers field. 
+       (elfNN_bed): Initialise elf_backend_post_process_headers field.
 
        * elf.c (prep_headers): Set the EI_OSABI and EI_ABIVERSION fields
        to zero.
        (_bfd_elf_compute_section_file_positions): Call
-       elf_backend_post_process_headers if defined. 
+       elf_backend_post_process_headers if defined.
 
 1999-05-28  Ian Lance Taylor  <ian@zembu.com>
 
@@ -203,13 +382,13 @@ Wed Jun  2 11:51:12 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
 1999-05-27  Nick Clifton  <nickc@cygnus.com>
 
        * elfarm-oabi.c (elf32_arm_howto_table): Add entry for
-       R_ARM_PLT32. 
+       R_ARM_PLT32.
        (find_howto): New function: Find entries in the
        elf32_arm_howto_table.
        (elf32_arm_info_to_howto): Use find_howto if the entry cannot be
        computed simply.
        (elf32_arm_reloc_type_lookup): Add lookup for
-       BFD_RELOC_ARM_PLT32. 
+       BFD_RELOC_ARM_PLT32.
 
 1999-05-25  Philip Blundell  <pb@nexus.co.uk>
 
@@ -217,18 +396,18 @@ Wed Jun  2 11:51:12 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
        (elf32_arm_link_hash_table_create): Use above function as the
        constructor for hash table entries.
        (elf32_arm_relocate_section): Avoid crash when there is no output
-       section. 
+       section.
        (elf32_arm_final_link_relocate): New parameter h.
        (elf32_arm_relocate_section): Pass symbol hash entry to above
        routine.
        (elf32_arm_gc_sweep_hook, elf32_arm_check relocs): Correct
        comments.
-       
+
 1999-05-25  Catherine Moore  <clm@cygnus.com>
+
         * coff-arm.c (coff_arm_relocate_section): Don't emit
         base file entries for pc-relative values.
-        
+
 1999-05-25  DJ Delorie  <dj@cygnus.com>
 
        * peicode.h (coff_swap_sym_in): When we create the actual section
@@ -242,11 +421,12 @@ Wed Jun  2 11:51:12 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
        1999-03-25.
 
 Mon May 17 13:35:35 1999  Stan Cox  <scox@cygnus.com>
+
        * coff-arm.c (_bfd_coff_arm_set_private_flags): Changed
        F_PIC_INT to F_PIC.
        * coffcode.h (coff_set_arch_mach_hook): Added F_ARM_2a, and
        F_ARM_3M labels.  Changed F_PIC_INT to F_PIC.
-       
+
 1999-05-16  Nick Clifton  <nickc@cygnus.com>
 
        * coff-mcore.c (in_reloc_p): Reinstate.
@@ -262,12 +442,12 @@ Mon May 17 13:35:35 1999  Stan Cox  <scox@cygnus.com>
        (coff_mcore_rtype_to_howto): Add special processing for
        IMAGE_REL_MCORE_RVA.
        (coff_mcore_relocate_section): Add support for
-       IMAGE_REL_MCORE_RVA. 
+       IMAGE_REL_MCORE_RVA.
        * elf32-mcore (mcore_elf_howto_): Add R_MCORE_RELATIVE.
        (mcore_elf_reloc_type_lookup): Map BFD_RELOC_RVA to
        R_MCORE_RELATIVE.
-       (mcore_elf_relocate_section): Delete redundant case labels. 
-       
+       (mcore_elf_relocate_section): Delete redundant case labels.
+
 Fri May 14 10:59:55 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
 
        * elf32-arm.h (elf32_arm_relocate_section): Fix operator
@@ -296,7 +476,7 @@ Thu May 13 09:45:23 1999  Joel Sherrill (joel@OARcorp.com)
        * coffswap.h (coff_swap_aux_in): ditto
        * peicode.h (coff_swap_sym_in): Build the implied zero-length
        sections
-       
+
 Tue May 11 15:51:58 1999  Jeffrey A Law  (law@cygnus.com)
 
        * elf32-v850.c (v850_elf_howto_table): Make partial_inplace false
@@ -334,9 +514,9 @@ Thu May  6 17:09:09 1999  Fred Fish  <fnf@be.com>
 
         * coff-arm.c (coff_arm_relocate_section):  Add one to
         address of ARM_RVA32 thumb functions.
+
 1999-05-05  Catherine Moore  <clm@cygnus.com>
+
         * elf32-m68k.c (elf32_m68k_set_private_flags): New.
         (elf32_m68k_copy_private_bfd_data): New.
         (elf32_m68k_merge_private_bfd_data): New.
@@ -353,7 +533,7 @@ Thu May  6 17:09:09 1999  Fred Fish  <fnf@be.com>
         (bfd_elf32_bfd_merge_private_bfd_data): Define.
         (bfd_elf32_bfd_set_private_flags): Define.
         (bfd_elf32_bfd_print_private_bfd_data): Define.
+
 Mon May  3 09:24:49 1999  Jeffrey A Law  (law@cygnus.com)
 
        * som.c (som_fixup_formats): Fix comments for R_SHORT_PCREL_MODE
@@ -390,7 +570,7 @@ Fri Apr 28 16:36:19 1999  Stan Cox  <scox@cygnus.com>
        * libbfd.h: Rebuild.
 
 Sat Apr 17 20:55:15 1999  Catherine Moore  <clm@cygnus.com>
+
        * coff-arm.c (coff_arm_rtype_to_howto): Remove ARM26D transform.
        (coff_arm_relocate_section):  Add ARM26D transform.  Only
        change to ARM26D for relocateable links.
@@ -488,7 +668,7 @@ Sat Apr 10 15:12:09 1999  Richard Henderson  <rth@cygnus.com>
        * configure.in: Add support for MCore targets.
        * configure: Regenerate.
        * archures.c: Add support for MCore architecture.
-       * bfd-in2.h: Regenerate. 
+       * bfd-in2.h: Regenerate.
        * coffcode.h: Add support for mcore-pe targets.
        * elf.c: Add support for mcore-elf target.
        * reloc.c: Add support for MCore relocs.
@@ -558,11 +738,11 @@ Sat Apr 10 15:12:09 1999  Richard Henderson  <rth@cygnus.com>
        TARGET_UNDERSCORE and USER_LABEL_PREFIX.
        * pe-arm.h: Allow previous header files to override definition of
        TARGET_LITTLE_SYM and TARGET_BIG_SYM.
-       * pei-arm.h: Allow previous header files to override definition of 
+       * pei-arm.h: Allow previous header files to override definition of
        TARGET_LITTLE_SYM and TARGET_BIG_SYM.
        * epoc-pe-arm.c: New file.  Support arm-epoc-pe target.
        * epoc-pei-arm.c: New file.  Support arm-epoc-pei target.
-       
+
 1999-03-30  Nick Clifton  <nickc@cygnus.com>
 
        * elf.c (elf_map_symbols): Handle the case where section
@@ -578,8 +758,8 @@ Sat Apr 10 15:12:09 1999  Richard Henderson  <rth@cygnus.com>
 1999-03-25  Philip Blundell  <pb@nexus.co.uk>
 
        * config.bfd: Eliminate redundancy in checks for Linux/ARM.
-       
-       * elf32-arm.h (elf32_arm_relocate_section): Take the rightshift into 
+
+       * elf32-arm.h (elf32_arm_relocate_section): Take the rightshift into
        account when adjusting section symbols during a partial link.
 
 1999-03-24  Nick Clifton  <nickc@cygnus.com>
@@ -673,7 +853,7 @@ Thu Feb 18 18:07:43 1999  Ian Lance Taylor  <ian@cygnus.com>
 
        The following patches are from: Scott Bambrough
        <scottb@corelcomputer.com>
-       
+
        * libaout.h (M_ARM6_NETBSD): Set to 143.
 
        * reloc.c: Add ARM PIC relocs:   BFD_RELOC_ARM_GOT12,
@@ -692,7 +872,7 @@ Thu Feb 18 18:07:43 1999  Ian Lance Taylor  <ian@cygnus.com>
        (elf32_arm_final_link_relocate): Change parameters so that entire
        reloc is passed.  Add support for PIC relocs.
        (elf32_arm_relocate_section): Pass entire reloc to
-       elf32_arm_final_link_relocate. 
+       elf32_arm_final_link_relocate.
        (elf32_arm_check_relocs): Handle new PIC relocs.
        (elf32_arm_adjust_dynamic_symbol): New function.
        (elf32_arm_size_dynamic_sections): New function.
@@ -710,7 +890,7 @@ Thu Feb 18 18:07:43 1999  Ian Lance Taylor  <ian@cygnus.com>
        (elf_backend_plt_readonly): Define.
        (elf_backend_want_got_plt): Define.
        (elf_backend_want_plt_sym): Define.
-       
+
 Wed Feb 17 12:02:26 1999  Stan Cox  <scox@cygnus.com>
 
        * elf32-mips.c (_bfd_mips_elf_section_from_shdr): Make reginfo
@@ -718,12 +898,12 @@ Wed Feb 17 12:02:26 1999  Stan Cox  <scox@cygnus.com>
        (_bfd_mips_elf_fake_sections): Likewise.
 
 Wed Feb 17 12:07:23 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
+
         * elfarm-oabi.c (bfd_elf32_arm_allocate_interworking_sections,
         bfd_elf32_arm_get_bfd_for_interworking,
         bfd_elf32_arm_process_before_allocation): Define to avoid clash
         with elfarm-nabi.c.
+
         * elf32-arm.h: Don't declare elf32_arm_info_to_howto.
         (elf32_thumb_to_arm_stub, elf32_arm_to_thumb_stub,
         elf32_arm_find_nearest_line): Make them static.
@@ -807,7 +987,7 @@ Mon Feb  1 19:49:21 1999  Catherine Moore  <clm@cygnus.com>
         * Makefile.am:  Use new files.
         * Makefile.in:  Regenerate.
         * configure.in:  Use new files.
-        * configure:  Regenerate.       
+        * configure:  Regenerate.
 
 1999-02-01  Nick Clifton  <nickc@cygnus.com>
 
@@ -880,13 +1060,13 @@ Wed Jan 27 13:35:35 1999  Stan Cox  <scox@cygnus.com>
        to F_PIC_INT.
        * coffcode.h (coff_set_arch_mach_hook): Removed F_ARM_2a and
        F_ARM_3M labels.  Changed F_PIC to F_PIC_INT.
-       
+
 1999-01-27  Nick Clifton  <nickc@cygnus.com>
 
        * elf32-fr30.c (fr30_elf_howto_table): Fix name of R_FR30_48
-       relocation. 
+       relocation.
        (fr30_final_link_relocate): Use computed value as result of
-       relocation. 
+       relocation.
 
 1999-01-26  Frank Ch. Eigler  <fche@cygnus.com>
 
@@ -914,7 +1094,7 @@ Tue Dec 22 15:21:41 1998  Catherine Moore  <clm@cygnus.com>
        * archures.c,bfd-in2.h (bfd_mach_mips4111): New.
        * cpu-mips.c: Add support for and independent 4111.
        * elf32-mips.c (elf_mips_mach): E_MIPS_MACH_4111 -> bfd_mach_mips4111.
-       (_bfd_mips_elf_final_write_processing): 
+       (_bfd_mips_elf_final_write_processing):
        bfd_mach_mips4111 -> E_MIPS_ARCH_3 | E_MIPS_MACH_4111.
 
 1998-12-15  Gavin Romig-Koch  <gavin@cygnus.com>
@@ -924,7 +1104,7 @@ Tue Dec 22 15:21:41 1998  Catherine Moore  <clm@cygnus.com>
 
 1998-12-12  Gavin Romig-Koch  <gavin@cygnus.com>
 
-       * elf32-mips.c (_bfd_mips_elf_final_write_processing): 
+       * elf32-mips.c (_bfd_mips_elf_final_write_processing):
        Handle bfd_mach_mips4300.
 
 1998-12-11  Ulrich Drepper  <drepper@cygnus.com>
@@ -3200,7 +3380,7 @@ Fri Feb  6 14:48:20 1998  Nick Clifton  <nickc@cygnus.com>
        * elf32-v850.c (v850_elf_merge_private_bfd_data): Do not complain
        when merging v850 code into v850e/v850ea code.  Do not initialise
        output flags if the input is the default architecture.
-       
+
 Fri Feb  6 11:50:22 1998  Jeffrey A Law  (law@cygnus.com)
 
        * elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): For BFD_RELOC_CTOR
This page took 0.030972 seconds and 4 git commands to generate.