Changeset d3e938c in mainline for uspace/lib/c/generic/rtld/dynamic.c


Ignore:
Timestamp:
2019-01-08T13:27:05Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
05cb995, 1567471, 1aa9eff, cdec2a1
Parents:
9c4df21
git-author:
Jiri Svoboda <jiri@…> (2018-01-07 22:27:02)
git-committer:
Jiri Svoboda <jiri@…> (2019-01-08 13:27:05)
Message:

Dynamic linking on amd64 (WIP)

After modifying HelenOS.config, it is possible to build with dynamic
linking support, but an attempt to load a shared library will fail.

File:
1 edited

Legend:

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

    r9c4df21 rd3e938c  
    6464                d_ptr = (void *)((uint8_t *)dp->d_un.d_ptr + bias);
    6565                d_val = dp->d_un.d_val;
    66                 DPRINTF("tag=%u ptr=0x%x val=%u\n", (unsigned)dp->d_tag,
    67                     (unsigned)d_ptr, (unsigned)d_val);
     66                DPRINTF("tag=%u ptr=0x%zx val=%zu\n", (unsigned)dp->d_tag,
     67                    (uintptr_t)d_ptr, (uintptr_t)d_val);
    6868
    6969                switch (dp->d_tag) {
Note: See TracChangeset for help on using the changeset viewer.