aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2018-03-19 10:53:14 +0000
committerWilco Dijkstra <wdijkstr@arm.com>2018-03-19 10:53:14 +0000
commitfbce6f7260c3847f14dfa38f60c9111978fb33a5 (patch)
tree9943b0a878d67b4e2423c84b7e5d2d740bcb4e73
parent0f652f053e7a501f5413b2b45997d299b5570cb1 (diff)
downloadtermbaud-fbce6f7260c3847f14dfa38f60c9111978fb33a5.tar.gz
termbaud-fbce6f7260c3847f14dfa38f60c9111978fb33a5.tar.xz
termbaud-fbce6f7260c3847f14dfa38f60c9111978fb33a5.zip
Undefine attribute_hidden to fix benchtests
Add an undefine of attribute_hidden since it may be defined in some cases (it must be defined since it is used by some hp-timing configurations). * benchtests/bench-timing.h (attribute_hidden): Undefine.
-rw-r--r--ChangeLog4
-rw-r--r--benchtests/bench-timing.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ddf8c9c9d11..4eb063289f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
+
+ * benchtests/bench-timing.h (attribute_hidden): Undefine.
+
2018-03-18 Richard Braun <rbraun@sceen.net>
* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
diff --git a/benchtests/bench-timing.h b/benchtests/bench-timing.h
index b9ea04bb02c..96cde1e8be2 100644
--- a/benchtests/bench-timing.h
+++ b/benchtests/bench-timing.h
@@ -16,6 +16,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#undef attribute_hidden
#define attribute_hidden
#include <hp-timing.h>
#include <stdint.h>