diff options
author | Alan Modra <amodra@bigpond.net.au> | 2005-02-20 14:59:07 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2005-02-20 14:59:07 +0000 |
commit | 81dad398aa2d8fd69f005bb3ff841200313e0b89 (patch) | |
tree | 3dda217db2e43a90b0e2f4e81e4af49b2eeaec47 /include | |
parent | a838e74a2ea7048ae18e36716b517747be1a0e95 (diff) | |
download | gdb-81dad398aa2d8fd69f005bb3ff841200313e0b89.tar.gz |
include/
* xtensa-isa-internal.h (xtensa_length_decode_fn): Warning fix.
* xtensa-isa.h (xtensa_insnbuf_to_chars): Likewise.
(xtensa_insnbuf_from_chars, xtensa_isa_length_from_chars): Likewise.
include/coff/
* xcoff.h (struct xcoff_loader_info): Warning fix.
bfd/
* bfd-in.h (bfd_elf_bfd_from_remote_memory): Warning fix.
* coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): Likewise.
* coff-rs6000.c (xcoff_write_armap_big): Warning fixes. Remove
useless assignments.
(xcoff_write_archive_contents_big): Likewise.
(_bfd_xcoff_put_ldsymbol_name): Likewise.
* coff64-rs6000.c (_bfd_xcoff64_put_ldsymbol_name): Likewise.
* coffgen.c (coff_write_symbols): Make "written" a bfd_vma.
* cofflink.c (process_embedded_commands): Warning fixes.
* cpu-arm.c: Delete unnecessary prototypes. Convert to C90.
Warning fixes.
* dwarf2.c: Warning fixes.
* elf-bfd.h: Likewise.
* elf-eh-frame.c: Likewise.
* elf-strtab.c: Likewise.
* elf.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-sh-symbian.c: Likewise.
* elf32-sh.c: Delete unnecessary prototypes. Warning fixes.
* elf64-sh64.c: Likewise.
* peicode.h: Likewise.
* elf64-mmix.c: Warning fixes.
* elfcode.h: Likewise.
* elfxx-mips.c: Likewise.
* libbfd-in.h: Likewise.
* libbfd.c: Likewise.
* mach-o.c: Likewise.
* merge.c: Likewise.
* mmo.c: Likewise.
* opncls.c: Likewise.
* pef.c: Likewise.
* srec.c: Likewise.
* vms-hdr.c: Likewise.
* vms-tir.c: Likewise.
* xtensa-isa.c: Likewise.
* xtensa-modules.c: Likewise.
* xsym.c: Likewise.
(pstrcmp): Use correct choice of string lengths. Fix return value.
(bfd_sym_module_name): Correct string length.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 6 | ||||
-rw-r--r-- | include/coff/ChangeLog | 4 | ||||
-rw-r--r-- | include/coff/xcoff.h | 4 | ||||
-rw-r--r-- | include/xtensa-isa-internal.h | 4 | ||||
-rw-r--r-- | include/xtensa-isa.h | 8 |
5 files changed, 18 insertions, 8 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 2d85bd3b3db..90e1d6f1f22 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,9 @@ +2005-02-21 Alan Modra <amodra@bigpond.net.au> + + * xtensa-isa-internal.h (xtensa_length_decode_fn): Warning fix. + * xtensa-isa.h (xtensa_insnbuf_to_chars): Likewise. + (xtensa_insnbuf_from_chars, xtensa_isa_length_from_chars): Likewise. + 2005-02-14 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/19818 diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog index 3d2c66d4e39..88cf310935f 100644 --- a/include/coff/ChangeLog +++ b/include/coff/ChangeLog @@ -1,3 +1,7 @@ +2005-02-21 Alan Modra <amodra@bigpond.net.au> + + * xcoff.h (struct xcoff_loader_info): Warning fix. + 2005-01-10 Inderpreet Singh <inderpreetb@noida.hcltech.com> * maxq.h (F_MAXQ10, F_MAXQ20): Define. diff --git a/include/coff/xcoff.h b/include/coff/xcoff.h index 64a9ee164ce..a70449eb7f3 100644 --- a/include/coff/xcoff.h +++ b/include/coff/xcoff.h @@ -1,6 +1,6 @@ /* Internal format of XCOFF object file data structures for BFD. - Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 + Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005 Free Software Foundation, Inc. Written by Ian Lance Taylor <ian@cygnus.com>, Cygnus Support. @@ -409,7 +409,7 @@ struct xcoff_loader_info size_t string_size; /* String table. */ - bfd_byte *strings; + char *strings; /* Allocated size of string table. */ size_t string_alc; diff --git a/include/xtensa-isa-internal.h b/include/xtensa-isa-internal.h index 44e53f95b30..7ec2b9e72ae 100644 --- a/include/xtensa-isa-internal.h +++ b/include/xtensa-isa-internal.h @@ -1,5 +1,5 @@ /* Internal definitions for configurable Xtensa ISA support. - Copyright 2003, 2004 Free Software Foundation, Inc. + Copyright 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -49,7 +49,7 @@ typedef int (*xtensa_do_reloc_fn) (uint32 *, uint32); typedef int (*xtensa_undo_reloc_fn) (uint32 *, uint32); typedef void (*xtensa_opcode_encode_fn) (xtensa_insnbuf); typedef int (*xtensa_format_decode_fn) (const xtensa_insnbuf); -typedef int (*xtensa_length_decode_fn) (const char *); +typedef int (*xtensa_length_decode_fn) (const unsigned char *); typedef struct xtensa_format_internal_struct { diff --git a/include/xtensa-isa.h b/include/xtensa-isa.h index 025e3175075..5c22902ee13 100644 --- a/include/xtensa-isa.h +++ b/include/xtensa-isa.h @@ -1,5 +1,5 @@ /* Interface definition for configurable Xtensa ISA support. - Copyright 2003, 2004 Free Software Foundation, Inc. + Copyright 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -209,11 +209,11 @@ xtensa_insnbuf_free (xtensa_isa isa, xtensa_insnbuf buf); extern int xtensa_insnbuf_to_chars (xtensa_isa isa, const xtensa_insnbuf insn, - char *cp, int num_chars); + unsigned char *cp, int num_chars); extern void xtensa_insnbuf_from_chars (xtensa_isa isa, xtensa_insnbuf insn, - const char *cp, int num_chars); + const unsigned char *cp, int num_chars); /* ISA information. */ @@ -242,7 +242,7 @@ xtensa_isa_maxlength (xtensa_isa isa); XTENSA_UNDEFINED on error. */ extern int -xtensa_isa_length_from_chars (xtensa_isa isa, const char *cp); +xtensa_isa_length_from_chars (xtensa_isa isa, const unsigned char *cp); /* Get the number of stages in the processor's pipeline. The pipeline |