head	1.4;
access;
symbols
	libc-5-4-46:1.4
	libc-5-4-45:1.4
	libc-5-4-44:1.4
	libc-5-4-43:1.4
	libc-5-4-42:1.4
	libc-5-4-41:1.4
	libc-5-4-40:1.4
	libc-5-4-39:1.4
	libc-5-4-38:1.4
	libc-5-4-37:1.4
	libc-5-4-36:1.4
	libc-5-4-35:1.4
	libc-5-4-34:1.4
	libc-5-4-33:1.4
	libc-5-4-32:1.4
	libc-5-4-31:1.4
	libc-5-4-30:1.4
	libc-5-4-29:1.4
	libc-5-4-28:1.4
	libc-5-4-27:1.4
	libc-5-4-26:1.4
	libc-5-4-25:1.4
	libc-5-4-24:1.4
	libc-5-4-23:1.4
	libc-5-4-22:1.4
	libc-5-4-21:1.4
	libc-5-4-20:1.4
	libc-5-4-19:1.4
	libc-5-4-18:1.4
	libc-5-4-17-public:1.4
	libc-5-4-17:1.4
	libc-5-4-16:1.4
	libc-5-4-15:1.4
	libc-5-4-14:1.4
	libc-5-4-13:1.4
	libc-5-4-12:1.4
	libc-5-4-11:1.4
	libc-5-4-10:1.4
	libc-5-4-9:1.4
	libc-5-4-8:1.4
	libc-5-4-7-public:1.4
	libc-5-4-7:1.4
	libc-5-4-6:1.4
	libc-5-4-5:1.4
	libc-5-4-4:1.4
	libc-5-4-3:1.4
	libc-5-4-2:1.4
	libc-5-4-1:1.3
	libc-5-4-0:1.3
	libc-5-3-12:1.3
	libc-5-3-11:1.3
	libc-5-3-10:1.3
	libc-5-3-9:1.3
	libc-5-3-8:1.3
	libc-5-3-7:1.3
	libc-5-3-7-pre:1.3
	libc-5-3-6:1.3
	libc-5-3-5:1.3
	libc-5-3-4:1.3
	libc-5-3-3:1.3
	libc-5-3-2:1.3
	libc-5-3-1:1.3
	libc-5-3-0:1.3
	libc-5-2-19:1.3
	libc-5-2-18:1.3
	libc-5-2-17:1.3
	libc-5-2-16:1.3
	libc-5-2-15:1.3
	libc-5-2-14:1.3
	libc-5-2-13:1.3
	libc-5-2-12:1.3
	libc-5-2-11:1.3
	libc-5-2-10:1.3
	libc-5-2-9:1.3
	libc-5-2-8-1:1.2
	libc-5-2-8:1.2
	libc-5-2-7:1.2
	libc-5-2-6:1.2
	libc-5-2-5:1.2
	libc-5-2-4:1.2
	libc-5-2-3:1.2
	libc-5-2-2:1.2
	libc-5-2-1:1.2
	libc-5-2-0:1.2
	libc-5-1-4:1.2
	libc-5-1-3:1.2
	libc-5-1-2:1.2
	libc-5-1-1:1.2
	libc-5-1-0:1.2
	libc-5-0-12-stable:1.2
	libc-5-0-11:1.2
	libc-5-0-10:1.2
	libc-5-0-9:1.2
	libc-5-0-8:1.2
	libc-5-0-7:1.2
	libc-5-0-6:1.2
	libc-5-0-5:1.2
	libc-5-0-4:1.2
	libc-5-0-3:1.2
	libc-5-0-2:1.2
	libc-5-0-1-1:1.2
	libc-5-0-1:1.2
	libc-5-0-0:1.2
	libc-4-8-0:1.2
	libc-4-6-30:1.1.1.1
	libc-4-6-29:1.1.1.1
	libc-4-6-28-6:1.1.1.1
	libc-4-6-28-5:1.1.1.1
	libc-4-6-28-4:1.1.1.1
	libc-4-6-28-3:1.1.1.1
	libc-4-6-28-2:1.1.1.1
	libc-4-6-28-1:1.1.1.1
	libc-4-6-28:1.1.1.1
	libc-4-6-27:1.1.1.1
	linux:1.1.1;
locks; strict;
comment	@# @;


1.4
date	96.06.05.16.07.37;	author hjl;	state Exp;
branches;
next	1.3;

1.3
date	95.09.13.02.09.57;	author hjl;	state Exp;
branches;
next	1.2;

1.2
date	95.03.16.04.37.08;	author hjl;	state Exp;
branches;
next	1.1;

1.1
date	95.02.18.05.33.18;	author hjl;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	95.02.18.05.33.19;	author hjl;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Update for libc 5.4.2.
@
text
@#
# Makefile for crt0.o of Linux
#
#

LD=true
MV=true
override STATIC_SHARED=false
override SHARED=false
override DEBUG=false

TOPDIR=../..

include $(TOPDIR)/Makeconfig
include $(TOPDIR)/Makerules

CFLAGS=
DEBUG_CFLAGS=

PROFILE_CFLAGS=
CHECKER_CFLAGS=
CC = $(REALCC)
SED=sed

CRT_CFLAGS=-DGENERATE_SHARED_ELF_CXX_CODE=1

ifeq ($(ELF),true)

crt:: tm.h

crt:: $(ELF_SHARED_DIR)/crtbegin.o $(ELF_SHARED_DIR)/crtend.o \
	$(ELF_SHARED_DIR)/crtbeginS.o $(ELF_SHARED_DIR)/crtendS.o

asm: crtbegin.s crtend.s crtbeginS.s crtendS.s

$(ELF_SHARED_DIR)/crtbeginS.o: crtstuff.c
	$(CC) -DIN_GCC -DPOSIX  -O2 -fomit-frame-pointer -I. \
		-fpic $(CRT_CFLAGS) \
		-Iconfig -DCRT_BEGIN -finhibit-size-directive \
		-fno-inline-functions -g0 -c $< -o $@@

$(ELF_SHARED_DIR)/crtendS.o: crtstuff.c
	$(CC) -DIN_GCC -DPOSIX  -O2 -fomit-frame-pointer -I. \
		-fpic $(CRT_CFLAGS) \
		-Iconfig -DCRT_END -finhibit-size-directive \
		-fno-inline-functions -g0 -c $< -o $@@

$(ELF_SHARED_DIR)/crtbegin.o: crtstuff.c
	$(CC) -DIN_GCC -DPOSIX  -O2 -fomit-frame-pointer -I. \
		$(CRT_CFLAGS) \
		-Iconfig -DCRT_BEGIN -finhibit-size-directive \
		-fno-inline-functions -g0 -c $< -o $@@

$(ELF_SHARED_DIR)/crtend.o: crtstuff.c
	$(CC) -DIN_GCC -DPOSIX  -O2 -fomit-frame-pointer -I. \
		$(CRT_CFLAGS) \
		-Iconfig -DCRT_END -finhibit-size-directive \
		-fno-inline-functions -g0 -c $< -o $@@

crtbeginS.s: crtstuff.c
	$(CC) -DIN_GCC -DPOSIX  -O2 -fomit-frame-pointer -I. \
		-fpic $(CRT_CFLAGS) \
		-Iconfig -DCRT_BEGIN -finhibit-size-directive \
		-fno-inline-functions -g0 -S $< -o $@@

crtendS.s: crtstuff.c
	$(CC) -DIN_GCC -DPOSIX  -O2 -fomit-frame-pointer -I. \
		-fpic $(CRT_CFLAGS) \
		-Iconfig -DCRT_END -finhibit-size-directive \
		-fno-inline-functions -g0 -S $< -o $@@

# That is an ugly hack to work around the gas bug.
crtbegin.s: crtstuff.c
	$(RM) -rf tmp.s
	$(CC) -DIN_GCC -DPOSIX  -O2 -fomit-frame-pointer -I. \
		$(CRT_CFLAGS) \
		-Iconfig -DCRT_BEGIN -finhibit-size-directive \
		-fno-inline-functions -g0 -S $< -o tmp.s
	$(SED) -e 's/^[ 	]*\(call[ 	]*__do_global_dtors_aux\)[ 	]*$$/	\1@@PLT/' tmp.s > $@@
	$(RM) -rf tmp.s

# That is an ugly hack to work around the gas bug.
crtend.s: crtstuff.c
	$(RM) -rf tmp.s
	$(CC) -DIN_GCC -DPOSIX  -O2 -fomit-frame-pointer -I. \
		$(CRT_CFLAGS) \
		-Iconfig -DCRT_END -finhibit-size-directive \
		-fno-inline-functions -g0 -S $< -o tmp.s
	$(SED) -e 's/^[ 	]*\(call[ 	]*__do_global_ctors_aux\)[ 	]*$$/	\1@@PLT/' tmp.s > $@@
	$(RM) -rf tmp.s

else

lib::
	@@true

endif

realclean clean:
	$(RM) -f core *.s *.o *.a tmp_make foo

ifeq ($(CANONICAL_TARGET_MACHINE),ix86-linux)
tm.h: config/i386/linuxelf.h
	ln -sf $? $@@
endif

ifeq ($(CANONICAL_TARGET_MACHINE),m68k-linux)
tm.h: config/m68k/linux.h
	ln -sf $? $@@
endif

depend:
	@@echo No dependency in `pwd`.
@


1.3
log
@Update for libc 5.2.9.
@
text
@d104 1
a104 1
	ln -s $? $@@
d109 1
a109 1
	ln -s $? $@@
@


1.2
log
@Make symlinks in elf/crt and gcc
@
text
@d102 1
d105 6
@


1.1
log
@Initial revision
@
text
@d29 3
a31 1
crt: $(ELF_SHARED_DIR)/crtbegin.o $(ELF_SHARED_DIR)/crtend.o \
d101 3
@


1.1.1.1
log
@The Linux C library 4.6.27 (source files).
@
text
@@

