This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gold commit] Fix handling of __ehdr_start


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]