(trad_unix_bfd_is_local_label): Fixed typo where
[binutils-gdb.git] / bfd / ChangeLog
index dfaf3123528ef029001f6a91f65df99459693cc0..861ca5085b654e110387ae0a18a597f9de984e3e 100644 (file)
@@ -1,3 +1,171 @@
+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,
@@ -251,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