Remove trailing spaces in ld
[binutils-gdb.git] / binutils / nlmconv.c
index ac411993608fc49dec5108b9cad1d9e3a7fc557c..751cf081c42ceefbf0ba17a20789e43fdbdb254f 100644 (file)
@@ -1058,7 +1058,7 @@ main (int argc, char **argv)
   {
     const int    max_len  = NLM_MODULE_NAME_SIZE - 2;
     const char * filename = lbasename (output_file);
-    
+
     len = strlen (filename);
     if (len > max_len)
       len = max_len;
@@ -1937,10 +1937,11 @@ powerpc_mangle_relocs (bfd *outbfd, asection *insec,
 
              if (rel->address > contents_size - 4)
                {
-                 non_fatal (_("Out of range relocation: %lx"), rel->address);
+                 non_fatal (_("Out of range relocation: %lx"),
+                            (long) rel->address);
                  break;
                }
-             
+
              assert (rel->howto->size == 2 && rel->howto->pcrel_offset);
              val = bfd_get_32 (outbfd, (bfd_byte *) contents + rel->address);
              val = ((val &~ rel->howto->dst_mask)
@@ -1992,10 +1993,11 @@ powerpc_mangle_relocs (bfd *outbfd, asection *insec,
            case 1:
              if (rel->address > contents_size - 2)
                {
-                 non_fatal (_("Out of range relocation: %lx"), rel->address);
+                 non_fatal (_("Out of range relocation: %lx"),
+                            (long) rel->address);
                  break;
                }
-                      
+
              val = bfd_get_16 (outbfd,
                                (bfd_byte *) contents + rel->address);
              val = ((val &~ rel->howto->dst_mask)
@@ -2014,10 +2016,11 @@ powerpc_mangle_relocs (bfd *outbfd, asection *insec,
              /* PR 17512: file: 0455a112.  */
              if (rel->address > contents_size - 4)
                {
-                 non_fatal (_("Out of range relocation: %lx"), rel->address);
+                 non_fatal (_("Out of range relocation: %lx"),
+                            (long) rel->address);
                  break;
                }
-                      
+
              val = bfd_get_32 (outbfd,
                                (bfd_byte *) contents + rel->address);
              val = ((val &~ rel->howto->dst_mask)