forked from Imagelibrary/binutils-gdb
* hpux-core.c (hpux_core_core_file_p): Add cast in call to
make_bfd_asection. * som.c (som_set_section_contents): Constantify second argument. (hppa_som_gen_reloc_type): Abort for unsupported selectors. (som_object_setup): Rework to avoid warning. (setup_sections, som_write_fixups, bfd_section_from_som_symbol): Likewise.
This commit is contained in:
@@ -276,7 +276,8 @@ hpux_core_core_file_p (abfd)
|
||||
case CORE_ANON_SHMEM:
|
||||
if (!make_bfd_asection (abfd, ".data",
|
||||
SEC_ALLOC + SEC_LOAD + SEC_HAS_CONTENTS,
|
||||
core_header.len, core_header.addr, 2))
|
||||
core_header.len,
|
||||
(bfd_vma) core_header.addr, 2))
|
||||
goto fail;
|
||||
|
||||
bfd_seek (abfd, (file_ptr) core_header.len, SEEK_CUR);
|
||||
|
||||
Reference in New Issue
Block a user