Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | malloc: inline the tag accessor functionscore32 | H. Peter Anvin | 2009-07-05 | 2 | -24/+23 |
| | | | | | | | Accessor functions are a good thing, but we can inline them to reduce the cost of accessing them. Signed-off-by: H. Peter Anvin <hpa@zytor.com> | ||||
* | elflink: allow small alignment to posix_memalign() | H. Peter Anvin | 2009-07-05 | 1 | -0/+2 |
| | | | | | | | | | POSIX says the smallest permitted alignment passed to posix_memalign() is sizeof(void *). It doesn't make any sense, however, so for our purpose, just ignore it (we'll round up the alignment anyway by pure necessity.) Signed-off-by: H. Peter Anvin <hpa@zytor.com> | ||||
* | elflink: fix functions with () instead of (void) | H. Peter Anvin | 2009-07-05 | 4 | -11/+18 |
| | | | | | | | | In C++, () is used to indicate a function with no parameters. In C, this is spelled (void). In C, () means the same thing as (...) which really isn't what we want. Signed-off-by: H. Peter Anvin <hpa@zytor.com> | ||||
* | elf: Changed dynamic modules extension to .c32 | Stefan Bucur | 2009-07-06 | 7 | -41/+20 |
| | | | | | | Also it is no longer compulsory that dynamic modules reside in the dyn/ directory. The sample modules are still placed there, therefore the full path needs to be specified in the COM32R testing console. | ||||
* | elf: Replaced symbol offsets with module base address. | Stefan Bucur | 2009-07-05 | 5 | -31/+10 |
| | |||||
* | Added support in shallow modules to offset symbols. | Stefan Bucur | 2009-07-04 | 6 | -8/+38 |
| | | | | | | The symbol values can be offset so that they could match a memory region, in case it is created dynamically and the symbol table does not include the offsets. | ||||
* | Fixed a merge issue with the previous commit | Stefan Bucur | 2009-07-03 | 3 | -2/+41 |
| | |||||
* | Merged ELF linking from elflink | Stefan Bucur | 2009-07-03 | 31 | -243/+3801 |
|\ | |||||
| * | Fixed the COM32 lib Makefile in order to keep up with the latest SYSLINUX ↵HEADelflink | Stefan Bucur | 2009-03-15 | 1 | -5/+3 |
| | | | | | | | | version. | ||||
| * | elflink: Cleaned up makefiles. | Stefan Bucur | 2009-03-15 | 3 | -132/+69 |
| | | |||||
| * | Added source comments to some internal routines. | Stefan Bucur | 2009-03-15 | 2 | -5/+46 |
| | | |||||
| * | Moved the elfutils.h header in a private location. | Stefan Bucur | 2009-03-15 | 6 | -8/+9 |
| | | |||||
| * | Added source comments to the execution API header. | Stefan Bucur | 2009-03-15 | 1 | -0/+64 |
| | | |||||
| * | Added source comments for the COM32 test module. | Stefan Bucur | 2009-03-15 | 1 | -4/+41 |
| | | |||||
| * | Implemented the 'list' command in the CLI. | Stefan Bucur | 2009-03-15 | 6 | -12/+55 |
| | | |||||
| * | Exported the module list head + iterator defined. | Stefan Bucur | 2009-03-15 | 5 | -11/+17 |
| | | |||||
| * | Shrinked the COM32 module from 34K to 25K. | Stefan Bucur | 2009-03-15 | 2 | -20/+30 |
| | | |||||
| * | Fixed a bug that permitted duplicate modules. | Stefan Bucur | 2009-03-15 | 4 | -4/+20 |
| | | |||||
| * | Moved the execution layer API in klibc tree. | Stefan Bucur | 2009-03-15 | 5 | -6/+7 |
| | | |||||
| * | Made a message appear for invalid commands in CLI. | Stefan Bucur | 2009-03-15 | 1 | -0/+2 |
| | | |||||
| * | Fixed a bug that permitted loading as libs of exec modules. | Stefan Bucur | 2009-03-15 | 1 | -0/+6 |
| | | |||||
| * | Implemented automatic memory cleanup for executable modules. | Stefan Bucur | 2009-03-15 | 3 | -1/+30 |
| | | |||||
| * | Implemented library load and unload CLI interface. | Stefan Bucur | 2009-03-15 | 1 | -28/+54 |
| | | |||||
| * | Impelmented spawn CLI command. | Stefan Bucur | 2009-03-15 | 2 | -1/+30 |
| | | |||||
| * | Started to write a CLI for elflink testing. | Stefan Bucur | 2009-03-15 | 1 | -90/+53 |
| | | |||||
| * | Added a new execution API on top of the module API. | Stefan Bucur | 2009-03-15 | 8 | -18/+227 |
| | | |||||
| * | Cleaned up some files in the elflink module dir. | Stefan Bucur | 2009-03-15 | 6 | -225/+0 |
| | | |||||
| * | Implementing memory tagging support. | Stefan Bucur | 2009-03-15 | 4 | -1/+51 |
| | | |||||
| * | Made room in the arena_header structure for custom data. | Stefan Bucur | 2009-03-15 | 4 | -45/+55 |
| | | |||||
| * | Polished some debug messages. | Stefan Bucur | 2009-03-15 | 2 | -5/+11 |
| | | |||||
| * | Modified makefile to include debugging notification in ELF code. | Stefan Bucur | 2009-03-15 | 1 | -1/+1 |
| | | |||||
| * | Fixed typo in quicksort algorithm. | Stefan Bucur | 2009-03-15 | 1 | -1/+1 |
| | | |||||
| * | Created a simple quick sort module. | Stefan Bucur | 2009-03-15 | 9 | -7/+140 |
| | | |||||
| * | Reorganized the module system in a consistent API. | Stefan Bucur | 2009-03-15 | 15 | -1119/+1259 |
| | | |||||
| * | Started to document the ELF link source code. | Stefan Bucur | 2009-03-15 | 1 | -20/+178 |
| | | |||||
| * | Implemented module unloading functionality. | Stefan Bucur | 2009-03-15 | 2 | -2/+29 |
| | | |||||
| * | Implemented the initialization system of an ELF module. | Stefan Bucur | 2009-03-15 | 3 | -12/+77 |
| | | |||||
| * | Minor fixes for the ELF ld script. | Stefan Bucur | 2009-03-15 | 1 | -2/+4 |
| | | |||||
| * | Created a prototype for the first ELF module. | Stefan Bucur | 2009-03-15 | 6 | -12/+152 |
| | | |||||
| * | Created a custom ld script for ELF modules. | Stefan Bucur | 2009-03-15 | 2 | -1/+167 |
| | | | | | | | | | | | | | | The script is derived from the standard ld script for shared objects, that is: $ ld -shared --verbose | ||||
| * | Dynamic loading of klibc fully functional. | Stefan Bucur | 2009-03-15 | 4 | -82/+143 |
| | | |||||
| * | Klibc dynamic loading almost complete. | Stefan Bucur | 2009-03-15 | 2 | -1/+14 |
| | | |||||
| * | Implemented shallow ELF loading and used it on the COM32 module. | Stefan Bucur | 2009-03-15 | 6 | -41/+215 |
| | | |||||
| * | Reorganized a little the elflink subdirectory and made a simple module to ↵ | Stefan Bucur | 2009-03-15 | 10 | -81/+160 |
| | | | | | | | | load klibc. | ||||
| * | Made a test module and fixed a silly bug in posix_memalign(). | Stefan Bucur | 2009-03-15 | 2 | -2/+45 |
| | | |||||
| * | Implemented a native version of posix_memalign(). | Stefan Bucur | 2009-03-15 | 3 | -2/+85 |
| | | |||||
| * | Added the testing files to be ignored by git. | Stefan Bucur | 2009-03-15 | 1 | -0/+1 |
| | | |||||
| * | Moved the module loading code onto SYSLINUX, as a COM32 module. | Stefan Bucur | 2009-03-15 | 17 | -236/+577 |
| | | | | | | | | | | The code does nothing for now. It simply compiles the code and ensures all the dependencies are satisfied. | ||||
| * | Module unloading & cleanup, and dependency info. | Stefan Bucur | 2009-03-15 | 3 | -20/+143 |
| | | |||||
| * | Implemented the module loading using stream functions. | Stefan Bucur | 2009-03-15 | 2 | -107/+126 |
| | |