aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2024-03-18 10:26:16 +0000
committerNick Clifton <nickc@redhat.com>2024-03-18 10:26:16 +0000
commit6549a232d25585800752007f699fb7db9fe70883 (patch)
tree3d818455c1b3b34064c1eeb33fe4fde8371668e1
parent93eb6c64ec4a6ea9f3c1722a894d72ef586d7523 (diff)
downloadbinutils-6549a232d25585800752007f699fb7db9fe70883.zip
binutils-6549a232d25585800752007f699fb7db9fe70883.tar.gz
binutils-6549a232d25585800752007f699fb7db9fe70883.tar.bz2
Fix compiling bfd/vms-lib.c for a 32-bit host.
-rw-r--r--MAINTAINERS2
-rw-r--r--bfd/vms-lib.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 5af8032..3dd3352 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -53,7 +53,7 @@ include/
See also binutils/, gdb/, sid/, gcc/, libiberty/ etc.
intl/; config.rhost; libiberty/; libiberty's part of include/;
-compile; depcomp; install-sh; missing; ylwrap; config/
+compile; depcomp; install-sh; missing; ylwrap; config/; libbacktrace
gcc: http://gcc.gnu.org
Changes need to be done in tandem with the official GCC
sources or submitted to the master file maintainer and brought
diff --git a/bfd/vms-lib.c b/bfd/vms-lib.c
index 592a57f..c51476a 100644
--- a/bfd/vms-lib.c
+++ b/bfd/vms-lib.c
@@ -1270,12 +1270,12 @@ vms_lib_bstat (struct bfd *abfd ATTRIBUTE_UNUSED,
static void *
vms_lib_bmmap (struct bfd *abfd ATTRIBUTE_UNUSED,
void *addr ATTRIBUTE_UNUSED,
- bfd_size_type len ATTRIBUTE_UNUSED,
+ size_t len ATTRIBUTE_UNUSED,
int prot ATTRIBUTE_UNUSED,
int flags ATTRIBUTE_UNUSED,
file_ptr offset ATTRIBUTE_UNUSED,
void **map_addr ATTRIBUTE_UNUSED,
- bfd_size_type *map_len ATTRIBUTE_UNUSED)
+ size_t *map_len ATTRIBUTE_UNUSED)
{
return MAP_FAILED;
}