This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 5/5] ARM: asm-source.exp link options in case of armv7b target
- From: Yao Qi <yao at codesourcery dot com>
- To: Victor Kamensky <victor dot kamensky at linaro dot org>
- Cc: <gdb-patches at sourceware dot org>
- Date: Fri, 24 Oct 2014 14:05:56 +0800
- Subject: Re: [PATCH 5/5] ARM: asm-source.exp link options in case of armv7b target
- Authentication-results: sourceware.org; auth=none
- References: <1413853021-4393-1-git-send-email-victor dot kamensky at linaro dot org> <1413853021-4393-6-git-send-email-victor dot kamensky at linaro dot org>
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 (éå)