]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
bfd: Use size_t in the BFD mmap interface
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 13 Mar 2024 13:45:16 +0000 (06:45 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 13 Mar 2024 13:55:44 +0000 (06:55 -0700)
commit4810a2d92b9e1a13774c1286cd8a0f718f81abba
treeea489f8b4f635d48821bdca606585098e8f560d4
parent2e384d4f44f15e560b2a068e0ed866438aaa7cd7
bfd: Use size_t in the BFD mmap interface

Change the size type in the BFD mmap interface from bfd_size_type to
size_t to be consistent with the size type of the host mmap interface.

* bfdio.c (bfd_iovec): Change the bmmap size type to size_t.
(bfd_mmap): Likewise.
(memory_bmmap): Likewise.
* cache.c (cache_bmmap): Change the bmmap size type to size_t.
* opncls.c (opncls_bmmap): Change the bmmap size type to size_t.
* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.
bfd/bfd-in2.h
bfd/bfdio.c
bfd/cache.c
bfd/libbfd.h
bfd/opncls.c