From 524adf98a45060e8778a66c0bd5c7e9ee0ff49de Mon Sep 17 00:00:00 2001 From: marius Date: Mon, 25 Jul 2011 18:34:42 +0000 Subject: [PATCH] MFC: r223718 Using .comm to declare intrnames and eintrnames causes binutils 2.17.50 to merge the two. git-svn-id: svn://svn.freebsd.org/base/stable/8@224369 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/sparc64/sparc64/exception.S | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/sys/sparc64/sparc64/exception.S b/sys/sparc64/sparc64/exception.S index f375da3ec..fd38ff8a0 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 -- 2.45.0