Subversion Repositories Kolibri OS

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
9988 21 d 17 h ace_dent / Optimize logo.png

Lossless optimization of png files:
- 2x `logo.png` slimmed 2623 bytes, ~5% saving.
 
9986 22 d 11 h hidnplayr /programs/develop/libraries/libcrash/mac/ Poly1305: Fix forgotten variable init  
9973 50 d 13 h rgimad /programs/develop/ktcc/trunk/libc.obj/include/ libc.obj: added _ksys_blitter (sysfn73), add forgotten static in libimg.h  
9952 84 d 9 h turbocat / NewLib:
- Duplicate functionality files removed;
- Refactoring of file handling functions;
- Removed broken impliments.
Gears (C + TinyGL):
- Removed because it duplicates an existing example on Fasm and uses unsupported wrappers on the KOS API.
KosJS:
- Removed. The MuJS port is too old and not used anywhere. Support is not profitable.
Backy:
- Removed useless GCC version. Support is not profitable.
DGen-SDL and SQLite3
- Fix after removing broken "dirent.h".
Fridge:
- Moving the KOS API wrapper to avoid compilation errors.
Udis86, uARM and 8086tiny:
- Fix after removing redundant "kos_LoadConsole.h".
 
9946 179 d 19 h akron1 /programs/develop/cedit/ CEdit:
- added line spacing setting
- disabled highlighting of anonymous labels
 
9927 235 d 17 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 (https://github.com/mkostoevr/clink) and one commit from the upstream epep repo (https://github.com/mkostoevr/epep).

clink:

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
relocation.

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.

epep:

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
field.

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.

epep_section_contains_extended_relocations:

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.

epep_get_section_extended_number_of_relocations:

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

epep_get_section_number_of_relocations_x:

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.

epep_get_section_relocation_by_index_x:

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.
 
9915 326 d 14 h akron1 /programs/develop/cedit/ CEdit: added [shift+mouse wheel] for horizontal scrolling;
search improved.
 
9913 350 d 12 h akron1 /programs/develop/cedit/ CEdit: bugfix  
9909 366 d 9 h akron1 /programs/develop/cedit/ CEdit:
- highlight @@:/@f/@b/@r
- numpad support
 
9908 366 d 15 h Doczom /programs/ Updated dll.load. Added support for loading the library using the full path.
Fixed makefile for Whether
 
9907 376 d 19 h akron1 /programs/develop/cedit/ CEdit: fixed whole word search  
9906 389 d 10 h akron1 /programs/develop/cedit/ CEdit: minor fix  
9904 396 d 12 h akron1 /programs/develop/cedit/ CEdit: optimization  
9903 398 d 16 h akron1 /programs/develop/cedit/ CEdit: reduced memory usage, small improvements  
9902 400 d 15 h akron1 /programs/develop/cedit/ CEdit: reduced memory usage  
9896 431 d 17 h akron1 / FB2 Reader: upload source, small changes  
9895 431 d 19 h akron1 /programs/develop/oberon07/ oberon07: bugfix  
9893 432 d 17 h akron1 /programs/develop/ oberon07: lower case by default  
9892 432 d 19 h akron1 /programs/develop/cedit/ CEdit: clipping text, small changes  
9891 440 d 21 h akron1 /programs/develop/cedit/ CEdit: minor fixes  

Show All