aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@mips.com>2014-04-16 10:45:08 -0700
committerSteve Ellcey <sellcey@mips.com>2014-04-16 10:45:08 -0700
commit751e54c92eb7846e3edcd9b8179051ab8174e5b5 (patch)
tree530dc5d2f6b3ab6d24f17bed089c26013d87e0c7 /ld
parentab19de874b887743e0862e6680e561f6fc4f02fa (diff)
downloadgdb-751e54c92eb7846e3edcd9b8179051ab8174e5b5.zip
gdb-751e54c92eb7846e3edcd9b8179051ab8174e5b5.tar.gz
gdb-751e54c92eb7846e3edcd9b8179051ab8174e5b5.tar.bz2
2014-04-16 Steve Ellcey <sellcey@mips.com>
* ldbuildid.c (generate_build_id): Add ATTRIBUTE_UNUSED to size arg.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ldbuildid.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 67dcf23..9786e6c 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2014-04-16 Steve Ellcey <sellcey@mips.com>
+
+ * ldbuildid.c (generate_build_id): Add ATTRIBUTE_UNUSED to size arg.
+
2014-04-09 Nick Clifton <nickc@redhat.com>
* Makefile.am (default-manifest.o): Remove rule.
diff --git a/ld/ldbuildid.c b/ld/ldbuildid.c
index 1214789..0e1a9bf 100644
--- a/ld/ldbuildid.c
+++ b/ld/ldbuildid.c
@@ -98,7 +98,7 @@ generate_build_id (bfd *abfd,
const char *style,
checksum_fn checksum_contents,
unsigned char *id_bits,
- int size)
+ int size ATTRIBUTE_UNUSED)
{
if (streq (style, "md5"))
{