Updates.
[deliverable/binutils-gdb.git] / bfd / aout-adobe.c
index 80b11fedfebbde12bf97d3551a6afa37d2df6c12..8216c7ea5091640df1d034b218889b226ac504f3 100644 (file)
@@ -1,5 +1,6 @@
 /* BFD back-end for a.out.adobe binaries.
-   Copyright 1990, 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
+   Copyright 1990, 91, 92, 93, 94, 95, 96, 98, 1999
+   Free Software Foundation, Inc.
    Written by Cygnus Support.  Based on bout.c.
 
 This file is part of BFD, the Binary File Descriptor library.
@@ -112,8 +113,6 @@ aout_adobe_object_p (abfd)
      take just about any a.out file as an Adobe a.out file.  FIXME!  */
 
   if (N_BADMAG (anexec)) {
-    extern char *getenv ();
-
     targ = getenv ("GNUTARGET");
     if (targ && !strcmp (targ, a_out_adobe_vec.name))
       ;                /* Just continue anyway, if specifically set to this format */
@@ -181,7 +180,7 @@ aout_adobe_callback (abfd)
 
     default:
       (*_bfd_error_handler)
-       ("%s: Unknown section type in a.out.adobe file: %x\n"
+       (_("%s: Unknown section type in a.out.adobe file: %x\n")
         bfd_get_filename (abfd), ext->e_type[0]);
       goto no_more_sections;
     }
@@ -374,8 +373,8 @@ aout_adobe_write_object_contents (abfd)
 
 static void
 aout_adobe_write_section (abfd, sect)
-     bfd *abfd;
-     sec_ptr sect;
+     bfd *abfd ATTRIBUTE_UNUSED;
+     sec_ptr sect ATTRIBUTE_UNUSED;
 {
   /* FIXME XXX */
 }
@@ -452,8 +451,8 @@ aout_adobe_set_arch_mach (abfd, arch, machine)
 
 static int 
 aout_adobe_sizeof_headers (ignore_abfd, ignore)
-     bfd *ignore_abfd;
-     boolean ignore;
+     bfd *ignore_abfd ATTRIBUTE_UNUSED;
+     boolean ignore ATTRIBUTE_UNUSED;
 {
   return sizeof(struct internal_exec);
 }
@@ -480,6 +479,7 @@ aout_adobe_sizeof_headers (ignore_abfd, ignore)
   bfd_generic_get_relocated_section_contents
 #define aout_32_get_section_contents_in_window _bfd_generic_get_section_contents_in_window
 #define aout_32_bfd_relax_section       bfd_generic_relax_section
+#define aout_32_bfd_gc_sections         bfd_generic_gc_sections
 #define aout_32_bfd_link_hash_table_create \
   _bfd_generic_link_hash_table_create
 #define aout_32_bfd_link_add_symbols   _bfd_generic_link_add_symbols
@@ -490,8 +490,8 @@ const bfd_target a_out_adobe_vec =
 {
   "a.out.adobe",               /* name */
   bfd_target_aout_flavour,
-  true,                                /* data byte order is unknown (big assumed) */
-  true,                                /* hdr byte order is big */
+  BFD_ENDIAN_BIG,              /* data byte order is unknown (big assumed) */
+  BFD_ENDIAN_BIG,              /* hdr byte order is big */
   (HAS_RELOC | EXEC_P |                /* object flags */
    HAS_LINENO | HAS_DEBUG |
    HAS_SYMS | HAS_LOCALS | WP_TEXT ),
@@ -524,5 +524,7 @@ const bfd_target a_out_adobe_vec =
      BFD_JUMP_TABLE_LINK (aout_32),
      BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
 
+  NULL,
+  
   (PTR) 0
 };
This page took 0.024237 seconds and 4 git commands to generate.