Commit Graph

4 Commits

Author SHA1 Message Date
Daniel Kroening 8b2fc415fe mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
Kareem Khazem bea696a4d9
Regenerated cross-compiled arch flag test binaries
This was needed after an update to goto-cc, which caused
previously-compiled binaries used in the test suite to trigger an
assertion failure. Also updated instructions on how to generate these
binaries.

This commit fixes #1376.
2017-09-19 09:04:00 +01:00
reuk a46ad62985 Regenerate malformed binary blobs 2017-09-13 21:57:33 +01:00
Kareem Khazem 21d0610cf4 [goto-cc] Add support for ARM-enabling flags
goto-cc now accepts the following flags:

-mthumb{,-interwork}
-mcpu=PROC
-march=PROC
-mtune=PROC

where PROC is one of the (many) processors that GCC accepts for those
three arguments.

Supplying one or more of these flags causes goto-cc to switch to the
mode of that architecture, i.e. by changing output code format, sizes of
pointers and integers, etc. Thus, passing (for example) -mcpu=cortex-a15
is enough to make goto-cc generate ARM-32 code; there is no longer any
need to pass -m32.
2017-05-23 14:23:43 +01:00