summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-12-04 22:07:51 +0000
committerEric Andersen <andersen@codepoet.org>2003-12-04 22:07:51 +0000
commitbbe7a35e0037e21913c655913f11a37668d472bf (patch)
treed3b31455a1347b3506734377936f452cbd6bcadc
parent5660d0d42df9610ba12704e04a5b51b167bed20a (diff)
Fix arm profiling support, which was accidentally removed
-rw-r--r--libc/sysdeps/linux/arm/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/arm/Makefile b/libc/sysdeps/linux/arm/Makefile
index 44fe7dd52..f2582e1a8 100644
--- a/libc/sysdeps/linux/arm/Makefile
+++ b/libc/sysdeps/linux/arm/Makefile
@@ -54,6 +54,12 @@ $(COBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
+ifeq ($(strip $(UCLIBC_PROFILING)),y)
+gmon-start.S: ../common/gmon-start.c
+ $(CC) $(CFLAGS) -c $< -S -o $*.S
+gcrt1.o: $(CRT0_DEPS)
+endif
+
ifeq ($(strip $(UCLIBC_CTOR_DTOR)),y)
crti.o: crti.S
$(CC) $(CFLAGS) -c crti.S -o crti.o