Changeset 1567471 in mainline for uspace/lib/c/generic/rtld/module.c


Ignore:
Timestamp:
2019-01-09T12:38:13Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
272a293, 2d156bb
Parents:
d3e938c
git-author:
Jiri Svoboda <jiri@…> (2018-01-08 19:37:57)
git-committer:
Jiri Svoboda <jiri@…> (2019-01-09 12:38:13)
Message:

Enable dynamic linking on amd64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/rtld/module.c

    rd3e938c r1567471  
    5050#include <rtld/rtld_arch.h>
    5151#include <rtld/module.h>
     52#include <libarch/rtld/module.h>
    5253
    5354#include "../private/libc.h"
     
    206207        DPRINTF("filename:'%s'\n", name_buf);
    207208
    208         rc = elf_load_file_name(name_buf, ELDF_RW, &info);
     209        rc = elf_load_file_name(name_buf, RTLD_MODULE_LDF, &info);
    209210        if (rc != EE_OK) {
    210211                printf("Failed to load '%s'\n", name_buf);
Note: See TracChangeset for help on using the changeset viewer.