Skip to content
Commit dbb062e5 authored by H.J. Lu's avatar H.J. Lu
Browse files

gold: Disable &no_such_symbol_ != NULL check when GOT in use



Since this test:

  if (&no_such_symbol_ != NULL)
    {
      fprintf(stderr, "FAILED weak undef test 4: %s\n",
              "&no_such_symbol_ is not NULL");
      status = 1;
    }

always fails when GOT is used and aarch64 always uses GOT, disable it
for aarch64 and PIC.

	PR gold/32112
	* testsuite/weak_undef_test.cc (main): Disable the
	&no_such_symbol_ != NULL check for aarch64 and PIC.

Signed-off-by: default avatarH.J. Lu <hjl.tools@gmail.com>
parent 57a38451
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment