[uClibc] Profiling support for ARM

David Meggy dmeggy at techsol.ca
Fri Nov 14 00:40:21 UTC 2003


This is a patch to re-add support for profiling
It was removed here:
http://www.uclibc.org/cgi-bin/cvsweb/uClibc/libc/sysdeps/linux/arm/Makefile?r1=1.49&r2=1.50&hideattic=0
I think by accident


diff -urN uClibc-0.9.23.orig/libc/sysdeps/linux/arm/Makefile uClibc-0.9.23/libc/sysdeps/linux/arm/Makefile
--- uClibc-0.9.23.orig/libc/sysdeps/linux/arm/Makefile	Sat Nov  8 13:21:10 2003
+++ uClibc-0.9.23/libc/sysdeps/linux/arm/Makefile	Thu Nov 13 11:22:17 2003
@@ -59,6 +59,12 @@
 	$(CC) $(CFLAGS) -c $< -o $@
 	$(STRIPTOOL) -x -R .note -R .comment $*.o
 
+ifeq ($(strip $(UCLIBC_PROFILING)),y)
+gmon-start.S: ../common/gmon-start.c
+	$(CC) $(SAFECFLAGS) -c $< -S -o $*.S
+gcrt1.o: $(CRT0_DEPS)
+endif
+
 ifeq ($(strip $(UCLIBC_CTOR_DTOR)),y)
 crti.o: crti.S
 	$(CC) $(SAFECFLAGS) -c crti.S -o crti.o



-- 
~~~~~~~~~~~~~~~~~~~~~~~~
     David Meggy
     Engineering

Technical Solutions Inc.
Unit #1 7157 Honeyman St
Delta BC Canada, V4G 1E2
     www.techsol.ca

eMail: dmeggy at techsol.ca
Tel: 604 946 TECH (8324)
Fax: 604 946 6445
~~~~~~~~~~~~~~~~~~~~~~~~




More information about the uClibc mailing list