summaryrefslogtreecommitdiffstats
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
commit5198ba8bd1b310bda10edea7143ead951c629cb3 (patch)
tree4d192611196cfcce75a8eb02730ab5c3ba85b272 /bfd/hpux-core.c
parent7339a42e03e6168e949e1a41755ab6698e2fa043 (diff)
downloadppe42-binutils-5198ba8bd1b310bda10edea7143ead951c629cb3.tar.gz
ppe42-binutils-5198ba8bd1b310bda10edea7143ead951c629cb3.zip
* 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);
OpenPOWER on IntegriCloud