Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset dc0d8b52 in mainline


Ignore:
Timestamp:
2016-04-21T14:01:12Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
054476d, 6adb775f
Parents:
17341d4
Message:

Fix build on arches not supporting dynamic linking.

Location:
uspace/lib/c
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/elf/elf_load.c

    r17341d4 rdc0d8b52  
    3636 */
    3737
     38#include <elf/elf_load.h>
     39#include <elf/elf_mod.h>
    3840#include <errno.h>
    3941#include <stdio.h>
    40 #include <elf/elf_load.h>
    41 #include <elf/elf_mod.h>
     42#include <stdlib.h>
     43
     44#ifdef CONFIG_RTLD
    4245#include <rtld/rtld.h>
    43 
     46#endif
    4447
    4548#define DPRINTF(...)
  • uspace/lib/c/include/elf/elf_load.h

    r17341d4 rdc0d8b52  
    3838
    3939#include <elf/elf_mod.h>
    40 #include <rtld/rtld.h>
    4140
    4241/** Information on loaded ELF program */
    4342typedef struct {
    4443        elf_finfo_t finfo;
    45         rtld_t *env;
     44        struct rtld *env;
    4645} elf_info_t;
    4746
Note: See TracChangeset for help on using the changeset viewer.