aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfcode.h
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/elfcode.h
parentc4eb27e1db8ebff3c498871a715ffdd66e20880b (diff)
downloadbinutils-f0a5d95aae21532529061054fa13816d7adf81d8.zip
binutils-f0a5d95aae21532529061054fa13816d7adf81d8.tar.gz
binutils-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/elfcode.h')
-rw-r--r--bfd/elfcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h
index f840065..a49a708 100644
--- a/bfd/elfcode.h
+++ b/bfd/elfcode.h
@@ -1605,7 +1605,7 @@ bfd *
NAME(_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))
{