Changeset 13dfa3f9 in mainline


Ignore:
Timestamp:
2016-04-19T17:04:15Z (8 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.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/include/arch/barrier.h

    r184b600 r13dfa3f9  
    5454NO_TRACE static inline void cpuid_serialization(void)
    5555{
    56 #ifndef __IN_SHARED_LIBC__
     56#ifndef __PIC__
    5757        asm volatile (
    5858                "xorl %%eax, %%eax\n"
  • 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.