diff options
author | Yao Qi <yao.qi@linaro.org> | 2018-01-19 09:16:45 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2018-01-19 09:16:45 +0000 |
commit | 88af8ea80b9732f951e61a4ed8868e722f337c8e (patch) | |
tree | a402bcf58e313d1473a68345ca32c61f26a29dea /bfd/po | |
parent | dea445b940545f9564972c5410ac8792b72cc9c3 (diff) | |
download | gdb-88af8ea80b9732f951e61a4ed8868e722f337c8e.zip gdb-88af8ea80b9732f951e61a4ed8868e722f337c8e.tar.gz gdb-88af8ea80b9732f951e61a4ed8868e722f337c8e.tar.bz2 |
Don't pass -m32 to libcc1 on arm-linux
When I run gdb.compile/ tests on arm-linux, I get the following fails,
(gdb) compile code -- ;^M
arm-none-linux-gnueabihf-gcc: error: unrecognized command line option '-m32'; did you mean '-mbe32'?^M
Compilation failed.^M
(gdb) compile code (void) param^M
arm-none-linux-gnueabihf-gcc: error: unrecognized command line option '-m32'; did you mean '-mbe32'?^M
Compilation failed.^M
(gdb) FAIL: gdb.compile/compile-ops.exp: compile code (void) param
This patch fixes it by implementing gcc_target_options gdbarch method
for arm-linux to override option "-m32".
gdb:
2018-01-19 Yao Qi <yao.qi@linaro.org>
* arm-linux-tdep.c (arm_linux_gcc_target_options): New function.
(arm_linux_init_abi): Install it.
Diffstat (limited to 'bfd/po')
0 files changed, 0 insertions, 0 deletions