From: Richard Henderson <rth@twiddle.net>
To: frival@zk3.dec.com
Cc: axp-list@redhat.com
Subject: Re: Assembly errors with lockmeter
Date: Sun, 7 Nov 1999 16:47:13 -0800 [thread overview]
Message-ID: <19991107164713.A7248@twiddle.net> (raw)
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. */
next prev parent reply other threads:[~1999-11-08 0:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-02 19:24 Assembly errors with lockmeter Peter Rival
1999-11-02 20:19 ` Richard Henderson
1999-11-02 20:41 ` Peter Rival
1999-11-02 20:57 ` Richard Henderson
1999-11-02 21:49 ` Cross Platform IDE Jonas Gustavsson
1999-11-03 21:32 ` Adam C Powell IV
1999-11-04 0:00 ` SV: " Jonas Gustavsson
1999-11-08 0:47 ` Richard Henderson [this message]
1999-11-08 14:03 ` Assembly errors with lockmeter Peter Rival
1999-11-24 5:27 ` Richard Henderson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox