* bfd-in.h (bfd_get{b,l}[_signed_]{16,32,64}): Declare argument to
be a const pointer. * bfd-in2.h: Rebuilt. * libbfd.c (bfd_get{b,l}[_signed_]{16,32,64}): Declare argument to be a const pointer. * targets.c (bfd_target): Change swap function pointers accordingly. * archive.c (do_slurp_coff_armap): Change swap accordingly. * aix386-core.c: Change NO_GET and NO_GETS accordingly. * hppabsd-core.c, hpux-core.c, irix-core.c, osf-core.c, ptrace-core.c, trad-core.c: Change NO_GET and NO_SIGNED_GET accordingly.
This commit is contained in:
parent
e7c4e61cc9
commit
1a973af1cf
2 changed files with 36 additions and 36 deletions
24
bfd/bfd-in.h
24
bfd/bfd-in.h
|
@ -515,18 +515,18 @@ CAT(NAME,_bfd_final_link)
|
|||
|
||||
/* Byte swapping routines. */
|
||||
|
||||
bfd_vma bfd_getb64 PARAMS ((unsigned char *));
|
||||
bfd_vma bfd_getl64 PARAMS ((unsigned char *));
|
||||
bfd_signed_vma bfd_getb_signed_64 PARAMS ((unsigned char *));
|
||||
bfd_signed_vma bfd_getl_signed_64 PARAMS ((unsigned char *));
|
||||
bfd_vma bfd_getb32 PARAMS ((unsigned char *));
|
||||
bfd_vma bfd_getl32 PARAMS ((unsigned char *));
|
||||
bfd_signed_vma bfd_getb_signed_32 PARAMS ((unsigned char *));
|
||||
bfd_signed_vma bfd_getl_signed_32 PARAMS ((unsigned char *));
|
||||
bfd_vma bfd_getb16 PARAMS ((unsigned char *));
|
||||
bfd_vma bfd_getl16 PARAMS ((unsigned char *));
|
||||
bfd_signed_vma bfd_getb_signed_16 PARAMS ((unsigned char *));
|
||||
bfd_signed_vma bfd_getl_signed_16 PARAMS ((unsigned char *));
|
||||
bfd_vma bfd_getb64 PARAMS ((const unsigned char *));
|
||||
bfd_vma bfd_getl64 PARAMS ((const unsigned char *));
|
||||
bfd_signed_vma bfd_getb_signed_64 PARAMS ((const unsigned char *));
|
||||
bfd_signed_vma bfd_getl_signed_64 PARAMS ((const unsigned char *));
|
||||
bfd_vma bfd_getb32 PARAMS ((const unsigned char *));
|
||||
bfd_vma bfd_getl32 PARAMS ((const unsigned char *));
|
||||
bfd_signed_vma bfd_getb_signed_32 PARAMS ((const unsigned char *));
|
||||
bfd_signed_vma bfd_getl_signed_32 PARAMS ((const unsigned char *));
|
||||
bfd_vma bfd_getb16 PARAMS ((const unsigned char *));
|
||||
bfd_vma bfd_getl16 PARAMS ((const unsigned char *));
|
||||
bfd_signed_vma bfd_getb_signed_16 PARAMS ((const unsigned char *));
|
||||
bfd_signed_vma bfd_getl_signed_16 PARAMS ((const unsigned char *));
|
||||
void bfd_putb64 PARAMS ((bfd_vma, unsigned char *));
|
||||
void bfd_putl64 PARAMS ((bfd_vma, unsigned char *));
|
||||
void bfd_putb32 PARAMS ((bfd_vma, unsigned char *));
|
||||
|
|
|
@ -515,18 +515,18 @@ CAT(NAME,_bfd_final_link)
|
|||
|
||||
/* Byte swapping routines. */
|
||||
|
||||
bfd_vma bfd_getb64 PARAMS ((unsigned char *));
|
||||
bfd_vma bfd_getl64 PARAMS ((unsigned char *));
|
||||
bfd_signed_vma bfd_getb_signed_64 PARAMS ((unsigned char *));
|
||||
bfd_signed_vma bfd_getl_signed_64 PARAMS ((unsigned char *));
|
||||
bfd_vma bfd_getb32 PARAMS ((unsigned char *));
|
||||
bfd_vma bfd_getl32 PARAMS ((unsigned char *));
|
||||
bfd_signed_vma bfd_getb_signed_32 PARAMS ((unsigned char *));
|
||||
bfd_signed_vma bfd_getl_signed_32 PARAMS ((unsigned char *));
|
||||
bfd_vma bfd_getb16 PARAMS ((unsigned char *));
|
||||
bfd_vma bfd_getl16 PARAMS ((unsigned char *));
|
||||
bfd_signed_vma bfd_getb_signed_16 PARAMS ((unsigned char *));
|
||||
bfd_signed_vma bfd_getl_signed_16 PARAMS ((unsigned char *));
|
||||
bfd_vma bfd_getb64 PARAMS ((const unsigned char *));
|
||||
bfd_vma bfd_getl64 PARAMS ((const unsigned char *));
|
||||
bfd_signed_vma bfd_getb_signed_64 PARAMS ((const unsigned char *));
|
||||
bfd_signed_vma bfd_getl_signed_64 PARAMS ((const unsigned char *));
|
||||
bfd_vma bfd_getb32 PARAMS ((const unsigned char *));
|
||||
bfd_vma bfd_getl32 PARAMS ((const unsigned char *));
|
||||
bfd_signed_vma bfd_getb_signed_32 PARAMS ((const unsigned char *));
|
||||
bfd_signed_vma bfd_getl_signed_32 PARAMS ((const unsigned char *));
|
||||
bfd_vma bfd_getb16 PARAMS ((const unsigned char *));
|
||||
bfd_vma bfd_getl16 PARAMS ((const unsigned char *));
|
||||
bfd_signed_vma bfd_getb_signed_16 PARAMS ((const unsigned char *));
|
||||
bfd_signed_vma bfd_getl_signed_16 PARAMS ((const unsigned char *));
|
||||
void bfd_putb64 PARAMS ((bfd_vma, unsigned char *));
|
||||
void bfd_putl64 PARAMS ((bfd_vma, unsigned char *));
|
||||
void bfd_putb32 PARAMS ((bfd_vma, unsigned char *));
|
||||
|
@ -1869,23 +1869,23 @@ typedef struct bfd_target
|
|||
char ar_pad_char;
|
||||
unsigned short ar_max_namelen;
|
||||
unsigned int align_power_min;
|
||||
bfd_vma (*bfd_getx64) PARAMS ((bfd_byte *));
|
||||
bfd_signed_vma (*bfd_getx_signed_64) PARAMS ((bfd_byte *));
|
||||
bfd_vma (*bfd_getx64) PARAMS ((const bfd_byte *));
|
||||
bfd_signed_vma (*bfd_getx_signed_64) PARAMS ((const bfd_byte *));
|
||||
void (*bfd_putx64) PARAMS ((bfd_vma, bfd_byte *));
|
||||
bfd_vma (*bfd_getx32) PARAMS ((bfd_byte *));
|
||||
bfd_signed_vma (*bfd_getx_signed_32) PARAMS ((bfd_byte *));
|
||||
bfd_vma (*bfd_getx32) PARAMS ((const bfd_byte *));
|
||||
bfd_signed_vma (*bfd_getx_signed_32) PARAMS ((const bfd_byte *));
|
||||
void (*bfd_putx32) PARAMS ((bfd_vma, bfd_byte *));
|
||||
bfd_vma (*bfd_getx16) PARAMS ((bfd_byte *));
|
||||
bfd_signed_vma (*bfd_getx_signed_16) PARAMS ((bfd_byte *));
|
||||
bfd_vma (*bfd_getx16) PARAMS ((const bfd_byte *));
|
||||
bfd_signed_vma (*bfd_getx_signed_16) PARAMS ((const bfd_byte *));
|
||||
void (*bfd_putx16) PARAMS ((bfd_vma, bfd_byte *));
|
||||
bfd_vma (*bfd_h_getx64) PARAMS ((bfd_byte *));
|
||||
bfd_signed_vma (*bfd_h_getx_signed_64) PARAMS ((bfd_byte *));
|
||||
bfd_vma (*bfd_h_getx64) PARAMS ((const bfd_byte *));
|
||||
bfd_signed_vma (*bfd_h_getx_signed_64) PARAMS ((const bfd_byte *));
|
||||
void (*bfd_h_putx64) PARAMS ((bfd_vma, bfd_byte *));
|
||||
bfd_vma (*bfd_h_getx32) PARAMS ((bfd_byte *));
|
||||
bfd_signed_vma (*bfd_h_getx_signed_32) PARAMS ((bfd_byte *));
|
||||
bfd_vma (*bfd_h_getx32) PARAMS ((const bfd_byte *));
|
||||
bfd_signed_vma (*bfd_h_getx_signed_32) PARAMS ((const bfd_byte *));
|
||||
void (*bfd_h_putx32) PARAMS ((bfd_vma, bfd_byte *));
|
||||
bfd_vma (*bfd_h_getx16) PARAMS ((bfd_byte *));
|
||||
bfd_signed_vma (*bfd_h_getx_signed_16) PARAMS ((bfd_byte *));
|
||||
bfd_vma (*bfd_h_getx16) PARAMS ((const bfd_byte *));
|
||||
bfd_signed_vma (*bfd_h_getx_signed_16) PARAMS ((const bfd_byte *));
|
||||
void (*bfd_h_putx16) PARAMS ((bfd_vma, bfd_byte *));
|
||||
struct bfd_target * (*_bfd_check_format[bfd_type_end]) PARAMS ((bfd *));
|
||||
boolean (*_bfd_set_format[bfd_type_end]) PARAMS ((bfd *));
|
||||
|
|
Loading…
Reference in a new issue