view gcc/config/pa/t-pa-hpux11 @ 14:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents 77e2b8dfacca
children
line wrap: on
line source

TARGET_LIBGCC2_CFLAGS = -fPIC -frandom-seed=fixed-seed
LIB2FUNCS_EXTRA=lib2funcs.asm quadlib.c
LIBGCCSTUB_OBJS = pthread_default_stacksize_np-stub.o \
	pthread_mutex_lock-stub.o \
	pthread_mutex_unlock-stub.o \
	pthread_once-stub.o

stublib.c: $(srcdir)/config/pa/stublib.c
	rm -f stublib.c
	cp $(srcdir)/config/pa/stublib.c .

pthread_default_stacksize_np-stub.o: stublib.c $(GCC_PASSES)
	$(GCC_FOR_TARGET) -c -O2 -DL_pthread_default_stacksize_np stublib.c \
	  -o pthread_default_stacksize_np-stub.o

pthread_mutex_lock-stub.o: stublib.c $(GCC_PASSES)
	$(GCC_FOR_TARGET) -c -O2 -DL_pthread_mutex_lock stublib.c \
	  -o pthread_mutex_lock-stub.o

pthread_mutex_unlock-stub.o: stublib.c $(GCC_PASSES)
	$(GCC_FOR_TARGET) -c -O2 -DL_pthread_mutex_unlock stublib.c \
	  -o pthread_mutex_unlock-stub.o

pthread_once-stub.o: stublib.c $(GCC_PASSES)
	$(GCC_FOR_TARGET) -c -O2 -DL_pthread_once stublib.c \
	  -o pthread_once-stub.o

$(T)libgcc_stub.a: $(LIBGCCSTUB_OBJS)
	-rm -rf $(T)libgcc_stub.a
	$(AR) rc $(T)libgcc_stub.a $(LIBGCCSTUB_OBJS)
	$(RANLIB) $(T)libgcc_stub.a