about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@mips.com>2014-12-10 13:46:28 -0800
committerSteve Ellcey <sellcey@mips.com>2014-12-10 13:46:28 -0800
commit48c43298bf8490444fe2d36646a6fc4eb489c323 (patch)
tree85bbd9d2428859637f8c9008befd4f0253ce6219
parentc153ac9f1b6302a6e778f1480ca5ff593be245c5 (diff)
downloadglibc-48c43298bf8490444fe2d36646a6fc4eb489c323.tar.gz
glibc-48c43298bf8490444fe2d36646a6fc4eb489c323.tar.xz
glibc-48c43298bf8490444fe2d36646a6fc4eb489c323.zip
2014-12-10 Steve Ellcey <sellcey@imgtec.com>
	* debug/warning-nop.c: Add used atrribute.
-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 0e060b3bd5..a11df81699 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 2a16f2791e..2064310c86 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)
 {
 }