This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: EGCS-19990314, undefined local symbol with a __label__


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 __/





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]