aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-07-30 16:29:58 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-07-30 16:29:58 +0000
commitb20dd2ce19d4b550ed801ead75acf451ea9036c6 (patch)
treec1bea3753e05b4e7c4eac16ee18f872e16e64127 /bfd
parent1276c7599c55846a2b602dbcc1260043b275e0e4 (diff)
downloadgdb-b20dd2ce19d4b550ed801ead75acf451ea9036c6.zip
gdb-b20dd2ce19d4b550ed801ead75acf451ea9036c6.tar.gz
gdb-b20dd2ce19d4b550ed801ead75acf451ea9036c6.tar.bz2
Add ATTRIBUTE_UNUSED to info in compute_bucket_count.
2010-07-30 H.J. Lu <hongjiu.lu@intel.com> * elflink.c (compute_bucket_count): Add ATTRIBUTE_UNUSED to info.
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)