1. 01 12月, 2012 1 次提交
    • R
      fix ordering of shared library ctors with respect to libc init · a7936f61
      Rich Felker 提交于
      previously, shared library constructors were being called before
      important internal things like the environment (extern char **environ)
      and hwcap flags (needed for sjlj to work right with float on arm) were
      initialized in __libc_start_main. rather than trying to have to
      dynamic linker make sure this stuff all gets initialized right, I've
      opted to just defer calling shared library constructors until after
      the main program's entry point is reached. this also fixes the order
      of ctors to be the exact reverse of dtors, which is a desirable
      property and possibly even mandated by some languages.
      
      the main practical effect of this change is that shared libraries
      calling getenv from ctors will no longer fail.
      a7936f61
  2. 27 11月, 2012 5 次提交
  3. 26 11月, 2012 4 次提交
  4. 24 11月, 2012 9 次提交
  5. 22 11月, 2012 6 次提交
  6. 21 11月, 2012 1 次提交
  7. 19 11月, 2012 9 次提交
  8. 18 11月, 2012 5 次提交