aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-07-11 19:24:46 +0000
committerIan Lance Taylor <ian@airs.com>1995-07-11 19:24:46 +0000
commitcf9fb9f2432620774e5d9b311ea54897f607e035 (patch)
treeafaa1a25b56710160e72ed8cd4f3de8cbade6607 /bfd/elf.c
parent6804bd6c4c2e426a095b6df75b158ebf53c26e0c (diff)
downloadfsf-binutils-gdb-cf9fb9f2432620774e5d9b311ea54897f607e035.zip
fsf-binutils-gdb-cf9fb9f2432620774e5d9b311ea54897f607e035.tar.gz
fsf-binutils-gdb-cf9fb9f2432620774e5d9b311ea54897f607e035.tar.bz2
* libelf.h (struct elf_size_info): Change type of last argument to
swap_symbol_out from char * to PTR. (bfd_elf32_swap_symbol_out): Update declaration. (bfd_elf64_swap_symbol_out): Likewise. * elfcode.h (elf_swap_symbol_out): Change type of cdst from char * to PTR. * elf.c (swap_out_syms): Cast to PTR, not char *, when calling swap_symbol_out routine. * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Likewise. (elf_link_output_sym): Likewise. (elf_link_output_extsym): Likewise. * elf32-sparc.c (elf32_sparc_finish_dynamic_sections): Likewise.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index b49d9a3..f36d490 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -2323,7 +2323,7 @@ swap_out_syms (abfd, sttp)
sym.st_info = 0;
sym.st_other = 0;
sym.st_shndx = SHN_UNDEF;
- bed->s->swap_symbol_out (abfd, &sym, outbound_syms);
+ bed->s->swap_symbol_out (abfd, &sym, (PTR) outbound_syms);
outbound_syms += bed->s->sizeof_sym;
}
for (idx = 0; idx < symcount; idx++)
@@ -2423,7 +2423,7 @@ swap_out_syms (abfd, sttp)
}
sym.st_other = 0;
- bed->s->swap_symbol_out (abfd, &sym, outbound_syms);
+ bed->s->swap_symbol_out (abfd, &sym, (PTR) outbound_syms);
outbound_syms += bed->s->sizeof_sym;
}