From a2c396f8a991e93cd606fdb9e3b4ca91fa652730 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 3 Sep 2002 02:45:12 +0000 Subject: * sysdeps/powerpc/elf/libc-start.c [! SHARED]: Call __pthread_initialize_minimal and __libc_check_standard_fds to match the generic version. * sysdeps/powerpc/Makefile (CFLAGS-pt-initfini.s): New variable. * sysdeps/unix/sysv/linux/shmat.c (shmat): Add a cast to avoid a warning when INLINE_SYSCALL macro uses the __syscall_ipc function. * locale/localeconv.c (__localeconv): Cast -1 to char to avoid warnings on platorms where char is unsigned. --- sysdeps/powerpc/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sysdeps/powerpc/Makefile') diff --git a/sysdeps/powerpc/Makefile b/sysdeps/powerpc/Makefile index 0737f6f2d3..e6444f2b70 100644 --- a/sysdeps/powerpc/Makefile +++ b/sysdeps/powerpc/Makefile @@ -46,6 +46,11 @@ shared-only-routines += divdi3 libgcc-compat endif endif +ifeq ($(subdir):$(elf),linuxthreads:yes) +# See CFLAGS-initfini.s above; this is the same code. +CFLAGS-pt-initfini.s = -g0 -fpic -O1 +endif + ifeq ($(subdir),string) CFLAGS-memcmp.c += -Wno-uninitialized endif -- cgit 1.4.1