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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc/req.flg
          +++ new/usr/src/lib/libc/req.flg
↓ open down ↓ 20 lines elided ↑ open up ↑
  21   21  #
  22   22  #
  23   23  # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26   26  
  27   27  find_files "s.*" usr/src/common/atomic
  28   28  find_files "s.*" usr/src/common/dtrace
  29   29  find_files "s.*" usr/src/common/secflags
  30   30  find_files "s.*" usr/src/common/util
  31      -find_files "s.*" usr/src/lib/common
       31 +find_files "s.*" usr/src/lib/crt
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX