Print this page
crt: Need a position-independent CRT for PIE
- Implement the greatest possible part of the crt1 in C
- Implement SPARC versions of the ASM sections of crt1
- Build crt1 position-independently, minor ASM updates to be position
  independent
- Implement crt1 with the hook expected by modern GCC to support
  profiling, make gcrt1 a symlink for source compatibility (older GCC
  initializes profiling at firsnt use of _mcount if necessary, so
  doesn't need the gcrt)
- Split the CRT out of developer/library/lint into a separate c-runtime package

*** 21,33 **** # # # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # - #ident "%Z%%M% %I% %E% SMI" ! CRTSRCS= $(SRC)/lib/common/sparc include $(SRC)/cmd/sgs/0@0/Makefile.com .KEEP_STATE: --- 21,32 ---- # # # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! CRTSRCS= $(SRC)/lib/crt/sparcv7 include $(SRC)/cmd/sgs/0@0/Makefile.com .KEEP_STATE: