+Wed Jan 3 15:11:30 1996 Ian Lance Taylor <ian@cygnus.com>
+
+ * coffcode.h (coff_write_object_contents): If we don't know the
+ section of the entry point for an XCOFF executable, always set the
+ entry address to -1.
+
Tue Jan 2 14:17:15 1996 Michael Meissner <meissner@tiktok.cygnus.com>
* elf.c (bfd_section_from_shdr): Add support for note sections.
Tue Jan 2 13:10:25 1996 Ian Lance Taylor <ian@cygnus.com>
+ * bfd-in.h (struct _symbol_info): Add stab_type field.
+ * bfd-in2.h: Rebuild.
+ * aoutx.h (NAME(aout,get_symbol_info)): Set stab_type.
+
* elf32-ppc.c: Remove trailing newline from calls to
_bfd_error_handler.
(ppc_elf_merge_private_bfd_data): Only warn about endianness
/* Support for the generic parts of most COFF variants, for BFD.
- Copyright 1990, 91, 92, 93, 94, 1995 Free Software Foundation, Inc.
+ Copyright 1990, 91, 92, 93, 94, 95, 1996 Free Software Foundation, Inc.
Written by Cygnus Support.
This file is part of BFD, the Binary File Descriptor library.
#ifdef SH_ARCH_MAGIC_BIG
case bfd_arch_sh:
- if (abfd->xvec->byteorder_big_p)
+ if (bfd_big_endian (abfd))
*magicp = SH_ARCH_MAGIC_BIG;
else
*magicp = SH_ARCH_MAGIC_LITTLE;
#endif
#ifdef A29K_MAGIC_BIG
case bfd_arch_a29k:
- if (abfd->xvec->byteorder_big_p)
+ if (bfd_big_endian (abfd))
*magicp = A29K_MAGIC_BIG;
else
*magicp = A29K_MAGIC_LITTLE;
internal_f.f_flags |= F_EXEC;
/* FIXME: this is wrong for PPC_PE! */
- if (!abfd->xvec->byteorder_big_p)
+ if (bfd_little_endian (abfd))
internal_f.f_flags |= F_AR32WR;
else
internal_f.f_flags |= F_AR32W;
else
{
internal_a.o_snentry = 0;
- if (internal_a.entry == 0)
- internal_a.entry = (bfd_vma) -1;
+ internal_a.entry = (bfd_vma) -1;
}
if (text_sec != NULL)