]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/i386os9k.c
import gdb-1999-08-09 snapshot
[thirdparty/binutils-gdb.git] / bfd / i386os9k.c
index e0d1dd588073408cf134b119b56408f7a036bb5f..0aadee52d73d4f590ce3a49192f839cd2394a650 100644 (file)
@@ -1,5 +1,5 @@
 /* BFD back-end for os9000 i386 binaries.
-   Copyright 1990, 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
+   Copyright 1990, 91, 92, 93, 94, 95, 98, 1999 Free Software Foundation, Inc.
    Written by Cygnus Support.
 
 This file is part of BFD, the Binary File Descriptor library.
@@ -305,8 +305,8 @@ os9k_set_section_contents (abfd, section, location, offset, count)
 
 static int
 os9k_sizeof_headers (ignore_abfd, ignore)
-     bfd *ignore_abfd;
-     boolean ignore;
+     bfd *ignore_abfd ATTRIBUTE_UNUSED;
+     boolean ignore ATTRIBUTE_UNUSED;
 {
   return sizeof (struct internal_exec);
 }
@@ -326,6 +326,7 @@ os9k_sizeof_headers (ignore_abfd, ignore)
 #define os9k_bfd_get_relocated_section_contents \
   bfd_generic_get_relocated_section_contents
 #define os9k_bfd_relax_section bfd_generic_relax_section
+#define os9k_bfd_gc_sections bfd_generic_gc_sections
 #define os9k_bfd_link_hash_table_create _bfd_generic_link_hash_table_create
 #define os9k_bfd_link_add_symbols _bfd_generic_link_add_symbols
 #define os9k_bfd_final_link _bfd_generic_final_link
@@ -335,8 +336,8 @@ const bfd_target i386os9k_vec =
 {
   "i386os9k",                  /* name */
   bfd_target_os9k_flavour,
-  false,                       /* data byte order is little */
-  false,                       /* hdr byte order is big */
+  BFD_ENDIAN_LITTLE,           /* data byte order is little */
+  BFD_ENDIAN_LITTLE,           /* hdr byte order is little */
   (HAS_RELOC | EXEC_P | WP_TEXT),      /* object flags */
   (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD),   /* section flags */
   0,                           /* symbol leading char */
@@ -366,5 +367,7 @@ const bfd_target i386os9k_vec =
      BFD_JUMP_TABLE_LINK (os9k),
      BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
 
+  NULL,
+  
   (PTR) 0,
 };