aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-04-03 12:06:33 +1030
committerAlan Modra <amodra@gmail.com>2014-04-03 12:08:01 +1030
commit2493504aa84aceffcdb5f3febddca03e7c3d8176 (patch)
treef75af6719225418d81ed115e0bbea3b21b474f46
parentc3fcb7757e59bc743db8dd71f9a66767b2167c29 (diff)
downloadgdb-2493504aa84aceffcdb5f3febddca03e7c3d8176.zip
gdb-2493504aa84aceffcdb5f3febddca03e7c3d8176.tar.gz
gdb-2493504aa84aceffcdb5f3febddca03e7c3d8176.tar.bz2
Fix sim breakage
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.
-rw-r--r--bfd/ChangeLog2
-rw-r--r--bfd/bfd-in.h2
-rw-r--r--bfd/bfd-in2.h2
3 files changed, 4 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index cd42bde..d702ba0 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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>
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index ddc8270..83f125b 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -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));
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 8cfae51..cd45d71 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -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));