Fix sim breakage
authorAlan Modra <amodra@gmail.com>
Thu, 3 Apr 2014 01:36:33 +0000 (12:06 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 3 Apr 2014 01:38:01 +0000 (12:08 +1030)
Replace "size_t size" with "bfd_size_type size".
and here too.

* bfd-in.h (bfd_elf_bfd_from_remote_memory): Likewise.
* bfd-in2.h: Regenerate.

bfd/ChangeLog
bfd/bfd-in.h
bfd/bfd-in2.h

index cd42bde64f811b3ebe6e1231fc90edcec82b55b0..d702ba0019d04c4eaa0ce672facdd5b5028c866b 100644 (file)
@@ -7,6 +7,8 @@
        (_bfd_elf64_bfd_from_remote_memory): Likewise.
        * elf.c (bfd_elf_bfd_from_remote_memory): Likewise.
        * elfcode.h (bfd_from_remote_memory): Likewise.
+       * bfd-in.h (bfd_elf_bfd_from_remote_memory): Likewise.
+       * bfd-in2.h: Regenerate.
 
 2014-04-02  Tristan Gingold  <gingold@adacore.com>
 
index ddc8270b75643b9b9deb45ad9952273903feeb19..83f125bd8e5c12cbbed91b62650679311b289865 100644 (file)
@@ -694,7 +694,7 @@ extern int bfd_get_elf_phdrs
    failure.  TEMPL must be a BFD for a target with the word size and
    byte order found in the remote memory.  */
 extern bfd *bfd_elf_bfd_from_remote_memory
-  (bfd *templ, bfd_vma ehdr_vma, size_t size, bfd_vma *loadbasep,
+  (bfd *templ, bfd_vma ehdr_vma, bfd_size_type size, bfd_vma *loadbasep,
    int (*target_read_memory) (bfd_vma vma, bfd_byte *myaddr,
                              bfd_size_type len));
 
index 8cfae51069cf276eae0b2f434521ee7cb54800c2..cd45d714a6ee7e609ad090a1d1db160660a2c6c2 100644 (file)
@@ -701,7 +701,7 @@ extern int bfd_get_elf_phdrs
    failure.  TEMPL must be a BFD for a target with the word size and
    byte order found in the remote memory.  */
 extern bfd *bfd_elf_bfd_from_remote_memory
-  (bfd *templ, bfd_vma ehdr_vma, size_t size, bfd_vma *loadbasep,
+  (bfd *templ, bfd_vma ehdr_vma, bfd_size_type size, bfd_vma *loadbasep,
    int (*target_read_memory) (bfd_vma vma, bfd_byte *myaddr,
                              bfd_size_type len));
 
This page took 0.030446 seconds and 4 git commands to generate.