correct ft32 reloc range test
[deliverable/binutils-gdb.git] / bfd / nlm32-sparc.c
index 4a68fa2177a7738ee3e0b189246c2cd1d884301e..32ec5c48d82543c92826d97f386c1cdea8f0fed4 100644 (file)
@@ -1,5 +1,5 @@
 /* Support for 32-bit SPARC NLM (NetWare Loadable Module)
-   Copyright (C) 1993-2014 Free Software Foundation, Inc.
+   Copyright (C) 1993-2018 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -49,7 +49,7 @@ enum reloc_type
 
 static reloc_howto_type nlm32_sparc_howto_table[] =
 {
-  HOWTO (R_SPARC_NONE,    0,0, 0,FALSE,0,complain_overflow_dont,    0,"R_SPARC_NONE",    FALSE,0,0x00000000,TRUE),
+  HOWTO (R_SPARC_NONE,    0,3, 0,FALSE,0,complain_overflow_dont,    0,"R_SPARC_NONE",    FALSE,0,0x00000000,TRUE),
   HOWTO (R_SPARC_8,       0,0, 8,FALSE,0,complain_overflow_bitfield,0,"R_SPARC_8",       FALSE,0,0x000000ff,TRUE),
   HOWTO (R_SPARC_16,      0,1,16,FALSE,0,complain_overflow_bitfield,0,"R_SPARC_16",      FALSE,0,0x0000ffff,TRUE),
   HOWTO (R_SPARC_32,      0,2,32,FALSE,0,complain_overflow_bitfield,0,"R_SPARC_32",      FALSE,0,0xffffffff,TRUE),
@@ -163,9 +163,9 @@ nlm_sparc_write_reloc (bfd * abfd, asection * sec, arelent * rel)
 
   /* Netware wants a list of relocs for each address.
      Format is:
-       long    offset
-       long    addend
-       char    type
+       long    offset
+       long    addend
+       char    type
      That should be it.  */
 
   /* The value we write out is the offset into the appropriate
This page took 0.02394 seconds and 4 git commands to generate.