Re: [PATCH 5/5] ARM: asm-source.exp link options in case of armv7b target

Yao Qi
2014-10-24T06:10:41Z

Victor Kamensky <victor.kamensky@linaro.org> writes:

> + "armv7b-*-*" {
> + set asm-arch arm
> + append link-flags " -be8"
> + }

We can't tell whether "-be8" is needed from the target triplet.
Considering multi-lib, "-be8" is needed for one multilib, but not
for the other.

Maybe, you can fix your problem by running tests via LDFLAGS_FOR_TARGET,

$ make check RUNTESTFLAGS='LDFLAGS_FOR_TARGET=-be8'

or you can create your own board file foo.exp, and add

set_board_info ldflags "-be8"

$ make check RUNTESTFLAGS='--target_board=foo'

--
Yao (齐尧)