Changeset 13dfa3f9 in mainline for uspace


Ignore:
Timestamp:
2016-04-19T17:04:15Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
17341d4
Parents:
184b600
Message:

IN_SHARED_LIBC is not needed.

Location:
uspace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    r184b600 r13dfa3f9  
    270270        -integrated-as -pipe -g -target $(CLANG_TARGET) -D__$(ENDIANESS)__
    271271
    272 LIB_CFLAGS = $(CFLAGS) -fPIC -D__IN_SHARED_LIBC__
     272LIB_CFLAGS = $(CFLAGS) -fPIC
    273273LIB_LFLAGS = $(LFLAGS) -shared -soname $(LSONAME) --whole-archive
    274274
  • uspace/lib/c/generic/libc.c

    r184b600 r13dfa3f9  
    8989        char **argv;
    9090       
    91 #ifdef __IN_SHARED_LIBC__
     91#ifdef __PIC__
    9292        if (__pcb != NULL && __pcb->rtld_runtime != NULL) {
    9393                runtime_env = (runtime_env_t *) __pcb->rtld_runtime;
Note: See TracChangeset for help on using the changeset viewer.