aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop-invariant.c
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2018-08-25 13:58:02 +0100
committerIain Sandoe <iain@sandoe.co.uk>2020-12-01 14:41:09 +0000
commit2133e773ab855af036de5f6f29eae30d43f1422b (patch)
tree7f69f26c3963b5b6453d61959db14e87b9eb95e7 /gcc/loop-invariant.c
parent6aa12274007bccbae2691a9d336c37fe167bb535 (diff)
downloadgcc-2133e773ab855af036de5f6f29eae30d43f1422b.zip
gcc-2133e773ab855af036de5f6f29eae30d43f1422b.tar.gz
gcc-2133e773ab855af036de5f6f29eae30d43f1422b.tar.bz2
configury : Fix LEB128 support for non-GNU assemblers.
The current configuration test for LEB128 support in the assembler is (a) specific to GNU assemblers and (b) only checks that the directives are accepted, not that they give correct output. The patch extends the asm test to cover one failure case present in assemblers based off an older version of GAS (where a 64 bit value with the MSB set presented to a .uleb128 directive causes a fail). The test is now generalized such that it does not make use of any specific test for assembler source/version, but checks that the output is as expected. We cater for scanning the object with objdump (either binutils or LLVM) or Darwin otool. gcc/ChangeLog: * configure.ac (check leb128 support): Check that assemblers both accept the LEB128 directives and also give the expected output. Add a test for uleb128 with the MSB set for a 64 bit value. * configure: Regenerated.
Diffstat (limited to 'gcc/loop-invariant.c')
0 files changed, 0 insertions, 0 deletions