1. 20 12月, 2012 1 次提交
  2. 19 12月, 2012 3 次提交
  3. 17 12月, 2012 2 次提交
  4. 16 12月, 2012 1 次提交
  5. 15 12月, 2012 3 次提交
  6. 14 12月, 2012 2 次提交
  7. 12 12月, 2012 9 次提交
  8. 11 12月, 2012 4 次提交
  9. 08 12月, 2012 5 次提交
    • R
      add support for ctors/dtors on arm with modern gcc · 34aa169d
      Rich Felker 提交于
      a while back, gcc switched from using the old _init/_fini fragments
      method for calling ctors and dtors on arm to the __init_array and
      __fini_array method. unfortunately, on glibc this depends on ugly
      hacks involving making libc.so a linker script and pulling parts of
      libc into the main program binary. so I cheat a little bit, and just
      write asm to iterate over the init/fini arrays from the _init/_fini
      asm. the same approach could be used on any arch it's needed on, but
      for now arm is the only one.
      34aa169d
    • R
      page-align initial brk value used by malloc in shared libc · b8ccf8e4
      Rich Felker 提交于
      this change fixes an obscure issue with some nonstandard kernels,
      where the initial brk syscall returns a pointer just past the end of
      bss rather than the beginning of a new page. in that case, the dynamic
      linker has already reclaimed the space between the end of bss and the
      page end for use by malloc, and memory corruption (allocating the same
      memory twice) will occur when malloc again claims it on the first call
      to brk.
      b8ccf8e4
    • R
      remove __arch_prctl alias for arch_prctl · 3ee67505
      Rich Felker 提交于
      if there's evidence of any use for it, we can add it back later. as
      far as I can tell, glibc has it only for internal use (and musl uses a
      direct syscall in that case rather than a function call), not for
      exposing it to applications.
      3ee67505
    • R
      55aef73f
    • R
      03b0f13e
  10. 07 12月, 2012 10 次提交