Zeropain entries while compiling roms
Colin (478) 2433 posts |
When compiling roms I get a lot of zeropain entries – below is an example. They all seem to be at offset 0×13cf4. I’ve got a zeropain file full of them if anyone wants to see more. I have a sneaking suspicion that they started with DDE31c but I can’t be sure. Does anyone else see this?
|
David Pitt (9872) 341 posts |
Is the CLib old? A Pi ROM has just built fully here, pain free, on an RPi4 with DDE31c. *fx0 RISC OS 5.29 (30 Nov 2023) *help SharedCLibrary ==> Help on keyword SharedCLibrary Module is: C Library 6.22 (29 Nov 2023) * HTH |
Colin (478) 2433 posts |
I was using 6.21 It doesn’t always happen. I’ve just compiled the latest rom for my imx6 and there was no zeropain errors compiling it with the same setup. Anyway I’ve got the latest rom now. |
Rick Murray (539) 13750 posts |
Looks like it’s trying to read from &1C. Isn’t that where the FIQ handler lives? |
David Pitt (9872) 341 posts |
Look what I have just found on the Titanium from yesterday. 306, at least, of them. Obviously I managed not to notice at the time, but if I remember what I last did I will post an update. It is unusual!!.
It was iMx6 related. Hmm. Time: Thu Dec 14 20:33:23 2023 Location: Offset 00013d3c in module SharedCLibrary Current Wimp task: Task Obey Last app to start: CC -APCS 3/32bit/fpe3 -cpu 7 -memaccess +L22+S22-L41 -zM -zps1 -Wp -c -depend !Depend -DKERNEL -D_KERNEL -D__P(A)=A -DKLD_MODULE -DDISABLE_PACKED -DROM -IC:USB,TCPIPLibs:,C:,tbox: -ff -fah -o o.usbroothub_subr c.usbroothub_subr R0 = 0000001c R1 = 0000001c R2 = 00000000 R3 = 0000001d R4 = 00000000 R5 = 000cc2b0 R6 = 00000000 R7 = 000b43f4 R8 = 00000000 R9 = 000b5c50 R10 = 000b84b4 R11 = 000b8fb0 R12 = 01010101 R13 = 000b8f98 R14 = 80808080 R15 = fc16e41c DFAR = 0000001c Mode USR32 Flags nZCv if PSR = 60000010 fc16e3d4 : e59f1008 : LDR R1,&FC16E3E4 fc16e3d8 : e51a221c : LDR R2,[R10,#-540] fc16e3dc : e0821001 : ADD R1,R2,R1 fc16e3e0 : ea00001a : B &FC16E450 fc16e3e4 : fc18f38c : Undefined instruction fc16e3e8 : e52de004 : STR R14,[R13,#-4]! fc16e3ec : e2803001 : ADD R3,R0,#1 fc16e3f0 : e3100003 : TST R0,#3 fc16e3f4 : 0a000004 : BEQ &FC16E40C fc16e3f8 : e4d01001 : LDRB R1,[R0],#1 fc16e3fc : e3510000 : CMP R1,#0 fc16e400 : 0a000010 : BEQ &FC16E448 fc16e404 : e3100003 : TST R0,#3 fc16e408 : 1afffffa : BNE &FC16E3F8 fc16e40c : e51fc620 : LDR R12,&FC16DDF4 fc16e410 : e1a0e38c : MOV R14,R12,LSL #7 fc16e414 * e4901004 * LDR R1,[R0],#4 fc16e418 : e041200c : SUB R2,R1,R12 fc16e41c : e1c22001 : BIC R2,R2,R1 fc16e420 : e112000e : TST R2,R14 fc16e424 : 0afffffa : BEQ &FC16E414 fc16e428 : e31100ff : TST R1,#&FF ; ="ˇ" fc16e42c : 02400003 : SUBEQ R0,R0,#3 fc16e430 : 0a000004 : BEQ &FC16E448 fc16e434 : e3110cff : TST R1,#&FF00 fc16e438 : 02400002 : SUBEQ R0,R0,#2 fc16e43c : 0a000001 : BEQ &FC16E448 fc16e440 : e31108ff : TST R1,#&00FF0000 fc16e444 : 02400001 : SUBEQ R0,R0,#1 fc16e448 : e0400003 : SUB R0,R0,R3 fc16e44c : e49df004 : LDR PC,[R13],#4 fc16e450 : e3500006 : CMP R0,#6 R15 = fc16e41c = SharedCLibrary +13d44 = strlen +34 R14_usr = 80808080 is nowhere in RAM *fx0 RISC OS 5.29 (09 Dec 2023) *help sharedclibrary ==> Help on keyword SharedCLibrary Module is: C Library 6.22 (29 Nov 2023) * *where 00013d3c Address &00013D3C is at offset &0000BD3C in application memory * |