Subversion Repositories Kolibri OS


Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
9940 8 h 26 m IgorA /programs/bcc32/ bcc32: add rasterworks example  
9936 10 d 19 h dunkaist /programs/demos/ScreenRuler/ Rename TUPFILE.LUA to Tupfile.lua

Yes, autobuild is case-sensitive.
9935 10 d 20 h spaceraven /programs/demos/ScreenRuler/ Deleting binary; correcting small mistakes in ScreenRuler.asm  
9934 10 d 22 h spaceraven /programs/demos/ScreenRuler/ New program - Screen Ruler, for measuring distance between 2 pixel on screen.  
9933 20 d 13 h dunkaist /programs/system/taskbar/trunk/ [taskbar] Add LCtrl+Esc hotkey to open/close menu  
9927 47 d 0 h boppan /programs/develop/clink/ [clink] Make it able to read and write more than 64k - 1 COFF relocation

These are changes from two commits from the upstream clink repo ( and one commit from the upstream epep repo (


Commit e63ed12ead17e47d77e848da0e7b9f4dd3ad5127
Bugfix: Make it able to write more than 64k - 1 COFF relocations

If the relocation count is greater than 0xffff then it can't fit
in the NumberOfRelocations field of a section header. In order to
specify greater relocation count IMAGE_SCN_LNK_NRELOC_OVFL flag
should be added to Characteristics and the actual relocation count
should be written into VirtualAddress field of the first COFF

Commit 328fc3112a30fcaa808f2cad34028a6507d602a3
Bugfix: Make it able to read more than 64k - 1 COFF relocations

New EPEP API allows to read more than 64k - 1 relocations. Use it
when reading relocation count for filling SectionInfo and when
reading relocations for wriring the output file.


Commit 3bed4e348a486c346d0a452c58c1d85e1805c09d
Feature: Higher-level COFF relocations API

Number of COFF relocations of a section is stored in the 16-bit
NumberOfRelocations field of a section header. If a COFF object has
more than 2^16 - 1 relocations, then the value does not fit in the

To solve this problem, IMAGE_SCN_LNK_NRELOC_OVFL flag of a section
header has been introduced. If this flag is set for the section,
then the actual number of relocations is stored in the
VirtualAddress field of the first relocation.

If the flag is set, then NumberOfRelocations field of the section
header should be equal to 0xffff, othervice the linker should give
an error.

So this patch introduces few functions adressing this mechanism.


Checks whether the section has more than 2^16 - 1 relocations.
Retrns error if the IMAGE_SCN_LNK_NRELOC_OVFL flag is set, but
the NumberOfRelocations field is not equal to 0xffff.


Reads the number of COFF relocations from the VirtualAddress
field of the first COFF relocation.


Gives the number of meaningful relocations of the section.

If the section has less than 2^16 relocations, then returns the
value of the NumberOfRelocations field of the section header,
othervice reads the number of relocations from the first COFF
relocation, but: since the first relocation in this case is not
meaningful, gives the actual number of relocations minus one.
This is used in the function documented below.

Returns 1 in the last argument if the section contains extended
number of relocations, 0 othervice.


If the section has less than 2^16 relocations, then just reads
a relocation by the given index. In case if the section has
extended number of relocations, the first relocation is not
meaningful, so it is skipped, and the relocation at index + 1
is read instead.
9916 106 d 9 h Doczom /programs/network/ftpd/ FTPd: added the DELE and STOR functions, fixed the output code for the new connection  
9915 137 d 22 h akron1 /programs/develop/cedit/ CEdit: added [shift+mouse wheel] for horizontal scrolling;
search improved.
9914 144 d 3 h qullarwee /programs/other/mousepos/ Upload "mousepos" utility  
9913 161 d 20 h akron1 /programs/develop/cedit/ CEdit: bugfix  
9912 163 d 17 h akron1 / FB2 Reader: fixed rolling up  
9909 177 d 17 h akron1 /programs/develop/cedit/ CEdit:
- highlight @@:/@f/@b/@r
- numpad support
9908 177 d 23 h Doczom /programs/ Updated dll.load. Added support for loading the library using the full path.
Fixed makefile for Whether
9907 188 d 3 h akron1 /programs/develop/cedit/ CEdit: fixed whole word search  
9906 200 d 17 h akron1 /programs/develop/cedit/ CEdit: minor fix  
9904 207 d 20 h akron1 /programs/develop/cedit/ CEdit: optimization  
9903 210 d 0 h akron1 /programs/develop/cedit/ CEdit: reduced memory usage, small improvements  
9902 211 d 23 h akron1 /programs/develop/cedit/ CEdit: reduced memory usage  
9898 233 d 2 h akron1 / FB2 Reader: refactoring, reduced memory usage for images, small improvements  
9896 243 d 1 h akron1 / FB2 Reader: upload source, small changes  
9895 243 d 3 h akron1 /programs/develop/oberon07/ oberon07: bugfix  
9893 244 d 1 h akron1 /programs/develop/ oberon07: lower case by default  
9892 244 d 3 h akron1 /programs/develop/cedit/ CEdit: clipping text, small changes  
9891 252 d 5 h akron1 /programs/develop/cedit/ CEdit: minor fixes  
9887 271 d 5 h Doczom /programs/cmm/ drvinst: small bug fixed  
9885 299 d 17 h Doczom /programs/testing/kbd/trunk/ KBD: fixing a program crash on unsupported devices  
9883 340 d 18 h Doczom /programs/system/amd_temp_view/ AMDtemp: fix parser and code style. TODO: add function for device subsystem  
9877 368 d 22 h Doczom /programs/system/docky/trunk/ docky.asm: fix timeout for connect to @reshare  
9876 376 d 16 h Doczom /programs/system/docky/trunk/ docky.asm: added notify from error load @RESHARE  
9873 386 d 18 h akron1 /programs/develop/oberon07/ oberon07:
- faster loading of real constants into registers
- deleting unnecessary files
9870 404 d 17 h Doczom /programs/system/amd_temp_view/ AMDtemp: updated the interface and the function of saving graph. The program uses futex.
TODO: fix parser and add check drivers list
9868 416 d 2 h turbocat /programs/develop/ktcc/trunk/libc.obj/ libc.obj:
- now using vsscanf from BaseLibc;
- delete extra pragma
- disable sort includes(clang-format)
9867 416 d 10 h turbocat /programs/develop/ktcc/trunk/libc.obj/samples/ libc.obj : added a very simple example of working with futexes  
9866 417 d 10 h turbocat /programs/develop/ktcc/trunk/ ktcc: Delete old libc(libck) and old library loaders  
9864 419 d 18 h turbocat /programs/develop/ktcc/trunk/libc.obj/include/sys/ ksys.h: fixed data types in futex wrappers  
9863 423 d 6 h turbocat /programs/develop/ktcc/trunk/libc.obj/source/stdio/ Rollback to 9861.  
9862 423 d 7 h turbocat /programs/develop/ktcc/trunk/libc.obj/source/stdio/ libc.obj : Try fix "%o" scanf bug.  
9861 426 d 0 h eastorwest /programs/develop/ktcc/trunk/libc.obj/source/stdio/ fix sscanf  
9860 429 d 19 h Doczom /programs/develop/libraries/box_lib/trunk/doc/ added documentation for the frame element  
9859 436 d 10 h turbocat /programs/develop/ktcc/trunk/bin/ Added builded kos32-tcc