summaryrefslogtreecommitdiff
path: root/bfd/hpux-core.c
diff options
context:
space:
mode:
authorDave Anglin <dave.anglin@nrc.ca>2004-04-22 23:17:07 +0000
committerDave Anglin <dave.anglin@nrc.ca>2004-04-22 23:17:07 +0000
commit8cbf208b116076f3fae0d1ee799fa9f736076955 (patch)
tree516e6f715ad8514c5b3264448a8b94eaad1d7185 /bfd/hpux-core.c
parent839458943cadb531a2dbf6a61b86d723a9e86654 (diff)
downloadbinutils-redhat-8cbf208b116076f3fae0d1ee799fa9f736076955.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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/hpux-core.c b/bfd/hpux-core.c
index 30967c9fc3..d624ad5d70 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);