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/libelf.h | |
parent | 6804bd6c4c2e426a095b6df75b158ebf53c26e0c (diff) | |
download | gdb-cf9fb9f2432620774e5d9b311ea54897f607e035.zip gdb-cf9fb9f2432620774e5d9b311ea54897f607e035.tar.gz 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/libelf.h')
-rw-r--r-- | bfd/libelf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/libelf.h b/bfd/libelf.h index 463619c..52a60ba 100644 --- a/bfd/libelf.h +++ b/bfd/libelf.h @@ -179,7 +179,7 @@ struct elf_size_info { int (*write_out_phdrs) PARAMS ((bfd *, Elf_Internal_Phdr *, int)); boolean (*write_shdrs_and_ehdr) PARAMS ((bfd *)); void (*write_relocs) PARAMS ((bfd *, asection *, PTR)); - void (*swap_symbol_out) PARAMS ((bfd *, Elf_Internal_Sym *, char *)); + void (*swap_symbol_out) PARAMS ((bfd *, Elf_Internal_Sym *, PTR)); boolean (*slurp_reloc_table) PARAMS ((bfd *, asection *, asymbol **)); long (*slurp_symbol_table) PARAMS ((bfd *, asymbol **, boolean)); }; @@ -643,7 +643,7 @@ extern boolean bfd_elf32_bfd_final_link extern void bfd_elf32_swap_symbol_in PARAMS ((bfd *, Elf32_External_Sym *, Elf_Internal_Sym *)); extern void bfd_elf32_swap_symbol_out - PARAMS ((bfd *, Elf_Internal_Sym *, char *)); + PARAMS ((bfd *, Elf_Internal_Sym *, PTR)); extern void bfd_elf32_swap_reloc_in PARAMS ((bfd *, Elf32_External_Rel *, Elf_Internal_Rel *)); extern void bfd_elf32_swap_reloc_out @@ -675,7 +675,7 @@ extern boolean bfd_elf64_bfd_final_link extern void bfd_elf64_swap_symbol_in PARAMS ((bfd *, Elf64_External_Sym *, Elf_Internal_Sym *)); extern void bfd_elf64_swap_symbol_out - PARAMS ((bfd *, Elf_Internal_Sym *, Elf64_External_Sym *)); + PARAMS ((bfd *, Elf_Internal_Sym *, PTR)); extern void bfd_elf64_swap_reloc_in PARAMS ((bfd *, Elf64_External_Rel *, Elf_Internal_Rel *)); extern void bfd_elf64_swap_reloc_out |