aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-04-03 11:34:00 +1030
committerAlan Modra <amodra@gmail.com>2014-04-03 11:34:49 +1030
commitf0a5d95aae21532529061054fa13816d7adf81d8 (patch)
treed770f31d888f5e7b62cc521d1da9c9035e3430a8 /bfd/elf.c
parentc4eb27e1db8ebff3c498871a715ffdd66e20880b (diff)
downloadgdb-f0a5d95aae21532529061054fa13816d7adf81d8.zip
gdb-f0a5d95aae21532529061054fa13816d7adf81d8.tar.gz
gdb-f0a5d95aae21532529061054fa13816d7adf81d8.tar.bz2
Fix sim breakage
* elf-bfd.h (struct elf_backend_data <elf_backend_bfd_from_remote_memory>): Replace "size_t size" with "bfd_size_type size". (_bfd_elf32_bfd_from_remote_memory): Likewise. (_bfd_elf64_bfd_from_remote_memory): Likewise. * elf.c (bfd_elf_bfd_from_remote_memory): Likewise. * elfcode.h (bfd_from_remote_memory): Likewise.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index d67b917..9e46f7c 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -9908,7 +9908,7 @@ bfd *
bfd_elf_bfd_from_remote_memory
(bfd *templ,
bfd_vma ehdr_vma,
- size_t size,
+ bfd_size_type size,
bfd_vma *loadbasep,
int (*target_read_memory) (bfd_vma, bfd_byte *, bfd_size_type))
{