/[vps]/dietlibc/patches/0.30_pre20060621-r0/01_all_nostrip.patch
Gentoo

Diff of /dietlibc/patches/0.30_pre20060621-r0/01_all_nostrip.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

dietlibc/patches/0.30_pre20060501-r1/01_all_nostrip.patch Revision 379 dietlibc/patches/0.30_pre20060621-r0/01_all_nostrip.patch Revision 388
1Index: dietlibc-0.30_pre20060501/libpthread/Makefile 1--- dietlibc/Makefile.orig 2006-06-21 21:18:13.000000000 +0200
2=================================================================== 2+++ dietlibc/Makefile 2006-06-21 21:35:15.252354000 +0200
3--- dietlibc-0.30_pre20060501.orig/libpthread/Makefile 3@@ -161,7 +161,6 @@
4+++ dietlibc-0.30_pre20060501/libpthread/Makefile
5@@ -45,7 +45,6 @@ PWD=$(shell pwd)
6
7 %.o: %.c
8 $(CROSS)$(CC) -I. -Iinclude $(CFLAGS) -c $<
9-# $(CROSS)strip -x -R .comment -R .note $@
10
11 libpthread.a: $(PTHREAD_OBJS)
12 $(CROSS)ar cr $@ $^
13Index: dietlibc-0.30_pre20060501/Makefile
14===================================================================
15--- dietlibc-0.30_pre20060501.orig/Makefile
16+++ dietlibc-0.30_pre20060501/Makefile
17@@ -156,7 +156,6 @@ $(OBJDIR)/%.o: %.S $(ARCH)/syscalls.h
18 4
19 $(OBJDIR)/%.o: %.c 5 $(OBJDIR)/%.o: %.c
20 tcc -I. -Iinclude -c $< -o $@ 6 tcc -I. -Iinclude -c $< -o $@
21- $(COMMENT) -$(CROSS)strip -x -R .comment -R .note $@ 7- $(COMMENT) -$(CROSS)strip -x -R .comment -R .note $@
22 else 8 else
23 $(OBJDIR)/pstart.o: start.S 9 $(OBJDIR)/pstart.o: start.S
24 $(CROSS)$(CC) $(INC) $(CFLAGS) -DPROFILING -c $< -o $@ 10 $(CROSS)$(CC) $(INC) $(CFLAGS) -DPROFILING -c $< -o $@
25@@ -166,11 +165,9 @@ $(OBJDIR)/%.o: %.S $(ARCH)/syscalls.h 11@@ -171,11 +170,9 @@
26 12
27 $(OBJDIR)/pthread_%.o: libpthread/pthread_%.c 13 $(OBJDIR)/pthread_%.o: libpthread/pthread_%.c
28 $(CROSS)$(CC) $(INC) $(CFLAGS) -c $< -o $@ 14 $(CROSS)$(CC) $(INC) $(CFLAGS) -c $< -o $@
29- $(COMMENT) -$(CROSS)strip -x -R .comment -R .note $@ 15- $(COMMENT) -$(CROSS)strip -x -R .comment -R .note $@
30 16
31 $(OBJDIR)/%.o: %.c 17 $(OBJDIR)/%.o: %.c
32 $(CROSS)$(CC) $(INC) $(CFLAGS) -c $< -o $@ 18 $(CROSS)$(CC) $(INC) $(CFLAGS) -c $< -o $@ -D__dietlibc__
33- $(COMMENT) -$(CROSS)strip -x -R .comment -R .note $@ 19- $(COMMENT) -$(CROSS)strip -x -R .comment -R .note $@
34 endif 20 endif
35 21
36 ifeq ($(shell $(CC) -v 2>&1 | grep "gcc version"),gcc version 4.0.0) 22 ifeq ($(shell $(CC) -v 2>&1 | grep "gcc version"),gcc version 4.0.0)
37@@ -241,18 +238,15 @@ $(PICODIR)/%.o: %.S $(ARCH)/syscalls.h 23@@ -246,18 +243,15 @@
38 24
39 $(PICODIR)/pthread_%.o: libpthread/pthread_%.c 25 $(PICODIR)/pthread_%.o: libpthread/pthread_%.c
40 $(CROSS)$(CC) $(INC) $(CFLAGS) -fPIC -D__DYN_LIB -c $< -o $@ 26 $(CROSS)$(CC) $(INC) $(CFLAGS) -fPIC -D__DYN_LIB -c $< -o $@
41- $(COMMENT) $(CROSS)strip -x -R .comment -R .note $@ 27- $(COMMENT) $(CROSS)strip -x -R .comment -R .note $@
42 28
51 $(CROSS)$(CC) $(INC) $(CFLAGS) -fPIC -D__DYN_LIB -D__DYN_LIB_SHARED -c $< -o $@ 37 $(CROSS)$(CC) $(INC) $(CFLAGS) -fPIC -D__DYN_LIB -D__DYN_LIB_SHARED -c $< -o $@
52- $(COMMENT) $(CROSS)strip -x -R .comment -R .note $@ 38- $(COMMENT) $(CROSS)strip -x -R .comment -R .note $@
53 39
54 DYN_LIBC_PIC = $(LIBOBJ) $(LIBSTDIOOBJ) $(LIBUGLYOBJ) \ 40 DYN_LIBC_PIC = $(LIBOBJ) $(LIBSTDIOOBJ) $(LIBUGLYOBJ) \
55 $(LIBCRUFTOBJ) $(LIBCRYPTOBJ) $(LIBSHELLOBJ) $(LIBREGEXOBJ) 41 $(LIBCRUFTOBJ) $(LIBCRYPTOBJ) $(LIBSHELLOBJ) $(LIBREGEXOBJ)
56@@ -301,19 +295,15 @@ CURNAME=$(notdir $(shell pwd)) 42@@ -306,19 +300,15 @@
57 43
58 $(OBJDIR)/diet: $(OBJDIR)/start.o $(OBJDIR)/dyn_start.o diet.c $(OBJDIR)/dietlibc.a $(OBJDIR)/dyn_stop.o 44 $(OBJDIR)/diet: $(OBJDIR)/start.o $(OBJDIR)/dyn_start.o diet.c $(OBJDIR)/dietlibc.a $(OBJDIR)/dyn_stop.o
59 $(CROSS)$(CC) -isystem include $(CFLAGS) -nostdlib -o $@ $^ -DDIETHOME=\"$(HOME)\" -DVERSION=\"$(VERSION)\" -lgcc 45 $(CROSS)$(CC) -isystem include $(CFLAGS) -nostdlib -o $@ $^ -DDIETHOME=\"$(HOME)\" -DVERSION=\"$(VERSION)\" -lgcc
60- $(CROSS)strip -R .comment -R .note $@ 46- $(CROSS)strip -R .comment -R .note $@
61 47

Legend:
Removed from v.379  
changed lines
  Added in v.388

  ViewVC Help
Powered by ViewVC 1.1.20