diff --git a/regression/ansi-c/arch_flags_mcpu_bad/object.intel b/regression/ansi-c/arch_flags_mcpu_bad/object.intel index e32d04e4c56..11593f7dcf1 100644 Binary files a/regression/ansi-c/arch_flags_mcpu_bad/object.intel and b/regression/ansi-c/arch_flags_mcpu_bad/object.intel differ diff --git a/regression/ansi-c/arch_flags_mcpu_good/object.arm b/regression/ansi-c/arch_flags_mcpu_good/object.arm index f0a1397b8d6..9ac75ab47a9 100644 Binary files a/regression/ansi-c/arch_flags_mcpu_good/object.arm and b/regression/ansi-c/arch_flags_mcpu_good/object.arm differ diff --git a/regression/ansi-c/arch_flags_mcpu_good/test.desc b/regression/ansi-c/arch_flags_mcpu_good/test.desc index c7daf68b878..141e5a37063 100644 --- a/regression/ansi-c/arch_flags_mcpu_good/test.desc +++ b/regression/ansi-c/arch_flags_mcpu_good/test.desc @@ -12,12 +12,17 @@ The object file 'object.arm' was compiled from 'source.c' with goto-cc along with an ARM cross-compiler on a 64-bit platform with the following command line: - goto-cc --native-compiler=arm-none-eabi-gcc -mcpu=cortex-a15 -c source.c + goto-cc -o object.arm --native-compiler=arm-none-eabi-gcc -mcpu=cortex-a15 -c source.c -On Ubuntu, you can get a suitable compiler using: +To regenerate object.arm on an x86_64 machine, you will need to install +an ARM-32 cross compiler and pass the name of that compiler to the +--native-compiler flag. On Ubuntu, you can get a suitable compiler +using: sudo apt install gcc-arm-none-eabi +which will install arm-none-eabi-gcc (amongst other things). + preproc.i is already pre-processed so that it can be linked in without needing to invoke a pre-processor from a cross-compile toolchain on your local machine. Linking it together with the ARM object file, while diff --git a/regression/ansi-c/arch_flags_mthumb_bad/object.intel b/regression/ansi-c/arch_flags_mthumb_bad/object.intel index 72136c8ae3c..fc2d521766a 100644 Binary files a/regression/ansi-c/arch_flags_mthumb_bad/object.intel and b/regression/ansi-c/arch_flags_mthumb_bad/object.intel differ diff --git a/regression/ansi-c/arch_flags_mthumb_good/object.arm b/regression/ansi-c/arch_flags_mthumb_good/object.arm index eb41c683911..86bbebb1240 100644 Binary files a/regression/ansi-c/arch_flags_mthumb_good/object.arm and b/regression/ansi-c/arch_flags_mthumb_good/object.arm differ diff --git a/regression/ansi-c/arch_flags_mthumb_good/test.desc b/regression/ansi-c/arch_flags_mthumb_good/test.desc index 9f56b40997e..6bed1f3ccc9 100644 --- a/regression/ansi-c/arch_flags_mthumb_good/test.desc +++ b/regression/ansi-c/arch_flags_mthumb_good/test.desc @@ -12,12 +12,17 @@ file 'object.arm' was compiled from 'source.c' with goto-cc along with an ARM cross-compiler on a 64-bit platform with the following command line: - goto-cc --native-compiler=arm-none-eabi-gcc -mthumb -c source.c + goto-cc -o object.arm --native-compiler=arm-none-eabi-gcc -mthumb -c source.c -On Ubuntu, you can get a suitable compiler using: +To regenerate object.arm on an x86_64 machine, you will need to install +an ARM-32 cross compiler and pass the name of that compiler to the +--native-compiler flag. On Ubuntu, you can get a suitable compiler +using: sudo apt install gcc-arm-none-eabi +which will install arm-none-eabi-gcc (amongst other things). + preproc.i is already pre-processed so that it can be linked in without needing to invoke a pre-processor from a cross-compile toolchain on your local machine. Linking it together with the ARM object file, while