From 86de93b89ed258c2f31ea719dc7f1f49d6429217 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 28 Apr 2008 01:15:34 +0000 Subject: Experimentally move libc_hidden_proto(time) to time.h. The only code change observed is actually a case where we were not doing that as needed: 00000000 <__GI_tzset>: -53 push %ebx -e8 00 00 00 00 call 6 <__GI_tzset+0x6> -5b pop %ebx -81 c3 03 00 00 00 add $0x3,%ebx - R_386_GOTPC _GLOBAL_OFFSET_TABLE_ 6a 00 push $0x0 -e8 fc ff ff ff call 10 <__GI_tzset+0x10> - R_386_PLT32 time +e8 fc ff ff ff call 3 <__GI_tzset+0x3> + R_386_PC32 __GI_time 3d ff 4e 98 45 cmp $0x45984eff,%eax 0f 9e c0 setle %al 0f b6 c0 movzbl %al,%eax 50 push %eax -e8 fc ff ff ff call 21 <__GI_tzset+0x21> +e8 fc ff ff ff call 14 <__GI_tzset+0x14> R_386_PC32 _time_tzset 58 pop %eax 5a pop %edx -5b pop %ebx c3 ret No mass migration of libc_hidden_proto(foo) planned. Lets wait for potential fallout first. --- Rules.mak | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index 2535b0907..94285cc3c 100644 --- a/Rules.mak +++ b/Rules.mak @@ -427,6 +427,9 @@ ifeq ($(TARGET_ARCH),arm) endif endif +# Please let us see private headers' parts +CFLAGS += -DUCLIBC_INTERNAL + # We need this to be checked within libc-symbols.h ifneq ($(HAVE_SHARED),y) CFLAGS += -DSTATIC -- cgit v1.2.3