diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-11-16 20:35:25 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-11-16 20:35:25 +0000 |
commit | 350c0215ef0e7cd915c2a2931b548e75d540a686 (patch) | |
tree | 97825f27b89cbfb0029c686d305184b8416af6da /test/stdlib | |
parent | aa85deb86c823f2ee9e966c6676a092d774cd493 (diff) |
Fix it so files are not stripped when debugging (doh!). Fix up strip
rules. With this fix in place, I can now find what is wrong with malloc...
-Erik
Diffstat (limited to 'test/stdlib')
-rw-r--r-- | test/stdlib/Makefile | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/test/stdlib/Makefile b/test/stdlib/Makefile index 424b0ba88..86c9e88df 100644 --- a/test/stdlib/Makefile +++ b/test/stdlib/Makefile @@ -13,11 +13,6 @@ EXTRA_LIBS=$(TOPDIR)libc.a -lgcc YCFLAGS = -Wall -Os -fomit-frame-pointer YLDFLAGS = -s --static -# Allow alternative stripping tools to be used... -ifndef $(STRIPTOOL) - STRIPTOOL = strip -endif -STRIP = $(STRIPTOOL) --remove-section=.note --remove-section=.comment $@ TARGETS=testmalloc testmalloc_glibc TARGETS=mallocbug mallocbug_glibc @@ -39,7 +34,7 @@ testmalloc: testmalloc.c Makefile $(TOPDIR)libc.a -@ echo " " $(CC) $(XCFLAGS) -c $< -o $@.o $(CC) $(XLDFLAGS) $@.o -o $@ $(EXTRA_LIBS) - $(STRIP) + $(STRIPTOOL) -x -R .note -R .comment $@ -ldd $@ ls $(LSFLAGS) $@ -./$@ @@ -52,7 +47,7 @@ testmalloc_glibc: testmalloc.c Makefile $(TOPDIR)libc.a -@ echo " " $(CC) $(YCFLAGS) -c $< -o $@.o $(CC) $(YLDFLAGS) --static $@.o -o $@ - $(STRIP) + $(STRIPTOOL) -x -R .note -R .comment $@ -ldd $@ ls $(LSFLAGS) $@ -./$@ @@ -65,7 +60,7 @@ mallocbug: mallocbug.c Makefile $(TOPDIR)libc.a -@ echo " " $(CC) $(XCFLAGS) -c $< -o $@.o $(CC) $(XLDFLAGS) $@.o -o $@ $(EXTRA_LIBS) - $(STRIP) + $(STRIPTOOL) -x -R .note -R .comment $@ -ldd $@ ls $(LSFLAGS) $@ -./$@ @@ -78,7 +73,7 @@ mallocbug_glibc: mallocbug.c Makefile $(TOPDIR)libc.a -@ echo " " $(CC) $(YCFLAGS) -c $< -o $@.o $(CC) $(YLDFLAGS) --static $@.o -o $@ - $(STRIP) + $(STRIPTOOL) -x -R .note -R .comment $@ -ldd $@ ls $(LSFLAGS) $@ -./$@ @@ -98,7 +93,7 @@ teststrtol: teststrtol.c Makefile $(TOPDIR)libc.a -@ echo " " $(CC) $(XCFLAGS) -c $< -o $@.o $(CC) $(XLDFLAGS) $@.o -o $@ $(EXTRA_LIBS) - $(STRIP) + $(STRIPTOOL) -x -R .note -R .comment $@ -ldd $@ ls -sh $@ -./$@ > $@.out @@ -111,7 +106,7 @@ teststrtol_glibc: teststrtol.c Makefile $(TOPDIR)libc.a -@ echo " " $(CC) $(YCFLAGS) -c $< -o $@.o $(CC) $(YLDFLAGS) --static $@.o -o $@ - $(STRIP) + $(STRIPTOOL) -x -R .note -R .comment $@ -ldd $@ ls -sh $@ -./$@ > $@.out |