From 80006832f68246053b97877c5fdcf131282d519b Mon Sep 17 00:00:00 2001 From: Marius Strobl Date: Sat, 2 Jul 2011 10:17:26 +0000 Subject: Using .comm to declare intrnames and eintrnames causes binutils 2.17.50 to merge the two. --- sys/sparc64/sparc64/exception.S | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'sys/sparc64') diff --git a/sys/sparc64/sparc64/exception.S b/sys/sparc64/sparc64/exception.S index 0b8a0faf78ce..8fc662e55da0 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 -- cgit v1.2.3