(trad_unix_bfd_is_local_label): Fixed typo where
[binutils-gdb.git] / bfd / ChangeLog
index 3bac0d102f9035bff8802daeb92cea0525e23bee..861ca5085b654e110387ae0a18a597f9de984e3e 100644 (file)
@@ -1,5 +1,231 @@
+Thu Mar 17 18:26:46 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * trad-core.c (trad_unix_bfd_is_local_label): Fixed typo where
+       this was also named trad_unix_bfd_copy_private_bfd_data.
+
+Thu Mar 17 10:37:07 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * aoutx.h, elfcode.h, coff-alpha.c, bout.c, ecoff.c, ecofflink.c,
+       elf32-hppa.c, elf32-mips.c, linker.c, som.c, sunos.c: If malloc(0)
+       returns NULL, it is not an error.  It's possible that some of
+       these checks are not necessary (because the size can never be
+       zero), but putting in the checks is the conservative thing to do
+       in light of the fact that some of these malloc calls replaced
+       unchecked alloca calls, in which a zero argument would work fine.
+
+Thu Mar 17 11:44:45 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * osf-core.c (osf_core_bfd_copy_private_bfd_data): Remove
+       duplicate definition.
+       (osf_core_bfd_is_local_label): Define.
+
+       * reloc.c (bfd_generic_get_relocated_section_contents): Don't fail
+       if malloc (0) fails.  bfd_canonicalize_reloc returning 0 is not a
+       failure indication, it merely means there are no relocs.
+
+       * elfcode.h (NAME(bfd_elf,write_object_contents)): Don't use space
+       after NAME, since SunOS /bin/cc can't handle it.
+
+Wed Mar 16 16:43:33 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * netbsd386.c (N_SET_FLAGS): Don't nuke the machine id field.
+       From sukes@glue.umd.edu (Tasuki Hirata).
+
+Wed Mar 16 07:55:54 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * aoutf1.h (4 places): Use a simple #if on ARCH_SIZE, rather than
+       all that convoluted stuff with NAME, CAT3, etc.  The convoluted
+       stuff broke for SunOS4 /bin/cc (due to DEFUN elimination, I guess).
+
+Wed Mar 16 00:02:05 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * som.c (som_prep_for_fixups): Detect section symbols based
+       on either the lack of private data or the symbol flags.  Do not
+       munge section symbol names anymore -- they no longer confuse GDB.
+       (som_begin_writing): Leave space for an exec header if writing
+       an executable.
+       (som_slurp_symbol_table): Recognize both forms of section symbol
+       names "L$0\002" and "$<FOO>$".  Change the name of "L$0\002"
+       section symbols to be the name of the section they represent.
+       Debugging  symbols begin with "L$0\001", not just "L$".
+
+Tue Mar 15 22:58:28 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * bfd-in2.h, libbfd.h, libcoff.h: Rebuilt.
+
+       * bfd-in.h (JUMP_TABLE): Add new entries to the jump table
+       for bfd_copy_private_section_data, bfd_copy_private_bfd_data,
+       and bfd_is_local_label.
+
+       * targets.c: Add new entries to the bfd_target structure.
+       
+       * bfd.c (bfd_copy_private_bfd_data): New definition.
+
+       * section.c (bfd_copy_private_section_data): New definition.
+
+       * syms.c (bfd_is_local_label): New definition.
+
+       * libbfd-in.h (bfd_generic_is_local_label): Declare.
+
+       * libbfd.c (bfd_generic_is_local_label): New function.
+
+       * *-core.c: Provide default definitions for new functions in
+       the target vector which all point to bfd_false.
+
+       * aout-target.h, coffcode.h, elf32-target.h elf64-target.h, ieee.c
+       libaout.h, libecoff.h, nlm-target.h, oasys.c, srec.c, tekhex.c
+       Default new vectors for copying private backend data to bfd_true.
+       Default new vector for determining if a symbol is a local label
+       to bfd_generic_is_local_label.
+
+       * som.c (som_bfd_copy_private_section_data): New function.
+       (som_bfd_is_local_label): New function.
+       (som_bfd_copy_private_bfd_data): For now default to bfd_true.
+
+       * elf32-hppa.c (hppa_elf_is_local_label): New function.
+
+Tue Mar 15 23:55:47 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * cf-m68klynx.c (CALC_ADDEND): Use _bfd_m68klynx_howto_table.
+
+Tue Mar 15 04:41:13 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
+
+       * Most files:
+       Replace DEFUN and DEFUN_VOID with K&R-style function definition.
+       Indent some of them to GNU standards.
+
+       * aout32.c, archures.c, core.c, cpu-h8300.c, cpu-i960.c,
+       cpu-m68k.c, cpu-m88k.c, cpu-mips.c, cpu-vax.c, ctor.c, demo64.c,
+       elf32-hppa.h, gen-aout.c, host-aout.c, init.c, libhppa.h,
+       libieee.h, liboasys.h, newsos3.c, som.h, stab-syms.c, sunos.c:
+       Update copyright years.
+
+Mon Mar 14 11:41:23 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * som.c (som_prep_for_fixups): A relocation involving the section
+       symbol for the *ABS* section is really a relocation involving
+       no symbol.
+       (som_slurp_symbol_table): Do not set BSF_GLOBAL or BSF_EXPORT for
+       undefined symbols.  Correctly distinguish between debugger symbols
+       and section symbols.
+
+       * som (setup_sections): Set SEC_DEBUGGING and the section attributes
+       for spaces and subspaces.
+
+       * som.c (som_bfd_count_ar_symbols): Fix typo.
+
+       * som.c (som_object_setup): Set EXEC_P, D_PAGED, WP_TEXT, and
+       HAS_RELOC based on the object's magic number.
+       (make_unique_section): Delete function.  BFD and its users are
+       prepared to handle multiple sections with the same name.
+       (setup_sections): Allocate space on the BFD's obstack to hold
+       section names.  Use bfd_make_setion_anyway rather than the
+       obsolete make_unique_section.
+       (som_prep_headers): Choose the correct SOM magic number based
+       on the BFD's flags.
+       (som_bfd_fill_in_ar_symbols): Return false, not NULL on error.
+
+Sat Mar 12 09:46:09 1994  Ian Lance Taylor  (ian@cygnus.com)
+
+       * elf32-ppc.c: Renamed from elf32-powerpc.c.
+       start-sanitize-powerpc-netware
+       * nlm32-ppc.c: Renamed from nlm32-powerpc.c.
+       end-sanitize-powerpc-netware
+       * Makefile.in, configure.in: Corresponding changes.
+
+Fri Mar 11 22:27:19 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * elf32-powerpc.c: Extensive changes to update to preliminary ABI.
+
+Fri Mar 11 00:34:59 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * sunos.c (sunos_read_dynamic_info):  Assume that dynamic info
+       is always located at the start of the data section to allow
+       recovery of the dynamic info from a stripped executable.
+       * ecoff.c (ecoff_styp_to_sec_flags):  Handle STYP_PDATA, STYP_XDATA
+       and STYP_COMMENT.
+
+Wed Mar  9 17:17:53 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * libbfd-in.h: Remove alloca cruft.  It was missing some necessary
+       cruft (like the #pragma alloca for AIX).
+       In addition to that problem, the C alloca calls xmalloc, which
+       means checking for being out of memory can't work right.  The
+       following changes remove all uses of alloca from BFD.
+       * hosts/solaris2.h: Remove alloca cruft.
+       * som.c: Replace alloca with a fixed size auto array.
+       * aoutx.h, elfcode.h, nlmcode.h, bout.c, coff-alpha.c, ecoff.c,
+       ecofflink.c, elf32-hppa.c, elf32-mips.c, linker.c, reloc.c, som.c,
+       sunos.c: Replace alloca with malloc and appropriate error checking and
+       freeing.
+       * linker.c: Replace alloca with obstack_alloc.
+       * libbfd.h: Rebuilt.
+
+Tue Mar  8 12:10:38 1994  Ian Lance Taylor  (ian@cygnus.com)
+
+       * coff-mips.c (mips_relocate_section): Handle MIPS_R_LITERAL like
+       MIPS_R_GPREL.
+
+Sat Mar  5 14:08:54 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * elf32-hppa.h, elfcode.h:  Replace uses of Elf*_Half, Elf*_Word,
+       Elf*_Off typedefs by their expansion, the typedefs have been
+       removed from include/elf/internal.h.
+       * elfcode.h (bfd_section_from_shdr):  Handle SHT_DYNAMIC section like
+       SHT_PROGBITS section.
+
+Thu Mar  3 20:03:39 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * som.h (_PA_RISC_ID): Treat HOST_HPPAOSF just like HOST_HPPABSD.
+
+Wed Mar  2 13:28:06 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
+
+       * configure.host: Recognize i[34]86-sequent-*.
+
+       * trad-core.c (trad_unix_core_file_p): A non-zero, not zero,
+       return from bfd_seek indicates an error.
+       New macro TRAD_CORE_DSIZE_INCLUDES_TSIZE to replace
+       TRAD_CORE_STACK_OFFSET.
+       * hosts/symmetry.h: Define TRAD_CORE_DSIZE_INCLUDES_TSIZE and
+       TRAD_CORE_USER_OFFSET but not HOST_STACK_OFFSET.
+
+Wed Mar  2 11:57:03 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * som.[ch]: Do not include libhppa.h in som.c, instead include
+       it in som.h.
+
+       * elf32-hppa.[ch]: Do not include libhppa.h in elf32-hppa.c, instead
+       include it in elf32-hppa.h.
+
+       * som.c (log2): Return -1 on error rather than aborting.
+       (setup_sections): Bubble up an error from log2.
+
+       * Changes to make HP C compiler happy in both traditional
+       and ANSI mode.
+       * som.c (hppa_som_gen_reloc_type): Use correct enum type for
+       field parameter.
+       (bfd_som_set_section_attributes): Use unsigned int rather than
+       unsigned char to avoid GNU-C extensions.
+       (bfd_som_attach_aux_hdr): Return a boolean to indicate success
+       or failure rather than aborting on failure.
+
+       * som.h (bfd_som_set_section_attributes): Fix prototype to match
+       som.c changes.
+       (bfd_som_attach_aux_hdr): Add prototype.
+       (hppa_som-gen_reloc_type): Likewise.
+
+       * elf32-hppa.c: Add a couple casts to make HP compiler happy.
+       (hppa_look_for_stubs_in_section): Do not return false on failure
+       until rest of code is ready to handle it.  Abort for now.
+
+Tue Mar  1 18:33:59 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
+
+       * bfd-in2.h: Rebuilt.
+
 Tue Mar  1 13:06:53 1994  Kung Hsu  (kung@mexican.cygnus.com)
 
+       * i386os9k.c: use new functions bfd_set_error and bfd_get_error.
+       * Makefile.in: delete an extra blank.
        * configure.in : Add i396os9k_vec.
 
 Mon Feb 28 15:41:01 1994  Kung Hsu  (kung@mexican.cygnus.com)
@@ -9,7 +235,6 @@ Mon Feb 28 15:41:01 1994  Kung Hsu  (kung@mexican.cygnus.com)
 
        * i386os9k.c : new file to handle os9k format bfd.
        * Makefile.in : Handle new file i386os9k.c
-       * bfd-in2.h : Add bfd_target_os9k_flavour.
        * targets.c : Add bfd_target_os9k_flavour and i386os9k_vec.
        * cache.c : Initialize cache_sentinel to 0.
 
@@ -194,8 +419,9 @@ Sat Feb 19 03:17:32 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
 
 Fri Feb 18 11:41:58 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
-       start-sanitize-powerpc-netware
+       start-sanitize-powerpc-netware
        Support for PowerPC NetWare.
+       * nlm32-powerpc.c: New file.
        * config.bfd (powerpc-*-netware*): New target; use ppc-nlm.
        * config/ppc-nlm.mt: New file.
        * configure.in (nlm32_powerpc_vec): New target vector; use