This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[Patch,ld] Support cflags, ldflags from board description file in ld tests
- From: Vidya Praveen <vidyapraveen at arm dot com>
- To: binutils at sourceware dot org
- Cc: nickc at redhat dot com
- Date: Wed, 11 Dec 2013 13:38:01 +0000
- Subject: [Patch,ld] Support cflags, ldflags from board description file in ld tests
- Authentication-results: sourceware.org; auth=none
Hello,
This patch enables the ld regression test scripts to use ldflags and cflags
from the board description file. However, these are used only when the tests
makes use of default_ld_link or default_ld_simple_link or default_ld_compile
eventually.
Tested for aarch64-one-elf, arm-none-eabi, arm-none-linux-gnueabihf and
x86_64-unknown-linux-gnu.
OK for trunk?
Cheers
VP.
ld/testsuite/ChangeLog:
2013-12-11 Vidya Praveen <vidyapraveen@arm.com>
* lib/ld-lib.exp (default_ld_link): Use ldflags from board description
file.
(default_ld_simple_link): Likewise.
(default_ld_compile): Use cflags from board description file.