Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 83790
Collapse All | Expand All

(-)qe.c.old (-5 / +5 lines)
Lines 6165-6180 Link Here
6165
    { NULL },
6165
    { NULL },
6166
};
6166
};
6167
6167
6168
#if defined(__GNUC__) || defined(__TINYC__)
6168
/*#if defined(__GNUC__) || defined(__TINYC__)
6169
static inline void init_all_modules(void)
6169
static inline void init_all_modules(void)
6170
{
6170
{
6171
    int (*initcall)(void);
6171
    int (*initcall)(void);
6172
    void **ptr;
6172
    void **ptr;
6173
    
6173
    
6174
    ptr = (void **)&__initcall_first;
6174
    ptr = (void **)&__initcall_first;
6175
    for(;;) {
6175
    for(;;) {*/
6176
        /* NOTE: if bound checking is on, a '\0' is inserted between
6176
        /* NOTE: if bound checking is on, a '\0' is inserted between
6177
           each initialized 'void *' */
6177
           each initialized 'void *' *//*
6178
#if defined(__BOUNDS_CHECKING_ON)
6178
#if defined(__BOUNDS_CHECKING_ON)
6179
        ptr = (void **)((long)ptr + (2 * sizeof(void *)));
6179
        ptr = (void **)((long)ptr + (2 * sizeof(void *)));
6180
#else
6180
#else
Lines 6186-6199 Link Here
6186
        initcall();
6186
        initcall();
6187
    }
6187
    }
6188
}
6188
}
6189
#else
6189
#else*/
6190
/* cannot use elf sections, so we initialize the modules manually */
6190
/* cannot use elf sections, so we initialize the modules manually */
6191
static inline void init_all_modules(void)
6191
static inline void init_all_modules(void)
6192
{
6192
{
6193
    x11_init();
6193
    x11_init();
6194
    c_init();
6194
    c_init();
6195
}
6195
}
6196
#endif
6196
//#endif
6197
6197
6198
#ifdef CONFIG_DLL
6198
#ifdef CONFIG_DLL
6199
6199

Return to bug 83790