aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-01-06 15:44:30 +0000
committerNick Clifton <nickc@redhat.com>2012-01-06 15:44:30 +0000
commit28a1b4f812be8e5351e3ebeaa561c477ff6d8b89 (patch)
tree82e20786425e59643b1fe84a54492612d3b1325a /bfd
parent36f0a48f6c9a1927618d55b4a7df8ddfbfd0fb9d (diff)
downloadgdb-28a1b4f812be8e5351e3ebeaa561c477ff6d8b89.zip
gdb-28a1b4f812be8e5351e3ebeaa561c477ff6d8b89.tar.gz
gdb-28a1b4f812be8e5351e3ebeaa561c477ff6d8b89.tar.bz2
PR binutils/13121
* reloc.c (bfd_generic_lookup_section_flags): Rename 'finfo' to 'flaginfo' to avoid conflicts with AIX system headers.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/reloc.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index f9d28f3..c5b2a1b 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2012-01-06 Nick Clifton <nickc@redhat.com>
+
+ PR binutils/13121
+ * reloc.c (bfd_generic_lookup_section_flags): Rename 'finfo' to
+ 'flaginfo' to avoid conflicts with AIX system headers.
+
2012-01-06 Tristan Gingold <gingold@adacore.com>
* bfdio.c (bfd_bread): Use arelt_size macro.
diff --git a/bfd/reloc.c b/bfd/reloc.c
index e377899..5cde4a8 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -6237,9 +6237,9 @@ DESCRIPTION
void
bfd_generic_lookup_section_flags (struct bfd_link_info *info ATTRIBUTE_UNUSED,
- struct flag_info *finfo)
+ struct flag_info *flaginfo)
{
- if (finfo != NULL)
+ if (flaginfo != NULL)
{
(*_bfd_error_handler) (_("INPUT_SECTION_FLAGS are not supported.\n"));
return;