浏览代码

Fix arm profiling support, which was accidentally removed

Eric Andersen 20 年之前
父节点
当前提交
bbe7a35e00
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      libc/sysdeps/linux/arm/Makefile

+ 6 - 0
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