ee8d66f795
* configure.in (alpha-linux*, alpha-netbsd) [extra_parts]: Add crtbeginS.o and crtendS.o. * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o. (ENDFILE_SPEC): Use crtendS.o. * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets. * alpha/crtbegin.asm (__do_frame_takedown): Merge into ... (__do_global_dtors_aux): ... here. Call __cxa_finalize if shared and present. (__dso_handle): New variable. * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime bias to __CTOR_END__. From-SVN: r32033
13 lines
731 B
Plaintext
13 lines
731 B
Plaintext
# Effectively disable the crtbegin/end rules using crtstuff.c
|
|
T = disable
|
|
|
|
# Assemble startup files.
|
|
crtbegin.o: $(srcdir)/config/alpha/crtbegin.asm $(GCC_PASSES)
|
|
$(GCC_FOR_TARGET) -c -o crtbegin.o -x assembler-with-cpp $(srcdir)/config/alpha/crtbegin.asm
|
|
crtend.o: $(srcdir)/config/alpha/crtend.asm $(GCC_PASSES)
|
|
$(GCC_FOR_TARGET) -c -o crtend.o -x assembler-with-cpp $(srcdir)/config/alpha/crtend.asm
|
|
crtbeginS.o: $(srcdir)/config/alpha/crtbegin.asm $(GCC_PASSES)
|
|
$(GCC_FOR_TARGET) -DSHARED -c -o crtbeginS.o -x assembler-with-cpp $(srcdir)/config/alpha/crtbegin.asm
|
|
crtendS.o: $(srcdir)/config/alpha/crtend.asm $(GCC_PASSES)
|
|
$(GCC_FOR_TARGET) -DSHARED -c -o crtendS.o -x assembler-with-cpp $(srcdir)/config/alpha/crtend.asm
|