+2020-09-10 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/26590
+ * testsuite/ld-elf/pr26590.err: New file.
+ * testsuite/ld-elf/pr26590a.c: Likewise.
+ * testsuite/ld-elf/pr26590b.c: Likewise.
+ * testsuite/ld-elf/pr26590c.c: Likewise.
+ * testsuite/ld-elf/pr26590d.c: Likewise.
+ * testsuite/ld-elf/shared.exp: Run ld/26590 tests.
+
2020-09-10 Alan Modra <amodra@gmail.com>
* testsuite/ld-elf/pr26580-2.sd: Accept undefined symbol.
{} \
"libpr2404b.a" \
] \
+ [list \
+ "Build libpr26590a.so" \
+ "-shared" \
+ "-fPIC" \
+ {pr26590a.c} \
+ {} \
+ "libpr26590a.so" \
+ ] \
+ [list \
+ "Build libpr26590b.so (1)" \
+ "-shared" \
+ "-fPIC" \
+ {pr26590b.c} \
+ {} \
+ "libpr26590b.so" \
+ ] \
+ [list \
+ "Build pr26590c.o and pr26590d.o" \
+ "" \
+ "" \
+ {pr26590c.c pr26590d.c} \
+ {} \
+ ] \
+ [list \
+ "Build pr26590 (1)" \
+ "tmpdir/pr26590c.o tmpdir/pr26590d.o \
+ -Wl,--as-needed tmpdir/libpr26590a.so tmpdir/libpr26590b.so" \
+ "" \
+ {dummy.c} \
+ {{error_output pr26590.err}} \
+ "pr26590" \
+ ] \
+ [list \
+ "Build libpr26590b.so (2)" \
+ "-shared -Wl,--no-as-needed \
+ tmpdir/libpr26590a.so" \
+ "-fPIC" \
+ {pr26590b.c} \
+ {} \
+ "libpr26590b.so" \
+ ] \
+ [list \
+ "Build pr26590 (2)" \
+ "tmpdir/pr26590c.o tmpdir/pr26590d.o \
+ -Wl,--as-needed tmpdir/libpr26590a.so tmpdir/libpr26590b.so" \
+ "" \
+ {dummy.c} \
+ {} \
+ "pr26590" \
+ ] \
]
# pr19073.s uses .set, which has a different meaning on alpha.
"" "" \
{pr26580-a.c} "pr26580-4" "pr26580-4.out" "-fcommon" "c" "" \
"-Wl,--no-as-needed tmpdir/libpr26580-2.so" ] \
+ [list "Run pr26590 (2)" \
+ "" "" \
+ {pr26590c.c pr26590d.c} "pr26590" "pass.out" "" "c" "" \
+ "-Wl,--as-needed tmpdir/libpr26590a.so tmpdir/libpr26590b.so" ] \
]
# NetBSD ELF systems do not currently support the .*_array sections.