diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-07-11 19:24:46 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-07-11 19:24:46 +0000 |
commit | cf9fb9f2432620774e5d9b311ea54897f607e035 (patch) | |
tree | afaa1a25b56710160e72ed8cd4f3de8cbade6607 /bfd/elf.c | |
parent | 6804bd6c4c2e426a095b6df75b158ebf53c26e0c (diff) | |
download | fsf-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |