1. 27 10月, 2012 1 次提交
    • R
      add support for detecting pcc's compiler runtime · 3d99266b
      Rich Felker 提交于
      in old versions of pcc, the directory containing libpcc.a was not in
      the library path, and other options like -print-file-name may have
      been needed to locate it. however, -print-file-name itself seems to
      have been added around the same time that the directory was added to
      the search path, and moreover, I see no evidence that older versions
      of pcc are capable of building a working musl shared library. thus, it
      seems reasonable to just test whether -lpcc is accepted.
      3d99266b
  2. 26 10月, 2012 1 次提交
  3. 19 10月, 2012 1 次提交
  4. 03 10月, 2012 1 次提交
    • R
      tell the assembler to mark all files as not requiring executable stack · adefe830
      Rich Felker 提交于
      for some reason this option is undocumented. not sure when it was
      added, so I'm using a configure test. gcc was already setting the mark
      correctly for C files, but assembler source files would need ugly
      .note boilerplate in every single file to achieve this without the
      option to the assembler.
      
      blame whoever thought it would be a good idea to make the stack
      executable by default rather than doing it the other way around...
      adefe830
  5. 29 9月, 2012 1 次提交
    • R
      microblaze port · 8c0a3d9e
      Rich Felker 提交于
      based on initial work by rdp, with heavy modifications. some features
      including threads are untested because qemu app-level emulation seems
      to be broken and I do not have a proper system image for testing.
      8c0a3d9e
  6. 11 9月, 2012 1 次提交
    • R
      add LIBCC (compiler runtime) logic and override to configure · 2c1cd239
      Rich Felker 提交于
      this should both fix the issue with ARM needing -lgcc_eh (although
      that's really a bug in the libgcc build process that's causing
      considerable bloat, which should be fixed) and make it easier to build
      musl using clang/llvm in place of gcc. unfortunately I don't know a
      good way to detect and support pcc's -lpcc since it's not in pcc's
      default library search path...
      2c1cd239
  7. 29 8月, 2012 1 次提交
    • R
      get rid of eh_frame bloat · b439c051
      Rich Felker 提交于
      if needed for debugging, it will be output in the .debug_frame section
      instead, where it is not part of the loaded program and where the
      strip command is free to strip it.
      b439c051
  8. 26 8月, 2012 1 次提交
  9. 15 8月, 2012 1 次提交
  10. 06 8月, 2012 2 次提交
  11. 13 7月, 2012 1 次提交
  12. 11 7月, 2012 1 次提交
    • R
      initial version of mips (o32) port, based on work by Richard Pennington (rdp) · 6315004f
      Rich Felker 提交于
      basically, this version of the code was obtained by starting with
      rdp's work from his ellcc source tree, adapting it to musl's build
      system and coding style, auditing the bits headers for discrepencies
      with kernel definitions or glibc/LSB ABI or large file issues, fixing
      up incompatibility with the old binutils from aboriginal linux, and
      adding some new special cases to deal with the oddities of sigaction
      and pipe syscall interfaces on mips.
      
      at present, minimal test programs work, but some interfaces are broken
      or missing. threaded programs probably will not link.
      6315004f
  13. 04 7月, 2012 1 次提交
    • R
      configure: only use -ffloat-store on i386 · 2121b8a4
      Rich Felker 提交于
      this option is expensive and only used on old gcc's that lack
      -fexcess-precision=standed, but it's not needed on non-i386 archs
      where floating point does not have excess precision anyway.
      
      if musl ever supports m68k, i think it will need to be special-cased
      too. i'm not aware of any other archs with excess precision.
      2121b8a4
  14. 07 6月, 2012 5 次提交
    • R
      check for ld support of -Bsymbolic-functions; disable shared if not avail · 498a100d
      Rich Felker 提交于
      this issue affects the last gpl2 version of binutils, which some
      people are still using out of aversion to gpl3. musl requires
      -Bsymbolic-functions because it's the only way to make a libc.so
      that's able to operate prior to dynamic linking but that still behaves
      correctly with respect to global vars that may be moved to the main
      program via copy relocations.
      498a100d
    • R
    • R
      avoid linking main program in linker tests · 67a0383d
      Rich Felker 提交于
      it's possible that the user has provided a compiler that does not have
      any libc to link to, so linking a main program is a bad idea. instead,
      generate an empty shared library with no dependencies.
      67a0383d
    • R
      make configure try to disable stack protector · 0c5efde8
      Rich Felker 提交于
      in theory we could support stack protector in the libc itself, and
      users wanting to experiment with such usage could add
      -fstack-protector to CFLAGS intentionally. but to avoid breakage in
      the default case, override broken distro-patched gcc that forces stack
      protector on.
      0c5efde8
    • R
      add configure check for gnu linker hash style setting · 08f70a30
      Rich Felker 提交于
      some broken distro-provided toolchains have modified gcc to produce
      only "gnu hash" dynamic hash table by default. as this is unsupported
      by musl, that results in a non-working libc.so. we detect and switch
      this on in configure rather than hard-coding it in the Makefile
      because it's not supported by old binutils versions, but that might
      not even be relevant since old binutils versions already fail from
      -Bsymbolic-functions being missing. at some point I may review whether
      this should just go in the Makefile...
      08f70a30
  15. 04 6月, 2012 1 次提交
  16. 15 5月, 2012 1 次提交
  17. 14 5月, 2012 2 次提交
  18. 06 5月, 2012 1 次提交
  19. 05 5月, 2012 1 次提交
    • R
      initial commit of configure script · 64d2f8e8
      Rich Felker 提交于
      this script is not based on autoconf; however it attempts to follow
      the same interface contracts for ease of integration with build
      systems. it is also not necessary to use musl. manually written
      config.mak files are still supported, as is building without any
      config.mak at all as long as you are happy with the default options
      and you supply at least ARCH on the command line to make.
      64d2f8e8