* bfd-in.h (bfd_int64_t, bfd_uint64_t): New types.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 8ef2e23efe27c8d834b1be0d92e974472e9f8a31..15d2758a2c59d1fc24372ab2e3c74d69a2688db9 100644 (file)
@@ -1,3 +1,84 @@
+2004-03-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfd-in.h (bfd_int64_t, bfd_uint64_t): New types.
+       (BFD_HOST_64_BIT, BFD_HOST_U_64_BIT): Don't define here.
+       (bfd_getb64, bfd_getl64, bfd_get_bits): Return bfd_uint64_t.
+       (bfd_getb_signed_64, bfd_getl_signed_64): Return bfd_int64_t.
+       (bfd_putb64, bfd_putl64, bfd_put_bits): Accept bfd_uint64_t.
+       * configure.in (HOST_U_64BIT_TYPE): Set when sizeof long is 8.
+       (BFD_HOST_64_BIT_DEFINED, BFD_HOST_64_BIT, BFD_HOST_U_64_BIT): Set
+       when using long.
+       * libbfd.c (EIGHT_GAZILLION, COERCE64): Use bfd_int64_t.
+       (bfd_getb64): Return bfd_uint64_t.  Enable when BFD_HOST_64_BIT.
+       (bfd_getl64, bfd_getb_signed_64, bfd_getl_signed_64): Likewise.
+       (bfd_putb64): Accept bfd_uint64_t.  Enable when BFD_HOST_64_BIT.
+       (bfd_putl64, bfd_put_bits, bfd_get_bits): Likewise.
+       * dwarf2.c (struct attribute): Use bfd_int64_t and bfd_uint64_t.
+       (read_8_bytes, read_indirect_string, read_address): Likewise.
+       (read_abbrevs, parse_comp_unit): Likewise.
+       * targets.c (struct bfd_target): Likewise.
+       * aix386-core.c (NO_GET64, NO_PUT64, NO_GETS64): Define and use.
+       * hppabsd-core.c: Likewise.  Formatting.
+       * hpux-core.c: Likewise.
+       * irix-core.c: Likewise.
+       * netbsd-core.c: Likewise.
+       * osf-core.c: Likewise.
+       * ptrace-core.c: Likewise.
+       * sco5-core.c: Likewise.
+       * trad-core.c: Likewise.
+       * configure: Regenerate.
+       * bfd-in2.h: Regenerate.
+
+2004-03-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfd-in.h (bfd_getb64, bfd_getl64): Replace bfd_byte* with void*.
+       (bfd_getb32, bfd_getl32, bfd_getb16, bfd_getl16): Likewise.
+       (bfd_getb_signed_64, bfd_getl_signed_64): Likewise.
+       (bfd_getb_signed_32, bfd_getl_signed_32): Likewise.
+       (bfd_getb_signed_16, bfd_getl_signed_16): Likewise.
+       (bfd_putb64, bfd_putl64, bfd_putb32, bfd_putl32): Likewise.
+       (bfd_putb16, bfd_putl16, bfd_get_bits, bfd_put_bits): Likewise.
+       * libbfd.c: Likewise in function definitions.
+       (bfd_put_8): Mask with 0xff rather than casting to char.
+       (bfd_putb16, bfd_putl16, bfd_putb32, bfd_putl32): Likewise.
+       (bfd_putb64, bfd_putl64, bfd_put_bits): Likewise.
+       (H_PUT_64, H_PUT_32, H_PUT_16, H_PUT_8): Remove casts, simplify.
+       (H_PUT_S64, H_PUT_S32, H_PUT_S16, H_PUT_S8): Likewise.
+       (H_GET_64, H_GET_32, H_GET_16, H_GET_8): Likewise.
+       (H_GET_S64, H_GET_S32, H_GET_S16, H_GET_S8): Likewise.
+       * libaout.h (H_PUT_64 H_PUT_32, H_PUT_16): Remove casts, simplify.
+       (H_PUT_S64, H_PUT_S32, H_PUT_S16): Likewise.
+       (H_GET_64, H_GET_32, H_GET_16): Likewise.
+       (H_GET_S64, H_GET_S32, H_GET_S16): Likewise.
+       * archive.c (do_slurp_coff_armap): Update swap prototype.
+       * coff-tic54x.c (tic54x_getl32): Replace bfd_byte* with void*.
+       (tic54x_getl_signed_32): Likewise.
+       (tic54x_putl32): Likewise.  Mask with 0xff rather than casting to char.
+       * mach-o.c (bfd_mach_o_read_header): Update get32 prototype.
+       * pdp11.c (bfd_getp32): Make static, replace bfd_byte* with void*.
+       (bfd_getp_signed_32, bfd_putp32): Likewise.
+       * targets.c (struct bfd_target): Use void* in place of bfd_byte* for
+       bfd_getx64, bfd_getx_signed_64, bfd_putx64, bfd_getx32,
+       bfd_getx_signed_32, bfd_putx32, bfd_getx16, bfd_getx_signed_16,
+       bfd_putx16, bfd_h_getx64, bfd_h_getx_signed_64, bfd_h_putx64,
+       bfd_h_getx32, bfd_h_getx_signed_32, bfd_h_putx32, bfd_h_getx16,
+       bfd_h_getx_signed_16, bfd_h_putx16.
+       * aix386-core.c (NO_GET, NO_GETS, NO_PUT): Update prototypes.
+       * hppabsd-core.c: Similarly.  Rename NO_SIGNED_GET to NO_GETS.
+       * hpux-core.c: Likewise.
+       * irix-core.c: Likewise.
+       * netbsd-core.c: Likewise.
+       * osf-core.c: Likewise.
+       * ptrace-core.c: Likewise.
+       * sco5-core.c: Likewise.
+       * trad-core.c: Likewise.
+       * bfd-in2.h: Regenerate.
+
+2004-03-15  Matt Thomas  <matt@3am-software.com>
+
+       * config.bfd: Add x86-64 vector to NetBSD/i386 if 64bit BFD is
+       selected.
+
 2004-03-13  Mark Kettenis  <kettenis@gnu.org>
 
        * config.bfd: Add x86_64-*-openbsd*.
@@ -7,7 +88,7 @@
 
 2004-03-12  Nick Clifton  <nickc@redhat.com>
            Dave Murphy  <wintermute2k4@ntlworld.com>
-       
+
        * elf32-arm.h (elf32_arm_merge_private_bfd_data): Skip most checks
        if the input bfd does not contain any code.
 
        * configure: Regenerate.
 
 2004-02-17  Daniel Jacobowitz  <drow@mvista.com>
-            Richard Sandiford  <rsandifo@redhat.com>
+           Richard Sandiford  <rsandifo@redhat.com>
 
        * elfxx-mips.c (mips_elf_calculate_relocation): Use
        _bfd_elf_symbol_refs_local_p to decide whether to decay
        fseeko and fseeko64.  Determine bfd_file_ptr.
        * configure: Re-generate.
        * config.in: Re-generate.
-       
+
 2004-02-09  Anil Paranjpe  <anilp1@KPITCummins.com>
 
        * coff-h8300.c: Added comments about relaxation for ldc.w and stc.w.
This page took 0.024288 seconds and 4 git commands to generate.