aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorJim Wilson <wilson@tuliptree.org>2000-12-12 22:56:36 +0000
committerJim Wilson <wilson@tuliptree.org>2000-12-12 22:56:36 +0000
commit514829c3af7d26ac20b0f3993f449624d965bb18 (patch)
tree49b43efb38d99cfd20cfba953dcf3bc985a68545 /bfd
parent3a71aec8b4c34df68c74c4869c47a109ca7bcfb6 (diff)
downloadfsf-binutils-gdb-514829c3af7d26ac20b0f3993f449624d965bb18.zip
fsf-binutils-gdb-514829c3af7d26ac20b0f3993f449624d965bb18.tar.gz
fsf-binutils-gdb-514829c3af7d26ac20b0f3993f449624d965bb18.tar.bz2
Eliminate ia64 compiler warnings. Fix ia64 gas testsuite again.
* elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *. * config/tc-ia64.h (ia64_init): Add prototype. * gas/ia64/dv-imply.d, gas/ia64/dv-mutex.d, gas/ia64/dv-safe.d, gas/ia64/dv-srlz.d, gas/ia64/opc-m.d: Update. * ia64-dis.c (print_insn_ia64): Cast away const on ia64_free_opcode argument. * ia64_gen.c (insert_deplist): Cast sizeof result to int. (print_dependency_table): Print NULL if semantics field not set. (insert_opcode_dependencies): Mark cmp parameter as unused. (print_main_table): Use fprintf_vma to print long long fields. (main): Mark argv paramter as unused. Convert to old style definition. * ia64-opc.c (ia64_find_dependency): Cast sizeof result to int. * ia64-asmtab.c: Regnerate.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elfxx-ia64.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ed0fb41..d747462 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2000-12-12 Jim Wilson <wilson@redhat.com>
+
+ * elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *.
+
2000-12-08 Mark Salter <msalter@redhat.com>
* binary.c (binary_set_section_contents): Ignore sections
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index 5f93287..56087a6 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -1504,7 +1504,7 @@ get_dyn_sym_info (ia64_info, h, abfd, rel, create)
len += 10; /* %p slop */
addr_name = alloca (len);
- sprintf (addr_name, "%p:%lx", abfd, ELFNN_R_SYM (rel->r_info));
+ sprintf (addr_name, "%p:%lx", (void *) abfd, ELFNN_R_SYM (rel->r_info));
/* Collect the canonical entry data for this address. */
loc_h = elfNN_ia64_local_hash_lookup (&ia64_info->loc_hash_table,