summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2011-07-02 10:17:26 +0000
committermarius <marius@FreeBSD.org>2011-07-02 10:17:26 +0000
commit094335c36e9ab0e8bdde50a8f1ea4c878504e92e (patch)
tree13a25ed82d527a7f16b23de77be95f0838ff8646 /sys/sparc64
parent0c741bc1eedb4d26949816ee5c5e94e69e189c86 (diff)
downloadFreeBSD-src-094335c36e9ab0e8bdde50a8f1ea4c878504e92e.zip
FreeBSD-src-094335c36e9ab0e8bdde50a8f1ea4c878504e92e.tar.gz
Using .comm to declare intrnames and eintrnames causes binutils 2.17.50 to
merge the two.
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/sparc64/exception.S17
1 files changed, 12 insertions, 5 deletions
diff --git a/sys/sparc64/sparc64/exception.S b/sys/sparc64/sparc64/exception.S
index 0b8a0fa..8fc662e 100644
--- a/sys/sparc64/sparc64/exception.S
+++ b/sys/sparc64/sparc64/exception.S
@@ -369,11 +369,18 @@ ENTRY(rsf_fatal)
sir
END(rsf_fatal)
- .comm intrnames, IV_MAX * (MAXCOMLEN + 1)
- .comm eintrnames, 0
-
- .comm intrcnt, IV_MAX * 8
- .comm eintrcnt, 0
+ .data
+ _ALIGN_DATA
+ .globl intrnames, eintrnames
+intrnames:
+ .space IV_MAX * (MAXCOMLEN + 1)
+eintrnames:
+ .globl intrcnt, eintrcnt
+intrcnt:
+ .space IV_MAX * 8
+eintrcnt:
+
+ .text
/*
* Trap table and associated macros
OpenPOWER on IntegriCloud