This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: EGCS-19990314, undefined local symbol with a __label__
- To: rth at cygnus dot com, law at cygnus dot com
- Subject: Re: EGCS-19990314, undefined local symbol with a __label__
- From: Dave Gilbert <gilbertd at treblig dot org>
- Date: Fri, 26 Mar 1999 21:37:04 +0000 (GMT)
- cc: egcs-bugs at egcs dot cygnus dot com, philb at gnu dot org, rmk at arm dot uk dot linux dot org
- Reply-To: Dave Gilbert <gilbertd at treblig dot org>
Thanks Richard (and everyone else) - that patch seems to have solved the
problem (building the full kernel...now just to find why it wont boot...)
It does strike me that it doesn't look as optimal as I might hope - in
particular why is that ldmea separated off the bottom of the code; and
causing the addition of the b .L4 ?
(this is with -O3! )
Dave
@ Generated by gcc egcs-2.93.13 19990321 (gcc2 ss-980929 experimental) for
ARM/elf
.file "play.i"
.gcc2_compiled.:
.text
.align 0
.global skb_push
.type skb_push,function
skb_push:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, current_function_anonymous_args = 0
mov ip, sp
stmfd sp!, {fp, ip, lr, pc}
sub fp, ip, #4
ldr r0, .L5
sub sp, sp, #8
bl skb_under_panic
b .L4
.L6:
.align 0
.L5:
.word .L3
.L4:
.L3:
ldmea fp, {fp, sp, pc}
.Lfe1:
.size skb_push,.Lfe1-skb_push
.ident "GCC: (GNU) egcs-2.93.13 19990321 (gcc2 ss-980929
experimental)
--------------------------------------------------------------------
/ Dr. David Alan Gilbert | Running Linux on | Happy \
\ gro.gilbert @ treblig.org | Alpha, ARM and SPARC | In Hex /
\____________________________|___ http://www.treblig.demon.co.uk __/