This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [gold commit] Fix handling of __ehdr_start
- From: Cary Coutant <ccoutant at google dot com>
- To: Cary Coutant <ccoutant at google dot com>, Binutils <binutils at sourceware dot org>
- Date: Tue, 27 May 2014 11:40:28 -0700
- Subject: Re: [gold commit] Fix handling of __ehdr_start
- Authentication-results: sourceware.org; auth=none
- References: <20140502233010 dot 1722219406F7 at ccoutant-macbookpro2 dot roam dot corp dot google dot com> <20140520062228 dot GP5162 at bubble dot grove dot modra dot org>
On Mon, May 19, 2014 at 11:22 PM, Alan Modra <amodra@gmail.com> wrote:
> On Fri, May 02, 2014 at 04:30:09PM -0700, Cary Coutant wrote:
>> * testsuite/ehdr_start_test_4.sh: New shell script.
>
> This test has been failing for me. Shouldn't it be expecting an
> undefined __ehdr_start?
>
> * testsuite/ehdr_start_test_4.sh: Expect undefined sym.
>
> diff --git a/gold/testsuite/ehdr_start_test_4.sh b/gold/testsuite/ehdr_start_test_4.sh
> index ad0a5a7..5e3d20f 100755
> --- a/gold/testsuite/ehdr_start_test_4.sh
> +++ b/gold/testsuite/ehdr_start_test_4.sh
> @@ -35,6 +35,6 @@ check()
> fi
> }
>
> -check ehdr_start_test_4.syms "w __ehdr_start"
> +check ehdr_start_test_4.syms "U __ehdr_start"
>
> exit 0
It should show as a weak undef. What platform are you testing on?
Maybe I need to change the pattern to "[wU] __ehdr_start"?
-cary