aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/softfloat_arm.c
diff options
context:
space:
mode:
authorDmitriy Vyukov <dvyukov@google.com>2014-07-29 15:18:01 +0400
committerDmitriy Vyukov <dvyukov@google.com>2014-07-29 15:18:01 +0400
commitd514e2915ce0be5d19954ea9a8ce0c34b30cee19 (patch)
treee70dac7bf31f1376c9893913fab2afd333155746 /src/pkg/runtime/softfloat_arm.c
parent5dab2da9544422d8953b2d3e4a41acaf84a2d2c4 (diff)
downloadgo-d514e2915ce0be5d19954ea9a8ce0c34b30cee19.tar.xz
runtime: mark global var as NOPTR
LGTM=dave R=golang-codereviews, dave CC=golang-codereviews https://golang.org/cl/120280044
Diffstat (limited to 'src/pkg/runtime/softfloat_arm.c')
-rw-r--r--src/pkg/runtime/softfloat_arm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/runtime/softfloat_arm.c b/src/pkg/runtime/softfloat_arm.c
index 41ce8bd753..6b37160114 100644
--- a/src/pkg/runtime/softfloat_arm.c
+++ b/src/pkg/runtime/softfloat_arm.c
@@ -90,6 +90,7 @@ fstatus(bool nan, int32 cmp)
// conditions array record the required CPSR cond field for the
// first 5 pairs of conditional execution opcodes
// higher 4 bits are must set, lower 4 bits are must clear
+#pragma dataflag NOPTR
static const uint8 conditions[10/2] = {
[0/2] = (FLAGS_Z >> 24) | 0, // 0: EQ (Z set), 1: NE (Z clear)
[2/2] = (FLAGS_C >> 24) | 0, // 2: CS/HS (C set), 3: CC/LO (C clear)