aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--debug/warning-nop.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0e060b3..a11df81 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-10 Steve Ellcey <sellcey@imgtec.com>
+
+ * debug/warning-nop.c: Add used atrribute.
+
2014-12-10 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
diff --git a/debug/warning-nop.c b/debug/warning-nop.c
index 2a16f27..2064310 100644
--- a/debug/warning-nop.c
+++ b/debug/warning-nop.c
@@ -36,6 +36,7 @@
#include <sys/cdefs.h>
static void
+__attribute__ ((used))
nop (void)
{
}