From 6ec12636a713f947bf37b8f355a0e53c94f4a8e9 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Fri, 15 Jan 2010 21:38:16 +0000 Subject: [PATCH] bfd/ Fix compilation warning on gcc-3.4. * vms-tir.c (start_etir_record, sto_imm): Rename the prototype parameter index to sec_index according to the function definition. --- bfd/ChangeLog | 6 ++++++ bfd/vms-tir.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index fd874b1f045..419cd2f3e94 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2010-01-15 Jan Kratochvil + + Fix compilation warning on gcc-3.4. + * vms-tir.c (start_etir_record, sto_imm): Rename the prototype + parameter index to sec_index according to the function definition. + 2010-01-13 Chao-ying Fu * elfxx-mips.c (JR_TO_B_P): New define to transform JR to B. diff --git a/bfd/vms-tir.c b/bfd/vms-tir.c index 86b55ced409..1ecb1517a99 100644 --- a/bfd/vms-tir.c +++ b/bfd/vms-tir.c @@ -2305,12 +2305,12 @@ _bfd_vms_slurp_lnk (bfd * abfd ATTRIBUTE_UNUSED, This is still under construction and therefore not documented. */ -static void start_etir_record (bfd *abfd, int index, uquad offset, +static void start_etir_record (bfd *abfd, int sec_index, uquad offset, bfd_boolean justoffset); static void start_first_etbt_record (bfd *abfd); static void start_another_etbt_record (bfd *abfd); static void sto_imm (bfd *abfd, bfd_size_type, unsigned char *, bfd_vma vaddr, - int index, const char *name); + int sec_index, const char *name); static void end_etir_record (bfd *abfd); static void etir_output_check (bfd *abfd, asection *section, bfd_vma vaddr, int checklen); -- 2.30.2