From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 5576 invoked from network); 8 Nov 1999 00:47:14 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 8 Nov 1999 00:47:14 -0000 Received: from piglet.twiddle.net (root@piglet.twiddle.net [207.104.6.26]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id TAA25819 for ; Sun, 7 Nov 1999 19:47:13 -0500 Received: (from rth@localhost) by piglet.twiddle.net (8.9.3/8.9.3) id QAA07640; Sun, 7 Nov 1999 16:47:13 -0800 Date: Sun, 7 Nov 1999 16:47:13 -0800 From: Richard Henderson To: frival@zk3.dec.com Cc: axp-list@redhat.com Subject: Re: Assembly errors with lockmeter Message-ID: <19991107164713.A7248@twiddle.net> References: <381F3A59.B110991E@zk3.dec.com> <19991102121947.A29750@twiddle.net> <381F4C6B.E64E925D@zk3.dec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: <381F4C6B.E64E925D@zk3.dec.com>; from Peter Rival on Tue, Nov 02, 1999 at 08:41:15PM +0000 On Tue, Nov 02, 1999 at 08:41:15PM +0000, Peter Rival wrote: > mb > .section .text2,"ax" > 6: > .previous > addl $1,$31,$1 <-- Line 655 This fixes it. I do wonder what exactly you're doing with labels in sections with no code attached to them... r~ * config/tc-alpha.c (alpha_align): Check, don't assert, that the previous label was in the current section before playing with auto-alignment. Index: gas/config/tc-alpha.c =================================================================== RCS file: /cvs/binutils/binutils/gas/config/tc-alpha.c,v retrieving revision 1.6 diff -c -p -d -r1.6 tc-alpha.c *** tc-alpha.c 1999/10/18 22:29:14 1.6 --- tc-alpha.c 1999/11/08 00:42:40 *************** alpha_align (n, pfill, label, force) *** 4756,4769 **** alpha_current_align = n; ! if (label != NULL) { - assert (S_GET_SEGMENT (label) == now_seg); symbol_set_frag (label, frag_now); S_SET_VALUE (label, (valueT) frag_now_fix ()); } ! record_alignment(now_seg, n); /* ??? if alpha_flag_relax && force && elf, record the requested alignment in a reloc for the linker to see. */ --- 4756,4768 ---- alpha_current_align = n; ! if (label != NULL && S_GET_SEGMENT (label) == now_seg) { symbol_set_frag (label, frag_now); S_SET_VALUE (label, (valueT) frag_now_fix ()); } ! record_alignment (now_seg, n); /* ??? if alpha_flag_relax && force && elf, record the requested alignment in a reloc for the linker to see. */