Add a flag to asection, linker_has_input, and use it to reliably
[deliverable/binutils-gdb.git] / bfd / libnlm.h
index cf6885dd5a793850276bbd6d59a4b60bc1b6764e..00c89058b21c971220f0a8a8d9dfbd2d4898ca93 100644 (file)
@@ -1,5 +1,5 @@
 /* BFD back-end data structures for NLM (NetWare Loadable Modules) files.
 /* BFD back-end data structures for NLM (NetWare Loadable Modules) files.
-   Copyright (C) 1993 Free Software Foundation, Inc.
+   Copyright 1993, 1994 Free Software Foundation, Inc.
    Written by Cygnus Support.
 
 This file is part of BFD, the Binary File Descriptor library.
    Written by Cygnus Support.
 
 This file is part of BFD, the Binary File Descriptor library.
@@ -16,7 +16,7 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 #ifndef _LIBNLM_H_
 #define _LIBNLM_H_ 1
 
 #ifndef _LIBNLM_H_
 #define _LIBNLM_H_ 1
@@ -70,7 +70,7 @@ extern long nlmNAME(get_reloc_upper_bound)
      PARAMS ((bfd *, asection *));
 extern long nlmNAME(canonicalize_reloc)
      PARAMS ((bfd *, asection *, arelent **, asymbol **));
      PARAMS ((bfd *, asection *));
 extern long nlmNAME(canonicalize_reloc)
      PARAMS ((bfd *, asection *, arelent **, asymbol **));
-extern bfd_target *nlmNAME(object_p)
+extern const bfd_target *nlmNAME(object_p)
      PARAMS ((bfd *));
 extern boolean nlmNAME(set_arch_mach)
      PARAMS ((bfd *, enum bfd_architecture, unsigned long));
      PARAMS ((bfd *));
 extern boolean nlmNAME(set_arch_mach)
      PARAMS ((bfd *, enum bfd_architecture, unsigned long));
@@ -91,6 +91,7 @@ struct nlm_obj_tdata
   Nlm_Internal_Copyright_Header        nlm_copyright_hdr[1];
   Nlm_Internal_Extended_Header nlm_extended_hdr[1];
   Nlm_Internal_Custom_Header   nlm_custom_hdr[1];
   Nlm_Internal_Copyright_Header        nlm_copyright_hdr[1];
   Nlm_Internal_Extended_Header nlm_extended_hdr[1];
   Nlm_Internal_Custom_Header   nlm_custom_hdr[1];
+  Nlm_Internal_Cygnus_Ext_Header nlm_cygnus_ext_hdr[1];
   /* BFD NLM symbols.  */
   nlmNAME(symbol_type)         *nlm_symbols;
   /* Lowest text and data VMA values.  */
   /* BFD NLM symbols.  */
   nlmNAME(symbol_type)         *nlm_symbols;
   /* Lowest text and data VMA values.  */
@@ -122,6 +123,7 @@ struct nlm_obj_tdata
 #define nlm_copyright_header(bfd)      (nlm_tdata(bfd) -> nlm_copyright_hdr)
 #define nlm_extended_header(bfd)       (nlm_tdata(bfd) -> nlm_extended_hdr)
 #define nlm_custom_header(bfd)         (nlm_tdata(bfd) -> nlm_custom_hdr)
 #define nlm_copyright_header(bfd)      (nlm_tdata(bfd) -> nlm_copyright_hdr)
 #define nlm_extended_header(bfd)       (nlm_tdata(bfd) -> nlm_extended_hdr)
 #define nlm_custom_header(bfd)         (nlm_tdata(bfd) -> nlm_custom_hdr)
+#define nlm_cygnus_ext_header(bfd)     (nlm_tdata(bfd) -> nlm_cygnus_ext_hdr)
 #define nlm_get_symbols(bfd)           (nlm_tdata(bfd) -> nlm_symbols)
 #define nlm_set_symbols(bfd, p)                (nlm_tdata(bfd) -> nlm_symbols = (p))
 #define nlm_set_text_low(bfd, i)       (nlm_tdata(bfd) -> nlm_text_low = (i))
 #define nlm_get_symbols(bfd)           (nlm_tdata(bfd) -> nlm_symbols)
 #define nlm_set_symbols(bfd, p)                (nlm_tdata(bfd) -> nlm_symbols = (p))
 #define nlm_set_text_low(bfd, i)       (nlm_tdata(bfd) -> nlm_text_low = (i))
This page took 0.023144 seconds and 4 git commands to generate.