Changeset 1d465bf in mainline for uspace/lib


Ignore:
Timestamp:
2011-04-03T15:34:24Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3a3d4ca
Parents:
ec3e2ed0
Message:

Fix passing of PCB pointer from dload. Build dltest (dynamically linked). Some issues with libtest remain.

Location:
uspace/lib
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/Makefile

    rec3e2ed0 r1d465bf  
    152152$(COMMON_HEADER_ARCH): $(COMMON_HEADER)
    153153        ln -sfn ../../../$< $@
     154
     155test:
     156        echo uspace_prefix=$(USPACE_PREFIX)
     157        echo libc_prefix=$(LIBC_PREFIX)
     158        echo linker_script=$(LINKER_SCRIPT)
  • uspace/lib/c/arch/ia32/src/syscall.S

    rec3e2ed0 r1d465bf  
    3232__syscall_fast_func:
    3333        .long __syscall_slow
     34        .size __syscall_fast_func, . - __syscall_fast_func
    3435
    3536.text
  • uspace/lib/softint/Makefile

    rec3e2ed0 r1d465bf  
    3131EXTRA_CFLAGS = -Iinclude
    3232LIBRARY = libsoftint
     33SLIBRARY = libsoftint.so.0.0
     34LSONAME = libsoftint.so.0
    3335
    3436SOURCES = \
  • uspace/lib/test/libtest.c

    rec3e2ed0 r1d465bf  
    3535 */
    3636
    37 //#include <stdio.h>
     37#include <stdio.h>
    3838#include "libtest.h"
    3939
     
    5656int test_fun2(void)
    5757{
    58         return number;
     58        return 42;
     59//      return number;
    5960}
    6061
     
    6566//      return 42;
    6667//      while(1);
    67         return test_fun2();
     68//      return test_fun2();
     69        printf("Hello from libtest/test_func()!\n");
     70        return 42;
    6871}
    6972
Note: See TracChangeset for help on using the changeset viewer.