Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: trouble with netbsd-8 on RPI3?
Martin Husemann <martin%duskware.de@localhost> writes:
> Can you verify it is present in the official builds of the armv7 libpthread
> as well, and find out more details where it is in your build?
In my build, and matching in the official 8.2 build (as in addresses match
too, diff -ub is empty), objdump -D of /usr/lib/pthread.so.1.3, wfe is
clearly present. From reading our sources this is what I'd expect.
000050e4 <pthread_spin_lock>:
50e4: e1a0c00d mov ip, sp
50e8: e92dd830 push {r4, r5, fp, ip, lr, pc}
50ec: e2504000 subs r4, r0, #0
50f0: e24cb004 sub fp, ip, #4
50f4: 0a000004 beq 510c <pthread_spin_lock+0x28>
50f8: e5942000 ldr r2, [r4]
50fc: e3a03007 mov r3, #7
5100: e3473777 movt r3, #30583 ; 0x7777
5104: e1520003 cmp r2, r3
5108: 0a000001 beq 5114 <pthread_spin_lock+0x30>
510c: e3a00016 mov r0, #22
5110: e89da830 ldm sp, {r4, r5, fp, sp, pc}
5114: ee1d0f70 mrc 15, 0, r0, cr13, cr0, {3}
5118: e3500000 cmp r0, #0
511c: 0a00000a beq 514c <pthread_spin_lock+0x68>
5120: e5905004 ldr r5, [r0, #4]
5124: e2844004 add r4, r4, #4
5128: ea000000 b 5130 <pthread_spin_lock+0x4c>
512c: e320f002 wfe
5130: e5953060 ldr r3, [r5, #96] ; 0x60
5134: e1a00004 mov r0, r4
5138: e12fff33 blx r3
513c: e3500000 cmp r0, #0
5140: 0afffff9 beq 512c <pthread_spin_lock+0x48>
5144: e3a00000 mov r0, #0
5148: e89da830 ldm sp, {r4, r5, fp, sp, pc}
514c: ebfffe04 bl 4964 <_lwp_getprivate@plt>
5150: eafffff2 b 5120 <pthread_spin_lock+0x3c>
Home |
Main Index |
Thread Index |
Old Index