Open Watcom Linker Version 2.0 beta Sep 21 2015 10:22:11 (32-bit) Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved. Created on: 15/10/18 03:14:40 Executable Image: pcxtest.exe creating a DOS executable +------------+ | Groups | +------------+ Group Address Size ===== ======= ==== DGROUP 0b85:0000 0000ed60 +--------------+ | Segments | +--------------+ Segment Class Group Address Size ======= ===== ===== ======= ==== pcxtest_TEXT CODE AUTO 0000:0000 00000328 _TEXT CODE AUTO 0000:0330 00008595 bitmap_TEXT CODE AUTO 0000:88d0 00000651 planar_TEXT CODE AUTO 0000:8f30 00000275 modex16_TEXT CODE AUTO 0000:91b0 0000258c 16text_TEXT CODE AUTO 0000:b740 0000010d FAR_DATA FAR_DATA AUTO 0b84:000d 00000000 _NULL BEGDATA DGROUP 0b85:0000 00000020 _AFTERNULL BEGDATA DGROUP 0b87:0000 00000002 CONST DATA DGROUP 0b87:0002 00000076 CONST2 DATA DGROUP 0b8e:0008 00000132 _DATA DATA DGROUP 0ba2:0000 0000032a XIB DATA DGROUP 0bd4:000a 00000000 XI DATA DGROUP 0bd4:000a 0000002a XIE DATA DGROUP 0bd7:0004 00000000 YIB DATA DGROUP 0bd7:0004 00000000 YI DATA DGROUP 0bd7:0004 0000000c YIE DATA DGROUP 0bd8:0000 00000000 STRINGS DATA DGROUP 0bd8:0000 00000000 DATA DATA DGROUP 0bd8:0000 00000000 _emu_init_start EMU DGROUP 0bd8:0000 00000000 _emu_init_end EMU DGROUP 0bd8:0000 00000000 _BSS BSS DGROUP 0bd8:0000 00000d70 STACK STACK DGROUP 0caf:0000 0000dac0 +----------------+ | Memory Map | +----------------+ * = unreferenced symbol + = symbol only referenced locally Address Symbol ======= ====== Module: pcxtest.o(/dos/z/16/src/pcxtest.c) 0000:0100 main_ 0b85:0530+ _gvar Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm) 0000:0335 __STK 0000:0355* __STKOVERFLOW_ Module: gfx.lib(/dos/z/16/src/lib/bitmap.c) 0000:8c5a bitmapLoadPcx_ 0000:8db6* bitmapLoadPcxTiles_ Module: gfx.lib(/dos/z/16/src/lib/planar.c) 0000:8f30 planar_buf_from_bitmap_ 0000:9050+ planar_buf_alloc_ 0000:914a* planar_buf_free_ Module: gfx.lib(/dos/z/16/src/lib/modex16.c) 0000:93f0 VGAmodeX_ 0000:9482+ vgaGetMode_ 0000:94c2+ modexEnter_ 0000:9742* modexLeave_ 0000:975a+ modexsetBaseXMode_ 0000:9798 modexDefaultPage_ 0000:9878* modexNextPage_ 0000:9944* modexNextPageFlexibleSize_ 0000:9a12* modexShowPage_ 0000:9b0e* modexPanPage_ 0000:9b5e* modexSelectPlane_ 0000:9b82 modexClearRegion_ 0000:9c9a oldDrawBmp_ 0000:9e00* CDrawBmp_ 0000:9f64 modexDrawBmp_ 0000:9fca+ modexDrawBmpRegion_ 0000:a134* modexDrawPlanarBuf_ 0000:a152 modexDrawSprite_ 0000:a1b8+ modexDrawSpriteRegion_ 0000:a330 modexCopyPageRegion_ 0000:a49a* modexFadeOn_ 0000:a4ca* modexFadeOff_ 0000:a4f8* modexFlashOn_ 0000:a526* modexFlashOff_ 0000:a5f6+ modexPalSave_ 0000:a64c modexNewPal_ 0000:a69c* modexLoadPalFile_ 0000:a77e* modexSavePalFile_ 0000:a7f6* modexPalBlack_ 0000:a820* modexPalWhite_ 0000:a84a+ modexPalUpdate_ 0000:adba modexPalUpdate1_ 0000:ae34* modexPalUpdate0_ 0000:ae80+ chkcolor_ 0000:b198+ modexputPixel_ 0000:b226* modexgetPixel_ 0000:b2ac* modexhlin_ 0000:b330* modexprint_ 0000:b4ca* modexprintbig_ 0000:b646* pdump_ 0000:b6a6* cls_ 0000:b714+ modexWaitBorder_ 0b85:0204 _VGA Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm) 0000:0379 __PIA 0000:0372* __PIS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c) 0000:0390 kbhit_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c) 0000:03a7 printf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) 0b85:0000* __nullarea 0b85:0218* __ovlflag 0b85:0219* __intno 0b85:021a* __ovlvec 0000:03d6 _cstart_ 0000:04a9* _Not_Enough_Memory_ 0000:05db __exit_ 0000:05fa __do_exit_with_msg__ 0000:0657 __GETDS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fltused.c) 0b85:021e _fltused_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm) 0000:0662 _big_code_ 0000:0662* CodeModelMismatch Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm) 0b85:0220 __8087 0b85:0221 __real87 0b85:0222 __dos87emucall 0b85:0224 __dos87real Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 0000:0662* __exit_with_msg_ 0000:0667 __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) 0b85:0226 __curbrk 0b85:022e __STACKLOW 0b85:0230 __STACKTOP 0b85:0232 __cbyte 0b85:0234 __child 0b85:0236 __no87 0b85:0243 ___FPE_handler 0b85:0228 __psp 0b85:0237 __get_ovl_stack 0b85:023b __restore_ovl_stack 0b85:023f __close_ovl_file 0b85:0247 __LpCmdLine 0b85:024b __LpPgmName 0b85:022a __osmajor 0b85:022b __osminor 0b85:022c __osmode 0b85:022d __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c) 0000:0686 fread_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 0000:09fd __doclose_ 0000:0b47 __shutdown_stream_ 0000:0b61 fclose_ 0b85:0f68+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 0000:0bcc+ _null_exit_rtn_ 0000:0bcc+ __null_int23_exit_ 0000:0bcd exit_ 0000:0bee+ _exit_ 0b85:0250+ ___int23_exit 0b85:0254 ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c) 0000:0d28 fseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c) 0000:0f20 __fill_buffer_ 0000:116f fgetc_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c) 0000:12b6+ __open_flags_ 0000:1577+ _fsopen_ 0000:15de fopen_ 0000:1701* freopen_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 0000:178b _fmalloc_ 0000:178b malloc_ 0b85:0258+ ___fheap 0b85:025a ___fheapRover 0b85:025c ___LargestSizeB4Rover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) 0b85:025e ___iob 0b85:0f6c ___OpenStreams 0b85:0f70 ___ClosedStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c) 0000:1900 fprintf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c) 0000:192f _ffree_ 0000:192f free_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c) 0000:199c+ int86x_ 0000:1b1f int86_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c) 0000:1b4c fwrite_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c) 0000:1ec5 rand_ 0000:1f07* srand_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm) 0000:1f2a __I4M 0000:1f2a __U4M Module: gfx.lib(/dos/z/16/src/lib/16text.c) 0000:b7b6* textInit_ 0b85:0f74 _romFonts Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c) 0000:1f5c __fprtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c) 0000:20af __CMain Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 0000:2115 __InitRtns 0000:2115* __FInitRtns 0000:2170 __FiniRtns 0000:2170* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) 0b85:03ca ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 0000:21d4 __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setefg.c) 0000:21d5 __setEFGfmt_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c) 0000:220d* _fpreset_ 0000:2238 __init_8087_ 0000:226b+ __default_sigfpe_handler_ 0000:22c0 __chk8087_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 0000:2330 __EnterWVIDEO_ 0b85:03ea+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 0000:2354* __get_errno_ptr_ 0b85:0f8c _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c) 0000:235b __ioalloc_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c) 0000:24e9 __qread_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c) 0000:2509 __lseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c) 0000:2543 __close_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c) 0000:2579 __flush_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c) 0000:27c2 __freefp_ 0000:2863 __purgefp_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm) 0000:28a4 __PTC Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm) 0000:28d8 __PTS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c) 0000:2909 lseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c) 0000:293a tell_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c) 0000:294b __flushall_ 0000:29df* flushall_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c) 0000:29e5 getche_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 0000:29ff* __set_commode_ 0b85:03ec __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) 0b85:03ee __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 0000:2a0b tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c) 0000:2c3a* open_ 0000:2c71 sopen_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c) 0000:2c9e __chktty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c) 0000:2cfd __allocfp_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c) 0000:2eb0 __MemAllocator 0000:2f7a __MemFree Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c) 0000:30d7 __GrowSeg_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c) 0000:324d __AllocSeg_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c) 0000:333c __fmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 0000:333f _nmalloc_ 0b85:03f0 ___nheapbeg 0b85:03f2 ___MiniHeapRover 0b85:03f4 ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c) 0000:3419* _heapgrow_ 0000:3419* _fheapgrow_ 0000:341a _nheapgrow_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c) 0000:3492 __InitFiles_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c) 0000:36c6* fcloseall_ 0000:36cd __full_io_exit_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 0000:36d7 _nfree_ 0b85:0f8e+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c) 0000:37d2 intr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c) 0000:37e6 segread_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c) 0000:384c __qwrite_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c) 0000:38ac fputc_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c) 0000:3a81 __prtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) 0b85:0f90 ____Argv 0b85:0f94 ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) 0b85:03f6 __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) 0b85:04fa __Start_XI 0b85:0524 __End_XI 0b85:0524 __Start_YI 0b85:0530 __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) 0b85:03f8 ___EFG_printf 0b85:03fc ___EFG_scanf Module: /dos/fdos/watcom2/lib286/math87h.lib(efgfmt.c) 0000:4c05 _EFG_Format_ Module: /dos/fdos/watcom2/lib286/math87h.lib(cnvs2d.c) 0000:4dd7 __cnvs2d_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c) 0b85:0400 __8087cw Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c) 0b85:0402 ___Save8087 0b85:0406 ___Rest8087 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c) 0000:4df7 __GrabFP87_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm) 0000:4e2a* __init_8087_emu 0000:4e30 __x87id Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c) 0000:4e8d* __dosretax 0000:4e92* __dosret0 0000:4e99 __set_errno_dos_ 0000:4f01* __set_errno_dos_reterr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 0000:4f0c __GetIOMode_ 0000:4f41 __SetIOMode_nogrow_ 0b85:041e ___NFiles 0b85:0420 ___init_mode 0b85:0448 ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c) 0000:4f76 fsync_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c) 0000:4f7b+ __grow_iomode_ 0000:5062+ __shrink_iomode_ 0000:50a3 __SetIOMode_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c) 0000:514a _dos_open_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 0000:5170 isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 0000:518c* __get_doserrno_ptr_ 0b85:0f98 __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) 0b85:044c ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 0000:5193 _dos_creat_ 0000:51b7* _dos_creatnew_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 0000:51d8* _heapenable_ 0b85:044e ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c) 0000:51e9 __nmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) 0000:5271 __LastFree_ 0000:52eb __ExpandDGROUP_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr) 0000:53fc _DoINTR_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c) 0000:5775 wctomb_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c) 0000:57c0+ utoa_ 0000:5861 itoa_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c) 0000:58ab strupr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) 0b85:0450 ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 0000:58e0* _ismbblead_ 0b85:0f9a ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c) 0000:58fc ulltoa_ 0000:5a39* lltoa_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c) 0000:5aaa ultoa_ 0000:5b68* ltoa_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rtcntrl.c) 0000:5bb6* _SetLD64bit_ 0000:5bc1* _SetLD80bit_ 0000:5bcc _LDisDouble_ Module: /dos/fdos/watcom2/lib286/math87h.lib(ldcvt.c) 0000:5d31 _LDScale10x_ 0000:6609 __LDcvt_ Module: /dos/fdos/watcom2/lib286/noemu87.lib(emustub.asm) 0000:0000* FJSRQQ 0000:0000* FISRQQ 0000:0000* FIERQQ 0000:0000 FIDRQQ 0000:0000 FIWRQQ 0000:0000* FJCRQQ 0000:0000* FJARQQ 0000:0000* FICRQQ 0000:0000* FIARQQ 0000:6de6* __init_87_emulator Module: /dos/fdos/watcom2/lib286/math87h.lib(strtod.c) 0000:7617+ __Strtold_ 0000:7856 strtod_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpe87.asm) 0000:79fc __Init_FPE_handler_ 0000:7a35 __Fini_FPE_handler_ 0000:7a6c* __FPEHandler Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c) 0000:7cfe* _dos_close_ 0000:7d0c _dos_commit_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c) 0000:7d1b* _frealloc_ 0000:7d1b realloc_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c) 0000:7df7 __ChkTTYIOMode_ 0000:7e65* __IOMode_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm) 0000:7e76 __doserror_ 0000:7e84* __doserror1_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c) 0000:7e90* sbrk_ 0000:7ea0 __brk_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) 0b85:0072 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 0000:7f46 __mbinit_ 0b85:04f6+ ___MBCodePage Module: /dos/fdos/watcom2/lib286/math87h.lib(ldclass.c) 0000:8021 __LDClass_ 0000:80a7* _FLClass_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm) 0000:80bc __I4D 0000:810b* __U4D Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c) 0b85:0098 __IsTable Module: /dos/fdos/watcom2/lib286/math87h.lib(bufld086.asm) 0000:8190 __ZBuf2LD Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c) 0000:8258* __set_EDOM_ 0000:8264 __set_ERANGE_ 0000:8270* __set_EINVAL_ Module: /dos/fdos/watcom2/lib286/math87h.lib(inf_nan.c) 0b85:019a* ___f_infinity 0b85:019e* ___f_posqnan 0b85:01a2 ___d_infinity 0b85:01aa ___d_posqnan 0b85:01b2* ___ld_infinity 0b85:01ba* ___ld_posqnan Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(hugeval.c) 0b85:01c2 __HugeValue Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c) 0b85:04f8 ___FPE_int Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c) 0000:828a* _msize_ 0000:82a5 _fmsize_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c) 0000:82b6 __HeapManager_expand_ 0000:87bf _nexpand_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c) 0000:8812 _fexpand_ 0000:8812* _expand_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c) 0000:8847 _bfree_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c) 0000:886c _bexpand_ +--------------------+ | Libraries Used | +--------------------+ gfx.lib /dos/fdos/watcom2/lib286/noemu87.lib /dos/fdos/watcom2/lib286/math87h.lib /dos/fdos/watcom2/lib286/dos/clibh.lib +-----------------------+ | Linker Statistics | +-----------------------+ Stack size: dac0 (56000.) Memory size: 0001a5b0 (107952.) Entry point address: 0000:03d6 Link time: 00:00.00