Permalink
Commits on Jan 29, 2015
  1. Merge pull request #176 from 0-wiz-0/master

    Handle NetBSD/powerpc the same as FreeBSD and OpenBSD.
    atgreen committed Jan 29, 2015
  2. Handle NetBSD/powerpc the same as FreeBSD and OpenBSD.

    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
    0-wiz-0 committed Jan 29, 2015
Commits on Jan 28, 2015
  1. Remove incomplete sentence

    atgreen committed Jan 28, 2015
  2. Merge pull request #175 from rth7680/sparc

    sparc: Re-introduce hand-written unwind info
    atgreen committed Jan 28, 2015
  3. Merge pull request #174 from rth7680/fbsd

    configure: Run HAVE_AS_X86_PCREL for all X86 targets
    atgreen committed Jan 28, 2015
  4. sparc: Re-introduce hand-written unwind info

    Fixes the build with the Solaris assembler.
    rth7680 committed Jan 26, 2015
Commits on Jan 21, 2015
  1. Merge pull request #170 from fealebenpae/aarch64-trampoline-table

    Support closures on ARM64 iOS
    atgreen committed Jan 21, 2015
  2. Merge pull request #172 from rth7680/fixes

    x86: Fix cygwin32 build
    atgreen committed Jan 21, 2015
Commits on Jan 19, 2015
  1. x86: Fix cygwin32 build

    The section syntax is just that little bit different.
    rth7680 committed Jan 19, 2015
Commits on Jan 16, 2015
  1. Merge pull request #171 from rth7680/fixes

    Fixes from mainline gcc
    atgreen committed Jan 16, 2015
  2. sparc: Solaris fixes, part 2

    /bin/as seems to only understand single-digit labels
    /bin/as knows nothing about .rept/.endr
    rth7680 committed Jan 16, 2015
  3. sparc: Solaris fixes

    * /bin/as requires .type fn,#function instead of @function.
    * /bin/as doesn't support .macro/.endm.  I'm using preprocessor macros
      instead to implement E in src/sparc/v[89].S.
    rorth committed with rth7680 Jan 16, 2015
  4. x86: Solaris fixes

    * Solaris/x86 /bin/as doesn't support .org, so I've just disabled the
      uses in src/x86/{sysv, unix64}.S, as on Darwin.
    * Solaris/x86 needs to use EH_FRAME_FLAGS so manually and compiler
      generated .eh_frame sections match, otherwise libffi.so fails to link:
    * Solaris/x86 /bin/as has different COMDAT syntax; I've disabled it for
      the moment.
    rorth committed with rth7680 Jan 16, 2015
  5. aarch64: implement the trampoline table workaround for ffi closures o…

    …n Apple systems
    
    This is a direct copy/paste port of the ARM code, with changes because of Aarch64 pc-relative addressing restrictions.
    fealebenpae committed Jan 16, 2015
  6. aarch64: rewrite range syntax into list to appease Clang

    Clang's assembler in Xcode 6 appears to choke when the operand of st4 is a range, but is happy with a list.
    fealebenpae committed Jan 16, 2015
Commits on Jan 13, 2015
  1. Remove extra brackets in configure.host

    This table is no longer in configure.ac, needing
    protection from m4.
    rth7680 committed Jan 13, 2015
  2. x86: Fix thinko in ffi_raw_call

    Missed structure initialization for raw path.
    Apparently there are no tests for this outside gcc.
    rth7680 committed Jan 13, 2015
Commits on Jan 10, 2015
  1. Merge pull request #166 from chevah/master

    Fix expr error in Solaris 10 when using gcc.
    atgreen committed Jan 10, 2015
  2. Merge pull request #165 from rth7680/pcc

    Support PCC as producer and consumer
    atgreen committed Jan 10, 2015
  3. Merge pull request #164 from rth7680/darwin

    Fix build on darwin
    atgreen committed Jan 10, 2015
  4. Merge pull request #160 from nobu/msvc-no-complex

    x86: MSVC does not support Complex type
    atgreen committed Jan 10, 2015
  5. Merge pull request #159 from nobu/fix-void-arith

    x86: Fix void pointer arithmetic
    atgreen committed Jan 10, 2015
Commits on Jan 7, 2015
Commits on Jan 5, 2015
  1. x86: Avoid fastcall when building with pcc

    Apparently, PCC doesn't support the fastcall calling convention.
    Nor does it issue a warning or error for the attribute that it
    does not understand.
    rth7680 committed Jan 5, 2015
  2. x86: Expand FFI_GO_CLOSURE

    If we're going to have to hand-write unwind info for darwin,
    these macros make the job harder.
    rth7680 committed Dec 10, 2014
  3. x86: More Darwin unwind fixups

    EHFrame{N} IIRC is a special cue to ld64 that it should treat the unwind
    in the object as "special/legacy" .. [these days everything is .cfi_xxxx
    (except, cctools-as, as you noted)] .. without that much confusion arises
    with ld64's atom-isation of the eh_frame section.
    
    xxxx.eh labels are not needed for darwin ld64 >= 85.2.1 (i.e. darwin9,
    xcode 3.1.4) to all intents and purposes, that's all that matters now,
    since I think that anyone trying to build on 10.4/darwin8/xcode2.5 would
    have to use a later ld64 (from odcctools) for other reasons.
    iains committed with rth7680 Nov 25, 2014
  4. x86: Reinstate hand-written unwind info for unix64.S

    One more try to get default Darwin to work.
    rth7680 committed Nov 25, 2014
  5. x86: Avoid using gas local labels

    Which are unsupported by Darwin cctools as.
    Thankfully this doesn't uglify the source too much.
    rth7680 committed Nov 24, 2014
  6. x86: Remove use of .cfi_escape

    The unwind info isn't 100% correct at all points during the epilogue,
    and not annotating is just as incorrect as the annotation.  This works
    better on systems that do not support DW_OP_call_frame_cfa.
    rth7680 committed Nov 24, 2014
  7. x86: Honor alignment of arguments

    Darwin aligns long-double to 16, and thus all of the long double
    tests were failing due to not honoring that.  We ought to be able
    to devise a test case for GCC using __attribute__((aligned)) that
    would have failed too.
    rth7680 committed Nov 24, 2014