[gold commit] Fix handling of __ehdr_start
Cary Coutant
ccoutant@google.com
Tue May 27 18:40:00 GMT 2014
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
More information about the Binutils
mailing list