* bout.c, coff-a29k.c, coff-i960.c: Lint.
authorJohn Gilmore <gnu@cygnus>
Sun, 29 Mar 1992 18:45:43 +0000 (18:45 +0000)
committerJohn Gilmore <gnu@cygnus>
Sun, 29 Mar 1992 18:45:43 +0000 (18:45 +0000)
* configure.in:  Add new host and target configs.
* elf.c (bfd_prstatus, bfd_fpregset):  Avoid typename of register
structs, which vary; just use member name.
(elf_object_p, elf_core_file_p):  Lint, fix comments.
* config/sparc-elf.mt, hosts/sysv4.h:  New config files.

bfd/coff-a29k.c

index 4189c4ab27c8ed3744abfff40d5f6e6186782807..c5b79d95ddc6878f6c904653d95a707f8458cd49 100644 (file)
@@ -104,7 +104,7 @@ DEFUN(a29k_reloc,(abfd, reloc_entry, symbol_in, data, input_section),
        return(bfd_reloc_dangerous);
     }
 
-    insn = bfd_get_32(abfd, data + reloc_entry->address); 
+    insn = bfd_get_32(abfd, (bfd_byte *)data + reloc_entry->address); 
     sym_value = get_symbol_value(symbol_in);
 
     switch (r_type) 
@@ -194,7 +194,7 @@ DEFUN(a29k_reloc,(abfd, reloc_entry, symbol_in, data, input_section),
        return (bfd_reloc_dangerous);
     }
 
-    bfd_put_32(abfd, insn, data+reloc_entry->address);
+    bfd_put_32(abfd, insn, (bfd_byte *)data + reloc_entry->address);
     return(bfd_reloc_ok);      
 }