aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-01-15 21:38:16 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-01-15 21:38:16 +0000
commit6ec12636a713f947bf37b8f355a0e53c94f4a8e9 (patch)
tree03a3368a021a163e7bce63b83471f40cc257561d /bfd
parentd904de5b3d3a43ecb03958505c6323cb34379d44 (diff)
downloadgdb-6ec12636a713f947bf37b8f355a0e53c94f4a8e9.zip
gdb-6ec12636a713f947bf37b8f355a0e53c94f4a8e9.tar.gz
gdb-6ec12636a713f947bf37b8f355a0e53c94f4a8e9.tar.bz2
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.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/vms-tir.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index fd874b1..419cd2f 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2010-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ 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 <fu@mips.com>
* 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 86b55ce..1ecb151 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);