* bout.c, coff-a29k.c, coff-i960.c: Lint.
* 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.
This commit is contained in:
parent
d4acec2c22
commit
c86190dd2a
@ -104,7 +104,7 @@ DEFUN(a29k_reloc,(abfd, reloc_entry, symbol_in, data, input_section),
|
|||||||
return(bfd_reloc_dangerous);
|
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);
|
sym_value = get_symbol_value(symbol_in);
|
||||||
|
|
||||||
switch (r_type)
|
switch (r_type)
|
||||||
@ -194,7 +194,7 @@ DEFUN(a29k_reloc,(abfd, reloc_entry, symbol_in, data, input_section),
|
|||||||
return (bfd_reloc_dangerous);
|
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);
|
return(bfd_reloc_ok);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user