aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* malloc: inline the tag accessor functionscore32H. Peter Anvin2009-07-052-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 Anvin2009-07-051-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 Anvin2009-07-054-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 .c32Stefan Bucur2009-07-067-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 Bucur2009-07-055-31/+10
|
* Added support in shallow modules to offset symbols.Stefan Bucur2009-07-046-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 commitStefan Bucur2009-07-033-2/+41
|
* Merged ELF linking from elflinkStefan Bucur2009-07-0331-243/+3801
|\
| * Fixed the COM32 lib Makefile in order to keep up with the latest SYSLINUX ↵HEADelflinkStefan Bucur2009-03-151-5/+3
| | | | | | | | version.
| * elflink: Cleaned up makefiles.Stefan Bucur2009-03-153-132/+69
| |
| * Added source comments to some internal routines.Stefan Bucur2009-03-152-5/+46
| |
| * Moved the elfutils.h header in a private location.Stefan Bucur2009-03-156-8/+9
| |
| * Added source comments to the execution API header.Stefan Bucur2009-03-151-0/+64
| |
| * Added source comments for the COM32 test module.Stefan Bucur2009-03-151-4/+41
| |
| * Implemented the 'list' command in the CLI.Stefan Bucur2009-03-156-12/+55
| |
| * Exported the module list head + iterator defined.Stefan Bucur2009-03-155-11/+17
| |
| * Shrinked the COM32 module from 34K to 25K.Stefan Bucur2009-03-152-20/+30
| |
| * Fixed a bug that permitted duplicate modules.Stefan Bucur2009-03-154-4/+20
| |
| * Moved the execution layer API in klibc tree.Stefan Bucur2009-03-155-6/+7
| |
| * Made a message appear for invalid commands in CLI.Stefan Bucur2009-03-151-0/+2
| |
| * Fixed a bug that permitted loading as libs of exec modules.Stefan Bucur2009-03-151-0/+6
| |
| * Implemented automatic memory cleanup for executable modules.Stefan Bucur2009-03-153-1/+30
| |
| * Implemented library load and unload CLI interface.Stefan Bucur2009-03-151-28/+54
| |
| * Impelmented spawn CLI command.Stefan Bucur2009-03-152-1/+30
| |
| * Started to write a CLI for elflink testing.Stefan Bucur2009-03-151-90/+53
| |
| * Added a new execution API on top of the module API.Stefan Bucur2009-03-158-18/+227
| |
| * Cleaned up some files in the elflink module dir.Stefan Bucur2009-03-156-225/+0
| |
| * Implementing memory tagging support.Stefan Bucur2009-03-154-1/+51
| |
| * Made room in the arena_header structure for custom data.Stefan Bucur2009-03-154-45/+55
| |
| * Polished some debug messages.Stefan Bucur2009-03-152-5/+11
| |
| * Modified makefile to include debugging notification in ELF code.Stefan Bucur2009-03-151-1/+1
| |
| * Fixed typo in quicksort algorithm.Stefan Bucur2009-03-151-1/+1
| |
| * Created a simple quick sort module.Stefan Bucur2009-03-159-7/+140
| |
| * Reorganized the module system in a consistent API.Stefan Bucur2009-03-1515-1119/+1259
| |
| * Started to document the ELF link source code.Stefan Bucur2009-03-151-20/+178
| |
| * Implemented module unloading functionality.Stefan Bucur2009-03-152-2/+29
| |
| * Implemented the initialization system of an ELF module.Stefan Bucur2009-03-153-12/+77
| |
| * Minor fixes for the ELF ld script.Stefan Bucur2009-03-151-2/+4
| |
| * Created a prototype for the first ELF module.Stefan Bucur2009-03-156-12/+152
| |
| * Created a custom ld script for ELF modules.Stefan Bucur2009-03-152-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 Bucur2009-03-154-82/+143
| |
| * Klibc dynamic loading almost complete.Stefan Bucur2009-03-152-1/+14
| |
| * Implemented shallow ELF loading and used it on the COM32 module.Stefan Bucur2009-03-156-41/+215
| |
| * Reorganized a little the elflink subdirectory and made a simple module to ↵Stefan Bucur2009-03-1510-81/+160
| | | | | | | | load klibc.
| * Made a test module and fixed a silly bug in posix_memalign().Stefan Bucur2009-03-152-2/+45
| |
| * Implemented a native version of posix_memalign().Stefan Bucur2009-03-153-2/+85
| |
| * Added the testing files to be ignored by git.Stefan Bucur2009-03-151-0/+1
| |
| * Moved the module loading code onto SYSLINUX, as a COM32 module.Stefan Bucur2009-03-1517-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 Bucur2009-03-153-20/+143
| |
| * Implemented the module loading using stream functions.Stefan Bucur2009-03-152-107/+126
| |