aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elflink.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 6b1de15..9b4223f 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2010-07-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elflink.c (compute_bucket_count): Add ATTRIBUTE_UNUSED to info.
+
2010-07-30 Anthony Green <green@moxielogic.com>
* config.bfd (targ_cpu): Add moxie-*-rtems support.
diff --git a/bfd/elflink.c b/bfd/elflink.c
index f445912..e0fbc83 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -5352,7 +5352,7 @@ static const size_t elf_buckets[] =
Therefore the result is always a good payoff between few collisions
(= short chain lengths) and table size. */
static size_t
-compute_bucket_count (struct bfd_link_info *info,
+compute_bucket_count (struct bfd_link_info *info ATTRIBUTE_UNUSED,
unsigned long int *hashcodes ATTRIBUTE_UNUSED,
unsigned long int nsyms,
int gnu_hash)