diff options
author | Dave Anglin <dave.anglin@nrc.ca> | 2004-04-22 23:17:07 +0000 |
---|---|---|
committer | Dave Anglin <dave.anglin@nrc.ca> | 2004-04-22 23:17:07 +0000 |
commit | 5198ba8bd1b310bda10edea7143ead951c629cb3 (patch) | |
tree | 4d192611196cfcce75a8eb02730ab5c3ba85b272 /bfd/hpux-core.c | |
parent | 7339a42e03e6168e949e1a41755ab6698e2fa043 (diff) | |
download | binutils-gdb-5198ba8bd1b310bda10edea7143ead951c629cb3.tar.gz |
* 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.
Diffstat (limited to 'bfd/hpux-core.c')
-rw-r--r-- | bfd/hpux-core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/hpux-core.c b/bfd/hpux-core.c index 30967c9fc30..d624ad5d704 100644 --- a/bfd/hpux-core.c +++ b/bfd/hpux-core.c @@ -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); |