Ignore:
Timestamp:
2016-04-25T16:46:31Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
32573ff
Parents:
dc0d8b52
Message:

TLS for dynamically linked executables and initially loaded DSOs (but must not call dlopen or there will be trouble).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/ia32/src/rtld/reloc.c

    rdc0d8b52 r6adb775f  
    171171                        break;
    172172
     173//              case R_386_TLS_DTPOFF32:
     174//                      *r_ptr = sym_def->st_value;
     175//                      break;
     176
    173177                case R_386_TLS_DTPMOD32:
    174                         /*
    175                          * We can ignore this as long as the only module
    176                          * with TLS variables is libc.so.
    177                          */
    178                         DPRINTF("Ignoring R_386_TLS_DTPMOD32\n");
     178                        *r_ptr = dest->id;
    179179                        break;
    180180
Note: See TracChangeset for help on using the changeset viewer.