Displaying 13 results from an estimated 13 matches for "module_load".
2005 May 27
3
[LLVMdev] Lightweight code loader
...xisting JIT functionality.
I was actually going to make something orthogonal to the JIT. It would
not support nearly as much functionality as the JIT (though it would
have similar code).
Here is a very loose use case - does this seem reasonable?
****
#include modulecompiler
#include module_loader
char * countdown_function =
"int %countdown (int %AnArg) {\n"
" %result = call fastcc int %foo-int (int %AnArg) \n"
" ret int %result\n"
"}\n"
"fastcc int %foo-int (int %AnArg) {\n"
"EntryBlock:\n"
"...
2003 May 29
2
0.99.10-test8
http://dovecot.procontrol.fi/test/
Again major maildir syncing updates:
- uidlist file is accessed and rewritten a lot less often now than
before
- mail duplicates are detected and handled properly by renaming them to
new base name
- message flag updates and expunging before did two full syncs for cur/
directory. now it does only one.
- some fixes to syncing in read-only / out-of-quota
2012 Jul 05
1
[GIT-PULL] Elflink fixes
...| 2 +-
3 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/com32/lib/sys/module/elf_module.c b/com32/lib/sys/module/elf_module.c
index d8009aa..dbb5afe 100644
--- a/com32/lib/sys/module/elf_module.c
+++ b/com32/lib/sys/module/elf_module.c
@@ -509,15 +509,13 @@ int module_load(struct elf_module *module) {
* reverse order.
*/
for (i = module->nr_needed - 1; i >= 0; i--) {
- size_t len, j;
char *dep, *p;
char *argv[2] = { NULL, NULL };
dep = module->str_table + module->needed[i];
/* strip everything but the last component */
-...
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
From: Matt Fleming <matt.fleming at intel.com>
The following patch series is available at,
git://git.zytor.com/users/mfleming/syslinux.git elflink
All patches are against the 'elflink' branch.
This series fixes a few serious bugs and some behavioural
incompatibilities with the 4.x series.
Matt Fleming (19):
ldlinux: Initialise 'p' before using it.
ldlinux: Parse
2005 May 27
0
[LLVMdev] Lightweight code loader
Alexander,
Yes, a patch like that would be accepted. Fewer dependencies = good :)
Some notes on doing this:
(1) Please make sure you use the std c++ iostream libraries for doing
I/O. No native calls (we end up with portability problems). If you need
something that must be ported, please add it to lib/System
(2) You should also use the sys::Path class (include/llvm/System/Path.h)
for handling
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...ing prototype
sys/fileread.c: Fix build warning from missing prototype
sys/fileclose.c: Fix build warning from missing prototype
syslinux/idle.c: Fix build warnings from missing prototypes
elflink: Delete dump_elf_module()
elflink: Fix build warnings
elflink: Fix module_load() compiler warnings
elflink: Add _module_unload() prototype to module.h
ldlinux: Include headers for function prototypes
ldlinux: parse_kernel_type() parameter should be const
ldlinux: Tag __syslinux_init() as __constructor
ldlinux: Match arg types to function prototyp...
2005 May 27
2
[LLVMdev] Lightweight code loader
On May 16, Chris Lattner wrote:
> On Mon, 16 May 2005, Alexander Friedman wrote:
> > Would it be possible (ie, relatively straitforward) to do the
> > following: Take the code in module A, compile it with the JIT (since
> > we cannot make libraries in Windows), and save the resulting binary
> > goo in some file. Later (in a different instance of the runtime), with
>
2005 May 27
0
[LLVMdev] Lightweight code loader
...ly as much functionality as the JIT (though it would
> have similar code).
Actually, that's even better as its a completely separate thing.
>
> Here is a very loose use case - does this seem reasonable?
>
> ****
>
> #include modulecompiler
>
> #include module_loader
>
> char * countdown_function =
> "int %countdown (int %AnArg) {\n"
> " %result = call fastcc int %foo-int (int %AnArg) \n"
> " ret int %result\n"
> "}\n"
> "fastcc int %foo-int (int %AnArg) {\n"
>...
2011 May 25
1
[GIT PULL] elflink ldlinux
...x/advwrite.c
diff --git a/com32/elflink/ldlinux/execute.c b/com32/elflink/ldlinux/execute.c
index a00a5b1..635e327 100644
--- a/com32/elflink/ldlinux/execute.c
+++ b/com32/elflink/ldlinux/execute.c
@@ -134,7 +134,7 @@ void execute(const char *cmdline, enum kernel_type type)
argv[argc] = NULL;
module_load_dependencies(kernel, "modules.dep");
spawn_load(kernel, argc, argv);
- } else if (type <= KT_KERNEL) {
+ } else if (type == KT_KERNEL) {
/* Need add one item for kernel load, as we don't use
* the assembly runkernel.inc any more */
new_linux_kernel(kernel, cmdline);
@@...
2012 Jun 26
2
[GIT PULL] elflink bug fixes
...ed < MAX_NR_DEPS)
- needed[nr_needed++] = dyn_entry->d_un.d_ptr;
+ if (module->nr_needed < MAX_NR_DEPS)
+ module->needed[module->nr_needed++] = dyn_entry->d_un.d_ptr;
else {
printf("Too many dependencies!\n");
return -1;
@@ -502,40 +497,37 @@ int module_load(struct elf_module *module) {
CHECKED(res, load_segments(module, &elf_hdr), error);
//printf("bleah... 3\n");
// Obtain dynamic linking information
- nr_needed = 0;
CHECKED(res, prepare_dynlinking(module), error);
//printf("check... 4\n");
/* Find modules we nee...
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
From: Matt Fleming <matt.fleming at linux.intel.com>
This is a series of patches that,
* shrink the core by moving things into an ldlinux ELF module
* begin wiring up some of the C versions of various functions
The core now only contains essential code and loads the ldlinux module
to do everything else, like providing a command line interface and
loading kernels.
The config file parsing
2013 Oct 15
23
[PATCH 00/21] Upgrade to Lua 5.2.2, add filesystem module and get_key binding
Hi,
This series targets automatic boot menu generation, but most of it
is the Lua upgrade, because I got tired reading deprecated API docs.
It's mostly a straightforward forward port of the earlier Syslinux
specific changes to Lua 5.1, except that:
* I chose the add a stub getenv() implementation to the COM32 API
instead of #ifdefing out all the references in Lua, and
* I kept oslib
2017 Jan 06
0
nouveau: display freezing
...2768 avtab hash slots, 107270 rules.
[ 7.821842] SELinux: 8 users, 14 roles, 5082 types, 306 bools, 1 sens, 1024 cats
[ 7.821845] SELinux: 94 classes, 107270 rules
[ 7.828277] SELinux: Permission validate_trans in class security not defined in policy.
[ 7.828284] SELinux: Permission module_load in class system not defined in policy.
[ 7.828341] SELinux: the above unknown classes and permissions will be allowed
[ 7.828347] SELinux: Completing initialization.
[ 7.828347] SELinux: Setting up existing superblocks.
[ 7.868376] systemd[1]: Successfully loaded SELinux policy in 156...