summaryrefslogtreecommitdiff
path: root/bfd/libxcoff.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-08-10 06:00:53 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-08-10 06:00:53 +0000
commita9d3ae86b1bd5bd0018c6a68adc6be7a55e5b1c2 (patch)
tree14b5aa47194f8198d4f92281789116faad4bc4dd /bfd/libxcoff.h
parent66d59e4761f1bd55c4292d3e581ad37f914ebdb9 (diff)
downloadgdb-a9d3ae86b1bd5bd0018c6a68adc6be7a55e5b1c2.tar.gz
* 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;