Hello guys, I've compiled my library using the new Mingw32ce toolchain (gcc
4.4.0 based).
Unlike the old one (gcc 4.1.2 based), now my library depends on
libgcc_s_sjlj-1.dll. Why?
Is there a way (e.g. compiler/link switches) to remove such dependencies?
Here's objdump result:
./lib/wince/arm11/sre/standalone/libAmanithVG.dll: file format
pei-arm-wince-little
Characteristics 0x630e
executable
line numbers stripped
symbols stripped
32 bit words
debugging information removed
DLL
Time/Date Mon Apr 26 16:03:29 2010
Magic 010b (PE32)
MajorLinkerVersion 2
MinorLinkerVersion 56
SizeOfCode 000baa00
SizeOfInitializedData 00009a00
SizeOfUninitializedData 00000200
AddressOfEntryPoint 00001000
BaseOfCode 00001000
BaseOfData 000bc000
ImageBase 00010000
SectionAlignment 00001000
FileAlignment 00000200
MajorOSystemVersion 4
MinorOSystemVersion 0
MajorImageVersion 1
MinorImageVersion 0
MajorSubsystemVersion 3
MinorSubsystemVersion 0
Win32Version 00000000
SizeOfImage 000ca000
SizeOfHeaders 00000400
CheckSum 000c6fcd
Subsystem 00000009 (Wince CUI)
DllCharacteristics 00000000
SizeOfStackReserve 00200000
SizeOfStackCommit 00001000
SizeOfHeapReserve 00100000
SizeOfHeapCommit 00001000
LoaderFlags 00000000
NumberOfRvaAndSizes 00000010
The Data Directory
Entry 0 000c5000 00000b38 Export Directory [.edata (or where ever we found
it)]
Entry 1 000c6000 0000060c Import Directory [parts of .idata]
Entry 2 000c7000 00000434 Resource Directory [.rsrc]
Entry 3 00000000 00000000 Exception Directory [.pdata]
Entry 4 00000000 00000000 Security Directory
Entry 5 000c8000 00001a58 Base Relocation Directory [.reloc]
Entry 6 00000000 00000000 Debug Directory
Entry 7 00000000 00000000 Description Directory
Entry 8 00000000 00000000 Special Directory
Entry 9 00000000 00000000 Thread Storage Directory [.tls]
Entry a 00000000 00000000 Load Configuration Directory
Entry b 00000000 00000000 Bound Import Directory
Entry c 00000000 00000000 Import Address Table Directory
Entry d 00000000 00000000 Delay Import Directory
Entry e 00000000 00000000 CLR Runtime Header
Entry f 00000000 00000000 Reserved
There is an import table in .idata at 0xd6000
The Import Tables (interpreted .idata section contents)
vma: Hint Time Forward DLL First
Table Stamp Chain Name Thunk
000c6000 000c603c 00000000 00000000 000c6578 000c6138
DLL Name: COREDLL.dll
vma: Hint/Ord Member-Name Bound-To
c6234 746 MessageBoxW
c6242 770 OutputDebugStringW
c6258 1125 TerminateProcess
c626c 1166 VirtualProtect
c627e 1167 VirtualQuery
c628e 1274 _fcloseall
c629c 1382 acos
c62a4 1385 atan2
c62ac 1390 ceil
c62b4 1393 cos
c62ba 1397 exp
c62c0 1400 fclose
c62ca 1401 feof
c62d2 1403 fflush
c62dc 1406 fgets
c62e4 1409 floor
c62ec 1413 fopen
c62f4 1420 free
c62fc 1508 malloc
c6306 1509 mbstowcs
c6312 1512 memcpy
c631c 1514 memset
c6326 1550 pow
c632c 1557 realloc
c6336 1561 sin
c633c 1565 sqrt
c6344 1571 strcmp
c634e 1572 strcpy
c6358 1574 strlen
c6362 1577 strncpy
c636c 1642 wcslen
c6376 1657 wsprintfW
000c6014 000c60c0 00000000 00000000 000c65f8 000c61bc
* DLL Name: libgcc_s_sjlj-1.dll
vma: Hint/Ord Member-Name Bound-To
c6384 22 __adddf3
c6390 23 __addsf3
c639c 40 __divdf3
c63a8 41 __divdi3
c63b4 43 __divsf3
c63c0 44 __divsi3
c63cc 48 __eqdf2
c63d8 49 __eqsf2
c63e4 50 __extendsfdf2
c63f4 55 __fixsfdi
c6400 56 __fixsfsi
c640c 60 __fixunssfsi
c641c 63 __floatsidf
c642c 64 __floatsisf
c643c 68 __floatunsisf
c644c 71 __gesf2
c6458 73 __gtsf2
c6464 75 __lesf2
c6470 78 __ltsf2
c647c 80 __modsi3
c6488 82 __muldf3
c6494 85 __mulsf3
c64a0 93 __nesf2
c64ac 106 __subdf3
c64b8 107 __subsf3
c64c4 110 __truncdfsf2
c64d4 112 __udivdi3
c64e0 114 __udivsi3
c64ec 116 __umodsi3*
------------------------------------------------------------------------------
_______________________________________________
Cegcc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel