OSDN Git Service

Add ATTRIBUTE_UNUSED to info in compute_bucket_count.
authorhjl <hjl>
Fri, 30 Jul 2010 16:29:56 +0000 (16:29 +0000)
committerhjl <hjl>
Fri, 30 Jul 2010 16:29:56 +0000 (16:29 +0000)
2010-07-30  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (compute_bucket_count): Add ATTRIBUTE_UNUSED to info.

bfd/ChangeLog
bfd/elflink.c

index 6b1de15..9b4223f 100644 (file)
@@ -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.
index f445912..e0fbc83 100644 (file)
@@ -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)