summaryrefslogtreecommitdiff
path: root/benchtests/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'benchtests/scripts')
-rwxr-xr-xbenchtests/scripts/bench.py4
-rwxr-xr-xbenchtests/scripts/compare_bench.py2
-rw-r--r--benchtests/scripts/import_bench.py2
-rwxr-xr-xbenchtests/scripts/validate_benchout.py2
4 files changed, 5 insertions, 5 deletions
diff --git a/benchtests/scripts/bench.py b/benchtests/scripts/bench.py
index ee856db821..5a4fc94ba8 100755
--- a/benchtests/scripts/bench.py
+++ b/benchtests/scripts/bench.py
@@ -1,5 +1,5 @@
#!/usr/bin/python
-# Copyright (C) 2014-2015 Free Software Foundation, Inc.
+# Copyright (C) 2014-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
#
# The GNU C Library is free software; you can redistribute it and/or
@@ -164,7 +164,7 @@ def _print_arg_data(func, directives, all_vals):
if pos == -1:
die('Output argument must be a pointer type')
- outargs.append('static %s out%d;' % (arg[1:pos], i))
+ outargs.append('static %s out%d __attribute__((used));' % (arg[1:pos], i))
func_args.append(' &out%d' % i)
else:
arg_struct.append(' %s volatile arg%d;' % (arg, i))
diff --git a/benchtests/scripts/compare_bench.py b/benchtests/scripts/compare_bench.py
index be5b5ca9cd..b14f9ddc3d 100755
--- a/benchtests/scripts/compare_bench.py
+++ b/benchtests/scripts/compare_bench.py
@@ -1,5 +1,5 @@
#!/usr/bin/python
-# Copyright (C) 2015 Free Software Foundation, Inc.
+# Copyright (C) 2015-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
#
# The GNU C Library is free software; you can redistribute it and/or
diff --git a/benchtests/scripts/import_bench.py b/benchtests/scripts/import_bench.py
index d37ff62383..ff88056b8d 100644
--- a/benchtests/scripts/import_bench.py
+++ b/benchtests/scripts/import_bench.py
@@ -1,5 +1,5 @@
#!/usr/bin/python
-# Copyright (C) 2015 Free Software Foundation, Inc.
+# Copyright (C) 2015-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
#
# The GNU C Library is free software; you can redistribute it and/or
diff --git a/benchtests/scripts/validate_benchout.py b/benchtests/scripts/validate_benchout.py
index 28fd023723..12977ed1d0 100755
--- a/benchtests/scripts/validate_benchout.py
+++ b/benchtests/scripts/validate_benchout.py
@@ -1,5 +1,5 @@
#!/usr/bin/python
-# Copyright (C) 2014-2015 Free Software Foundation, Inc.
+# Copyright (C) 2014-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
#
# The GNU C Library is free software; you can redistribute it and/or