diff options
Diffstat (limited to 'elf')
-rw-r--r-- | elf/dl-deps.c | 2 | ||||
-rw-r--r-- | elf/dl-load.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/elf/dl-deps.c b/elf/dl-deps.c index c9997310ba..df1db89796 100644 --- a/elf/dl-deps.c +++ b/elf/dl-deps.c @@ -142,6 +142,8 @@ _dl_map_object_deps (struct link_map *map, struct list *runp, *utail, *dtail; unsigned int nlist, nduplist, i; + auto inline void preload (struct link_map *map); + inline void preload (struct link_map *map) { known[nlist].done = 0; diff --git a/elf/dl-load.c b/elf/dl-load.c index f42cb61ea3..24ac6f018a 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -750,6 +750,9 @@ _dl_map_object_from_fd (const char *name, int fd, struct filebuf *fbp, { struct link_map *l = NULL; + auto inline caddr_t map_segment (ElfW(Addr) mapstart, size_t len, + int prot, int fixed, off_t offset); + inline caddr_t map_segment (ElfW(Addr) mapstart, size_t len, int prot, int fixed, off_t offset) { |