[Patch,ARM] Fix emul selection in ld-arm/export-class.exp
Vidya Praveen
vidyapraveen@arm.com
Mon Sep 2 10:25:00 GMT 2013
Ping!
On Thu, Aug 29, 2013 at 02:40:35PM +0100, Vidya Praveen wrote:
> Hello,
>
> ARM Symbol export class test fails for arm-none-linux-gnuebihf because the
> condition introduced by the patch:
>
> https://sourceware.org/ml/binutils/2013-08/msg00100.html
>
> doesn't match arm-none-linux-gnuebihf and ends up choosing armelf_linux
> which is invalid in this case. This patch fixes the condition.
>
> Tested with ld regressions and no new regressions.
>
> OK for trunk?
>
> Regards
> VP
>
> ---
>
> ld/testsuite/ChangeLog
>
> 2013-08-29 Vidya Praveen <vidyapraveen@arm.com>
>
> * ld-arm/export-class.exp: Fix the condition.
>
> diff --git a/ld/testsuite/ld-arm/export-class.exp b/ld/testsuite/ld-arm/export-class.exp
> index 4e33389..8fac9ec 100644
> --- a/ld/testsuite/ld-arm/export-class.exp
> +++ b/ld/testsuite/ld-arm/export-class.exp
> @@ -32,7 +32,7 @@ if { ![istarget arm*-*-linux*] } {
>
> set testname "ARM symbol export class test"
>
> -if [istarget arm*-*-linux*eabi] {
> +if [istarget arm*-*-linux-*eabi*] {
> set emul armelf_linux_eabi
> } else {
> set emul armelf_linux
More information about the Binutils
mailing list