Userspace source code is in disassembled binaries
authorBarret Rhoden <brho@cs.berkeley.edu>
Sat, 17 Apr 2010 11:19:09 +0000 (04:19 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:42 +0000 (17:35 -0700)
tools/compilers/gcc-glibc/Makefile
user/Makefrag

index bf3542a..2eaf455 100644 (file)
@@ -277,13 +277,13 @@ $(BINARY_PREFIX)gcc-stage2-builddir: gcc-$(GCC_VERSION)
                  --enable-shared \
                  --with-elf \
                  --with-tls \
-                 --disable-nls \
+                 --disable-nls \
                  --with-__thread \
                  --with-headers=$(INSTDIR)/$(ARCH)-ros/sys-include \
                  --prefix=$(INSTDIR)/$(ARCH)-ros \
                  libc_cv_forced_unwind=yes \
                  libc_cv_c_cleanup=yes \
-                 CFLAGS="$(ARCH_CFLAGS) -fpermissive -O2 -pipe";
+                 CFLAGS="$(ARCH_CFLAGS) -g -fpermissive -O2 -pipe";
        touch $@
 
 .$(BINARY_PREFIX)glibc-make: .$(BINARY_PREFIX)glibc-configure
index 0e2590f..3cb8713 100644 (file)
@@ -1,5 +1,5 @@
 USER_DIR := $(TOP_DIR)/user
-USER_CFLAGS += $(CFLAGS) -std=gnu99 -I$(USER_DIR)/include
+USER_CFLAGS += $(CFLAGS) -g -std=gnu99 -I$(USER_DIR)/include
 
 include $(USER_DIR)/parlib/Makefrag
 include $(USER_DIR)/pthread/Makefrag