Skip to content

Commit

Permalink
Apply change originally applied by DWD:
Browse files Browse the repository at this point in the history
Remove generation of files in libc/sysdeps/linux

This fixes the build by not building target dependent assembly files
(e.g. crtn.o) which are not needed by KLEE. This also disables building
of the system calls in libc/sysdeps/linux/common/*.c .

This really isn't a very good approach. We should consider implementing
a KLEE target in libc/sysdeps/linux so we can call into KLEE's model and
avoid some of the horrible hacks in klee-uclibc.
  • Loading branch information
Dan Liew committed Nov 28, 2013
1 parent f73b3f0 commit e7b3e0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libc/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ LIBS-libc.so := $(interp) $(ldso) $(top_builddir)lib/$(NONSHARED_LIBNAME)
libc_FULL_NAME := libuClibc-$(VERSION).so

# this comes first, so duplicate removal works correctly
include $(libc_DIR)/sysdeps/Makefile.in
# Added by DWD: Disable generation of system dependent assembly files like crtn.o
#include $(libc_DIR)/sysdeps/Makefile.in

include $(libc_DIR)/misc/Makefile.in
include $(libc_DIR)/pwd_grp/Makefile.in
Expand Down

0 comments on commit e7b3e0f

Please sign in to comment.