1. 25 4月, 2012 1 次提交
    • R
      first attempt at enabling stack protector support · 60872cf9
      Rich Felker 提交于
      the code is written to pre-init the thread pointer in static linked
      programs that pull in __stack_chk_fail or dynamic-linked programs that
      lookup the symbol. no explicit canary is set; the canary will be
      whatever happens to be in the thread structure at the offset gcc
      hard-coded. this can be improved later.
      60872cf9
  2. 24 4月, 2012 1 次提交
    • R
      make dlerror produce informative results · a5d10eb1
      Rich Felker 提交于
      note that dlerror is specified to be non-thread-safe, so no locking is
      performed on the error flag or message aside from the rwlock already
      held by dlopen or dlsym. if 2 invocations of dlsym are generating
      errors at the same time, they could clobber each other's results, but
      the resulting string, albeit corrupt, will still be null-terminated.
      any use of dlerror in such a situation could not be expected to give
      meaningful results anyway.
      a5d10eb1
  3. 23 3月, 2012 1 次提交
    • R
      make dlerror conform to posix · a9e85c0a
      Rich Felker 提交于
      the error status is required to be sticky after failure of dlopen or
      dlsym until cleared by dlerror. applications and especially libraries
      should never rely on this since it is not thread-safe and subject to
      race conditions, but glib does anyway.
      a9e85c0a
  4. 08 2月, 2012 2 次提交
  5. 07 2月, 2012 2 次提交
  6. 03 2月, 2012 1 次提交
    • R
      include dummied-out dlopen and dlsym functions for static binaries · 5a09a530
      Rich Felker 提交于
      these don't work (or do anything at all) but at least make it possible
      to static link programs that insist on "having" dynamic loading
      support...as long as they don't actually need to use it.
      
      adding real support for dlopen/dlsym with static linking is going to
      be significantly more difficult...
      5a09a530
  7. 24 1月, 2012 1 次提交
  8. 23 1月, 2012 2 次提交
  9. 21 1月, 2012 1 次提交
    • R
      fix dynamic linker not to depend on DYNAMIC ptr in 0th entry of GOT · 0b6dc097
      Rich Felker 提交于
      this fixes an issue using gold instead of gnu ld for linking. it also
      should eliminate the need of the startup code to even load/pass the
      got address to the dynamic linker.
      
      based on patch submitted by sh4rm4 with minor cosmetic changes.
      
      further cleanup will follow.
      0b6dc097
  10. 17 1月, 2012 1 次提交
  11. 19 9月, 2011 1 次提交
  12. 16 8月, 2011 4 次提交
  13. 25 7月, 2011 1 次提交
  14. 24 7月, 2011 3 次提交
  15. 02 7月, 2011 1 次提交
  16. 01 7月, 2011 1 次提交
  17. 29 6月, 2011 4 次提交
  18. 27 6月, 2011 7 次提交
  19. 26 6月, 2011 3 次提交
  20. 25 6月, 2011 2 次提交