* ld.texinfo: Document that fill values now use the four least
[deliverable/binutils-gdb.git] / bfd / nlm32-alpha.c
index 24c8e51676284f638b2a6d5b3a4218959ec4cf88..2684ffbe6594e70713363fd18caadbef706b6601 100644 (file)
@@ -1,5 +1,5 @@
 /* Support for 32-bit Alpha NLM (NetWare Loadable Module)
 /* Support for 32-bit Alpha NLM (NetWare Loadable Module)
-   Copyright (C) 1993 Free Software Foundation, Inc.
+   Copyright 1993, 1994, 2000, 2001 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Cygnus Support.
 
 This file is part of BFD, the Binary File Descriptor library.
    Written by Ian Lance Taylor, Cygnus Support.
 
 This file is part of BFD, the Binary File Descriptor library.
@@ -603,11 +603,11 @@ nlm_alpha_read_reloc (abfd, sym, secp, rel)
 
 static boolean
 nlm_alpha_mangle_relocs (abfd, sec, data, offset, count)
 
 static boolean
 nlm_alpha_mangle_relocs (abfd, sec, data, offset, count)
-     bfd *abfd;
-     asection *sec;
-     PTR data;
-     bfd_vma offset;
-     bfd_size_type count;
+     bfd *abfd ATTRIBUTE_UNUSED;
+     asection *sec ATTRIBUTE_UNUSED;
+     PTR data ATTRIBUTE_UNUSED;
+     bfd_vma offset ATTRIBUTE_UNUSED;
+     bfd_size_type count ATTRIBUTE_UNUSED;
 {
   return true;
 }
 {
   return true;
 }
@@ -651,7 +651,7 @@ nlm_alpha_read_import (abfd, sym)
   while (sym -> rcnt < rcount)
     {
       asection *section;
   while (sym -> rcnt < rcount)
     {
       asection *section;
-      
+
       if (nlm_alpha_read_reloc (abfd, sym, &section,
                                &nlm_relocs -> reloc)
          == false)
       if (nlm_alpha_read_reloc (abfd, sym, &section,
                                &nlm_relocs -> reloc)
          == false)
@@ -807,7 +807,7 @@ nlm_alpha_set_public_section (abfd, sym)
 
 static bfd_vma
 nlm_alpha_get_public_offset (abfd, sym)
 
 static bfd_vma
 nlm_alpha_get_public_offset (abfd, sym)
-     bfd *abfd;
+     bfd *abfd ATTRIBUTE_UNUSED;
      asymbol *sym;
 {
   return bfd_asymbol_value (sym);
      asymbol *sym;
 {
   return bfd_asymbol_value (sym);
@@ -822,13 +822,13 @@ nlm_alpha_write_external (abfd, count, sym, relocs)
      asymbol *sym;
      struct reloc_and_sec *relocs;
 {
      asymbol *sym;
      struct reloc_and_sec *relocs;
 {
-  int i;
+  bfd_size_type i;
   bfd_byte len;
   unsigned char temp[NLM_TARGET_LONG_SIZE];
   arelent r;
 
   len = strlen (sym->name);
   bfd_byte len;
   unsigned char temp[NLM_TARGET_LONG_SIZE];
   arelent r;
 
   len = strlen (sym->name);
-  if ((bfd_write (&len, sizeof (bfd_byte), 1, abfd) != sizeof(bfd_byte))
+  if ((bfd_write (&len, sizeof (bfd_byte), 1, abfd) != sizeof (bfd_byte))
       || bfd_write (sym->name, len, 1, abfd) != len)
     return false;
 
       || bfd_write (sym->name, len, 1, abfd) != len)
     return false;
 
This page took 0.023583 seconds and 4 git commands to generate.