diff options
author | Joel Brobecker <brobecker@gnat.com> | 2005-03-29 04:19:34 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2005-03-29 04:19:34 +0000 |
commit | ec6803eda98629d7439e205f37c70fefe2c3128e (patch) | |
tree | 4fc317a776f36be6be5ee00c86afebe7ef0f0506 /bfd/irix-core.c | |
parent | 132915486189dce7479f4c837900748c532e2560 (diff) | |
download | binutils-redhat-ec6803eda98629d7439e205f37c70fefe2c3128e.tar.gz |
* irix-core.c (do_sections): Replace + by | in expression.
(irix_core_core_file_matches_executable_p): Add ATTRIBUTE_UNUSED
to unused parameters to avoid a compiler warning.
Diffstat (limited to 'bfd/irix-core.c')
-rw-r--r-- | bfd/irix-core.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/irix-core.c b/bfd/irix-core.c index 740907b86e..c7e1268dd9 100644 --- a/bfd/irix-core.c +++ b/bfd/irix-core.c @@ -152,7 +152,7 @@ do_sections (abfd, coreout) continue; if (!make_bfd_asection (abfd, secname, - SEC_ALLOC | SEC_LOAD+SEC_HAS_CONTENTS, + SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS, vmap.v_len, vmap.v_vaddr, vmap.v_offset)) /* Fail. */ return 0; @@ -288,7 +288,8 @@ irix_core_core_file_failing_signal (abfd) static bfd_boolean irix_core_core_file_matches_executable_p (core_bfd, exec_bfd) - bfd *core_bfd, *exec_bfd; + bfd *core_bfd ATTRIBUTE_UNUSED; + bfd *exec_bfd ATTRIBUTE_UNUSED; { return TRUE; /* XXX - FIXME */ } |