aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-08-10 06:00:53 +0000
committerAlan Modra <amodra@gmail.com>2001-08-10 06:00:53 +0000
commit814fa6ab15c254570c9a4d34e4b24a1a8a72ad02 (patch)
treebb2c21909706a6b012c86ac43a2799674e3a2451 /bfd/libxcoff.h
parent * as.h (alloca): Don't declare if __GNUC__. Remove an old comment. (diff)
downloadbinutils-gdb-814fa6ab15c254570c9a4d34e4b24a1a8a72ad02.tar.gz
binutils-gdb-814fa6ab15c254570c9a4d34e4b24a1a8a72ad02.tar.bz2
binutils-gdb-814fa6ab15c254570c9a4d34e4b24a1a8a72ad02.zip
* libxcoff.h (struct xcoff_backend_data_rec): Constify src param
of _xcoff_swap_ld*. * coff-rs6000.c (xcoff_swap_ldhdr_in): Modify type of external param to agree with libxcoff.h. (xcoff_swap_ldhdr_out): Likewise. (xcoff_swap_ldsym_in): Likewise. (xcoff_swap_ldsym_out): Likewise. (xcoff_swap_ldrel_in): Likewise. (xcoff_swap_ldrel_out): Likewise. (xcoff_create_csect_from_smclas): Likewise. * coff64-rs6000.c: Add missing prototypes. (xcoff64_swap_ldhdr_in): Modify type of external param to agree with libxcoff.h. (xcoff64_swap_ldhdr_out): Likewise. (xcoff64_swap_ldsym_in): Likewise. (xcoff64_swap_ldsym_out): Likewise. (xcoff64_swap_ldrel_in): Likewise. (xcoff64_swap_ldrel_out): Likewise. (xcoff64_ppc_relocate_section): Make static. (xcoff64_slurp_armap): Likewise. (xcoff64_archive_p): Likewise. (xcoff64_openr_next_archived_file): Likewise. (xcoff64_sizeof_headers): Likewise. (xcoff64_is_lineno_count_overflow): Likewise. (xcoff64_is_reloc_count_overflow): Likewise. (xcoff64_loader_symbol_offset): Likewise. (xcoff64_loader_reloc_offset): Likewise. * elf64-gen.c: Add missing prototypes.
Diffstat (limited to 'bfd/libxcoff.h')
-rw-r--r--bfd/libxcoff.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/libxcoff.h b/bfd/libxcoff.h
index a755665f040..83a65924c64 100644
--- a/bfd/libxcoff.h
+++ b/bfd/libxcoff.h
@@ -42,12 +42,12 @@ struct xcoff_backend_data_rec
long _xcoff_machine;
/* function pointers to xcoff specific swap routines */
- void (* _xcoff_swap_ldhdr_in)(bfd *, PTR, struct internal_ldhdr *);
- void (* _xcoff_swap_ldhdr_out)(bfd *, struct internal_ldhdr *, PTR);
- void (* _xcoff_swap_ldsym_in)(bfd *, PTR, struct internal_ldsym *);
- void (* _xcoff_swap_ldsym_out)(bfd *, struct internal_ldsym *, PTR);
- void (* _xcoff_swap_ldrel_in)(bfd *, PTR, struct internal_ldrel *);
- void (* _xcoff_swap_ldrel_out)(bfd *, struct internal_ldrel *, PTR);
+ void (* _xcoff_swap_ldhdr_in)(bfd *, const PTR, struct internal_ldhdr *);
+ void (* _xcoff_swap_ldhdr_out)(bfd *, const struct internal_ldhdr *, PTR);
+ void (* _xcoff_swap_ldsym_in)(bfd *, const PTR, struct internal_ldsym *);
+ void (* _xcoff_swap_ldsym_out)(bfd *, const struct internal_ldsym *, PTR);
+ void (* _xcoff_swap_ldrel_in)(bfd *, const PTR, struct internal_ldrel *);
+ void (* _xcoff_swap_ldrel_out)(bfd *, const struct internal_ldrel *, PTR);
/* size of the the external struct */
unsigned int _xcoff_ldhdrsz;