Changeset 1affcdf3 in mainline for uspace/lib/c/generic/libc.c


Ignore:
Timestamp:
2011-06-10T19:33:41Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1878386
Parents:
13ecdac9 (diff), 79a141a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/libc.c

    r13ecdac9 r1affcdf3  
    4949#include "private/libc.h"
    5050#include "private/async.h"
    51 #include "private/async_sess.h"
    5251#include "private/malloc.h"
    5352#include "private/io.h"
     53
     54#ifdef CONFIG_RTLD
     55#include <rtld/rtld.h>
     56#endif
    5457
    5558static bool env_setup = false;
     
    6063        __malloc_init();
    6164        __async_init();
    62         __async_sess_init();
    6365       
    6466        fibril_t *fibril = fibril_setup();
     
    7779        char **argv;
    7880       
     81#ifdef __IN_SHARED_LIBC__
     82        if (__pcb != NULL && __pcb->rtld_runtime != NULL) {
     83                runtime_env = (runtime_env_t *) __pcb->rtld_runtime;
     84        }
     85#endif
    7986        /*
    8087         * Get command line arguments and initialize
Note: See TracChangeset for help on using the changeset viewer.