Commit Graph
911 Commits
Author SHA1 Message Date
Anthony Green 79666abca8 Merge pull request #205 from filbranden/tool_opts
Fix dejagnu test support for --tool_opts
2016-02-20 06:38:40 -05:00
Anthony Green 20c7c31ca0 Merge pull request #225 from ehsan/safeseh
Don't clobber safeseh for msvcc.sh -clang-cl in 32-bit mode
2016-02-20 06:38:01 -05:00
Filipe Brandenburger 89b760503e Fix dejagnu test support for --tool_opts
Right now it concatenates it with the existing options and then appends
it to that list, fix it to simply append it as is, same as it is done
with the other variables.

Tested by running the following command which includes gcc options:
  $ make check RUNTESTFLAGS="--tool_opts '-Werror'"

Without this patch, all the tests fail. With it, the test succeed.
Inspecting the logs shows that -Werror was indeed used when compiling
the test sources.
2016-02-03 13:37:39 -08:00
Ehsan Akhgari 9c14cbfc7f Don't clobber safeseh for msvcc.sh -clang-cl in 32-bit mode
The commit fb25cd0 went a bit too far and removed safeseh
when -clang-cl was passed, but that's only needed in x86-64
which is already handled by the -m64 flag.

I discovered this when building Firefox x86 with clang-cl.
2016-01-28 16:57:18 -05:00
Anthony Green 6ba2a49e22 Merge pull request #222 from freakboy3742/t181
Fixed #181 -- Corrected problems with ARMv7 build under iOS.
2016-01-02 20:03:41 -05:00
Anthony Green 8005600a92 Merge pull request #224 from plicease/travis
update apt-get in travis
2016-01-02 16:44:29 -05:00
Graham Ollis 5e2b18a65d update apt-get in travis 2016-01-02 07:56:05 -05:00
Russell Keith-Magee 6a3a6acd9f Merge branch 'master' into t181 2015-12-21 00:37:37 +08:00
Russell Keith-Magee bc4fc07aa5 Fixed #181 -- Corrected problems with ARMv7 build under iOS.
Based on a patch from @fealebenpae, with input from @SolaWing and @rth7680,
and testing from @superdump.
2015-12-21 00:37:06 +08:00
Anthony Green 70594f7f8d Merge pull request #221 from tromey/document-closure-ffi_arg
Document closure ffi arg
2015-12-18 10:24:38 -05:00
Tom Tromey 6affad7911 correctly document closure return promotion 2015-12-17 16:59:11 -07:00
Tom Tromey 8a7cdeb041 fix formatting of ffi_prep_closure_loc arguments 2015-12-17 16:58:23 -07:00
Anthony Green 88deacdd42 speling fix 2015-11-15 08:39:17 -05:00
Anthony Green 5973dca595 Merge pull request #209 from tromey/documentation-updates
documentation fixes
2015-11-15 08:36:48 -05:00
Anthony Green 2a988c4455 Merge pull request #207 from tromey/deprecate-ffi-prep-closure
mark ffi_prep_closure as deprecated
2015-11-15 08:33:46 -05:00
Tom Tromey 473bcbcad3 documentation fixes
Fixes #78.  Documentation for #33 and #35, but no fix.
2015-11-10 16:14:02 -07:00
Tom Tromey ff33ddd1ab mark ffi_prep_closure as deprecated 2015-11-07 12:04:24 -07:00
Anthony Green e9de7e35f2 Merge pull request #202 from tromey/note-prep-cif-var-usage
document that there must be ntotalargs types
2015-10-11 10:54:50 -04:00
Anthony Green d19b6cc78e Merge pull request #201 from tromey/fix-texinfo-buglet
Add missing "@" to @var{}
2015-10-11 10:54:22 -04:00
Tom Tromey 0ebde2d24a document that there must be ntotalargs types 2015-10-06 11:42:43 -06:00
Tom Tromey 36f3fb9141 Add missing "@" to @var{} 2015-10-05 10:20:05 -06:00
Russell Keith-Magee e3d2812ce4 Modified arm/sysv.S to remove directives not allowed by clang. 2015-04-25 19:03:03 +08:00
Anthony Green 17ffc3655a Merge pull request #185 from freakboy3742/t184
Fixed #184 -- Corrected source file references in Darwin source generator tool.
2015-03-29 21:38:26 -04:00
Anthony Green 173757ce97 Merge pull request #186 from freakboy3742/gitignore
Added generated source file to .gitignore.
2015-03-29 21:38:12 -04:00
Russell Keith-Magee dd9e4c8d46 Added generated source file to .gitignore. 2015-03-13 08:03:13 +08:00
Russell Keith-Magee a5b3eaa279 Fixed #184 -- Corrected file references in Darwin source generator tool. 2015-03-13 07:59:11 +08:00
Anthony Green f5ec6279a4 Merge pull request #178 from rth7680/aa64-ilp32
aarch64: Handle ILP32 ABI
2015-03-04 13:58:04 -05:00
Andrew Pinski 95df379193 aarch64: Handle ILP32 ABI 2015-02-11 08:31:48 -08:00
Anthony Green 06747d3187 Merge pull request #176 from 0-wiz-0/master
Handle NetBSD/powerpc the same as FreeBSD and OpenBSD.
2015-01-29 07:22:23 -05:00
Thomas Klausner 6c5357757f Handle NetBSD/powerpc the same as FreeBSD and OpenBSD.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
2015-01-29 12:32:28 +01:00
Anthony Green db1b34b7e1 Remove incomplete sentence 2015-01-28 18:08:06 -05:00
Anthony Green 56036a6b58 Merge pull request #175 from rth7680/sparc
sparc: Re-introduce hand-written unwind info
2015-01-28 18:03:57 -05:00
Anthony Green 035715b333 Merge pull request #174 from rth7680/fbsd
configure: Run HAVE_AS_X86_PCREL for all X86 targets
2015-01-28 18:03:06 -05:00
Richard Henderson 2104b2a4fc sparc: Re-introduce hand-written unwind info
Fixes the build with the Solaris assembler.
2015-01-28 09:41:07 -08:00
Richard Henderson b0e9796344 configure: Run HAVE_AS_X86_PCREL for all X86 targets 2015-01-27 22:10:12 -08:00
Anthony Green 31a6185307 Merge pull request #170 from fealebenpae/aarch64-trampoline-table
Support closures on ARM64 iOS
2015-01-21 05:55:47 -05:00
Anthony Green d6675c16cc Merge pull request #172 from rth7680/fixes
x86: Fix cygwin32 build
2015-01-21 05:53:21 -05:00
Richard Henderson 3ac1610aa3 x86: Fix cygwin32 build
The section syntax is just that little bit different.
2015-01-19 20:48:40 +01:00
Anthony Green a25a46a7fe Merge pull request #171 from rth7680/fixes
Fixes from mainline gcc
2015-01-16 17:32:07 -05:00
Richard Henderson 1ad0b17177 sparc: Also mark the return address in unwind info 2015-01-16 13:30:05 -08:00
Richard Henderson d68c8aed19 sparc: Solaris fixes, part 2
/bin/as seems to only understand single-digit labels
/bin/as knows nothing about .rept/.endr
2015-01-16 11:40:33 -08:00
Rainer Orth b740ab7cc9 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.
2015-01-16 11:32:23 -08:00
Rainer Orth f1560b7bbe 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.
2015-01-16 11:32:11 -08:00
Yavor Georgiev 536366349c aarch64: implement the trampoline table workaround for ffi closures on Apple systems
This is a direct copy/paste port of the ARM code, with changes because of Aarch64 pc-relative addressing restrictions.
2015-01-16 15:31:55 +02:00
Yavor Georgiev 05e65b4e20 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.
2015-01-16 15:31:02 +02:00
Anthony Green 5cd411ad5d New test case for old aarch64 bug 2015-01-13 15:44:03 -05:00
Richard Henderson e46842b414 Remove extra brackets in configure.host
This table is no longer in configure.ac, needing
protection from m4.
2015-01-13 07:23:48 -08:00
Richard Henderson f27c4e4673 x86: Fix thinko in ffi_raw_call
Missed structure initialization for raw path.
Apparently there are no tests for this outside gcc.
2015-01-13 07:22:07 -08:00
Anthony Green c82cc15942 Merge pull request #166 from chevah/master
Fix expr error in Solaris 10 when using gcc.
2015-01-10 09:25:26 -05:00
Anthony Green 1c61e73ad8 Merge pull request #165 from rth7680/pcc
Support PCC as producer and consumer
2015-01-10 09:23:30 -05:00