xref: /netbsd-src/external/gpl3/gcc/dist/libgcc/config/t-vxcrtstuff (revision b1e838363e3c6fc78a55519254d99869742dd33c)
1# crtbegin/crtend for VxWorks
2
3vx_crtbegin.o: $(srcdir)/config/vxcrtstuff.c
4	$(crt_compile) $(CRTSTUFF_T_CFLAGS) -DCRT_BEGIN -c $<
5
6vx_crtend.o: $(srcdir)/config/vxcrtstuff.c
7	$(crt_compile) $(CRTSTUFF_T_CFLAGS) -DCRT_END -c $<
8
9# We do pretty different things for kernel vs rtp modes, all
10# controlled thanks to __RTP__ and (optional) multilibs.
11
12EXTRA_PARTS += vx_crtbegin.o vx_crtend.o
13