Commit Graph

221 Commits

Author SHA1 Message Date
turbocat
ec9a93aa6a libc.obj:
- now using vsscanf from BaseLibc;
 - delete extra pragma
 - disable sort includes(clang-format)

git-svn-id: svn://kolibrios.org@9868 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-08-02 13:30:05 +00:00
turbocat
a7f779193d libc.obj : added a very simple example of working with futexes
git-svn-id: svn://kolibrios.org@9867 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-08-02 05:39:06 +00:00
turbocat
92e48c928c ktcc: Delete old libc(libck) and old library loaders
git-svn-id: svn://kolibrios.org@9866 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-08-01 05:31:40 +00:00
turbocat
68a5f069bd ksys.h: fixed data types in futex wrappers
git-svn-id: svn://kolibrios.org@9864 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-07-29 20:55:22 +00:00
turbocat
7a21f11ebd Rollback to 9861.
git-svn-id: svn://kolibrios.org@9863 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-07-26 08:57:22 +00:00
turbocat
1e116c9679 libc.obj : Try fix "%o" scanf bug.
git-svn-id: svn://kolibrios.org@9862 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-07-26 08:32:48 +00:00
eastorwest
b3232bd390 fix sscanf
git-svn-id: svn://kolibrios.org@9861 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-07-23 15:02:09 +00:00
turbocat
880935ab1e Added builded kos32-tcc
git-svn-id: svn://kolibrios.org@9859 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-07-13 05:23:40 +00:00
turbocat
cf7da98be8 libc.obj set "tan" as global
git-svn-id: svn://kolibrios.org@9846 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-19 19:27:38 +00:00
turbocat
03b266bde4 ktcc: fixed relocatable object generation bug (parameter -r).
git-svn-id: svn://kolibrios.org@9845 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-19 19:06:29 +00:00
turbocat
3f52f417fc libc.obj: remove gcc dependency from tupfile.
git-svn-id: svn://kolibrios.org@9844 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-19 15:51:48 +00:00
turbocat
4f75a74c2c libc.obj: now builded to kos32-tcc
git-svn-id: svn://kolibrios.org@9843 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-19 15:47:00 +00:00
turbocat
a0f200534d ksys.h:
- Fixed formatting;
 - Added wrapper for sysfunction 65.

git-svn-id: svn://kolibrios.org@9836 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-15 10:45:06 +00:00
vitalkrilov
b66e372685 ksys.h:
- KSYS_SLOT_STATE_FREE has right value (9, not 6) now
- few style changes (snake_case)

git-svn-id: svn://kolibrios.org@9830 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-05 08:46:07 +00:00
vitalkrilov
c48822e03e sysfuncr.txt: added missing docs for SysFn77.10, SysFn77.11, SysFn77.13 from wiki
ksys.h:
- libc.obj's file synced with newlib's (r9788)
- added scancodes enum
- added wrappers for SysFn66.4 and SysFn66.5 (sys. hotkeys)
- added wrappers for SysFn77.0 -- SysFn77.3 (futexes)

git-svn-id: svn://kolibrios.org@9829 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-04 22:48:35 +00:00
Coldy
1ed1f3a5b1 libc.obj:
- headers update (now used true functions with attributes instead of pointers)
 - fixed some samples
kos_mbedtls:
microtar:
changes for compatible to latest version tcc and the libc.obj headers

git-svn-id: svn://kolibrios.org@9812 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-10 18:58:40 +00:00
Coldy
6753818fc0 Rollback to previous revision (unforeseen consequences)
git-svn-id: svn://kolibrios.org@9811 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-09 18:19:05 +00:00
Coldy
75d51a28c0 libc.obj: headers update (now used true functions with attributes instead of pointers)
git-svn-id: svn://kolibrios.org@9810 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-09 17:34:55 +00:00
turbocat
e9318b1780 ksys.h for tcc (duplicate r9784)
git-svn-id: svn://kolibrios.org@9786 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-25 20:05:53 +00:00
Coldy
4faa50bec6 fix autobuild
git-svn-id: svn://kolibrios.org@9783 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-24 17:46:31 +00:00
Coldy
db785142be ktcc: added __attribute__((dllimport)) support
git-svn-id: svn://kolibrios.org@9782 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-24 17:28:28 +00:00
turbocat
c5ebb23061 ktcc: removed old files
git-svn-id: svn://kolibrios.org@9777 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-21 20:50:12 +00:00
turbocat
2a2a059aa9 libc.obj: added tan.asm
git-svn-id: svn://kolibrios.org@9775 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-20 19:10:24 +00:00
turbocat
82646d764b libc.obj:
- Added inttypes header;
 - Fixed warnings in mouse api wrappers;
 - Preparation for build only via tcc+fasm.


git-svn-id: svn://kolibrios.org@9774 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-20 19:07:54 +00:00
vitalkrilov
eeb3d0e5b9 libc.obj: updated libc.def, fixed bug with log10
git-svn-id: svn://kolibrios.org@9773 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-20 17:30:33 +00:00
vitalkrilov
fda5ad66db libc.obj: added log2, log10, round functions
git-svn-id: svn://kolibrios.org@9772 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-20 17:08:10 +00:00
turbocat
56ff702799 ksys.h:
- Added to Newlib and should be in sync with the file from libc.obj; 
- Added new wrappers.

git-svn-id: svn://kolibrios.org@9767 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-15 14:02:43 +00:00
turbocat
99922e4c2c Update skipped files in previous commit
git-svn-id: svn://kolibrios.org@9766 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-15 09:11:49 +00:00
turbocat
cde4fa851d libc.obj:
- Formatted by clang-format (WebKit-style).
- Removed unnecessary errno linux. 
- Added KOS error codes. 
- String functions have been replaced with more optimal ones for x86. 
- Changed wrappers for 70 sysfunction.

git-svn-id: svn://kolibrios.org@9765 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-15 09:00:55 +00:00
vitalkrilov
dff8056cd6 Graph (branch: tcc_current): now you can provide a filename, when calling a program from shell, which should be opened on start.
tcc: ksys.h: added "const" to string argument of _ksys_debug_puts(...).

git-svn-id: svn://kolibrios.org@9764 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-13 00:31:51 +00:00
vitalkrilov
705c0883ac libc.obj: added missing sqrt, cosh functions
libc.def: added sqrt, cosh, sin, tan functions

git-svn-id: svn://kolibrios.org@9761 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-10 23:56:16 +00:00
turbocat
a89837dd81 libc.obj:
- Added pipe example;
 - Fixed Makefile.

git-svn-id: svn://kolibrios.org@9725 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-22 22:16:42 +00:00
Coldy
d37b797def libc.obj: Update fasm sample for auto load & linking
git-svn-id: svn://kolibrios.org@9718 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-15 16:43:51 +00:00
Coldy
5b5a240f91 tcc: added funcs in defs, added ini.def, tiny.o
git-svn-id: svn://kolibrios.org@9697 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-07 16:58:03 +00:00
turbocat
36918e3217 libc.obj:
- Update crt0 
 - Removed autoloader generation(use libc.def).

git-svn-id: svn://kolibrios.org@9666 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-24 17:43:00 +00:00
turbocat
0e9c10036a ktcc set kx folder as bin
git-svn-id: svn://kolibrios.org@9663 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-24 17:01:24 +00:00
turbocat
5ad2a02ead ktcc: delete old bin files
git-svn-id: svn://kolibrios.org@9662 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-24 16:57:30 +00:00
turbocat
503ef75f8a ksys.h : style violation fixed.
git-svn-id: svn://kolibrios.org@9656 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-18 19:09:54 +00:00
turbocat
eb034ed6a1 ksys.h : added missing wrapper for sf 66.1 (thanks Vitalkrilov).
git-svn-id: svn://kolibrios.org@9655 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-18 19:05:45 +00:00
turbocat
c156c16675 ktcc: Update libs and defs in kx dir.
git-svn-id: svn://kolibrios.org@9622 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-12 18:19:04 +00:00
turbocat
b8ce8e4da0 ktcc: update old boxlib loader
git-svn-id: svn://kolibrios.org@9621 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-12 18:13:55 +00:00
turbocat
0d9c69c2a0 libc.obj:
- Unified stdcall and cdecl;
 - Fixed clayer to use def format;
 - Fixed build examples.


git-svn-id: svn://kolibrios.org@9620 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-12 18:09:37 +00:00
turbocat
c5f03d0dac ktcc:
- Fixed autolink bug;
 - Mixed up members of IMAGE_MEOS_FILE_HEADER structure fixed.

git-svn-id: svn://kolibrios.org@9619 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-12 17:45:45 +00:00
turbocat
4f51865ee3 ktcc: Fixed tcc_find_symbol_me.
git-svn-id: svn://kolibrios.org@9617 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-12 00:24:09 +00:00
turbocat
b50d4e8c3f ktcc:
- Added autolink libc.def and libtcc1;
- Fixed find crt0.o with arg -B (MUST BE REVISED);

git-svn-id: svn://kolibrios.org@9615 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-11 20:39:28 +00:00
vitalkrilov
46d9482bb0 Fixed misuse of "/rd/1" (changed to "/sys") for all other programs
git-svn-id: svn://kolibrios.org@9587 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-07 12:42:44 +00:00
turbocat
e08c6968ef ktcc: rollback to r9529
git-svn-id: svn://kolibrios.org@9558 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-02 12:16:17 +00:00
turbocat
5c8619e65c ktcc:
- fixed bug with crt0.o search when using -B parameter.
 - removed support for tcc.conf.

git-svn-id: svn://kolibrios.org@9557 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 20:05:13 +00:00
turbocat
b91e4571a3 ktcc: fixed crt0.asm build and added to lib folder
git-svn-id: svn://kolibrios.org@9556 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:53:09 +00:00
turbocat
c62ef7970d libc.obj: Use crt0.asm by Coldy as default
git-svn-id: svn://kolibrios.org@9554 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:38:32 +00:00