Build elf/tst-array2 and elf/tst-array5 with --no-as-needed

* elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
	(LDFLAGS-tst-array5): Likewise.
This commit is contained in:
Adam Conrad 2013-01-22 23:05:33 -07:00
parent 052aff9578
commit 5655a0b58e
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-01-23 Adam Conrad <adconrad@0c3.net>
* elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
(LDFLAGS-tst-array5): Likewise.
2013-01-23 Joseph Myers <joseph@codesourcery.com>
[BZ #15036]

View File

@ -849,6 +849,9 @@ LDFLAGS-tst-execstack-needed = -Wl,-z,noexecstack
LDFLAGS-tst-execstack-prog = -Wl,-z,execstack
endif
LDFLAGS-tst-array2 = $(no-as-needed)
LDFLAGS-tst-array5 = $(no-as-needed)
$(objpfx)tst-array1.out: tst-array1.exp $(objpfx)tst-array1
$(test-program-cmd) > $@
cmp $@ tst-array1.exp > /dev/null