run_ld_link_tests [list \
[list \
"PR ld/20828 dynamic symbols with section GC\
- (auxiliary shared library)" \
- "$LFLAGS -shared --gc-sections -T pr20828.ld" "" "$AFLAGS_PIC" \
- {pr20828.s} \
- {{readelf --dyn-syms pr20828-a.sd} \
- {readelf --dyn-syms pr20828-b.sd}} \
- "libpr20828.so"] \
+ (auxiliary shared library)" \
+ "$LFLAGS -shared --gc-sections -T pr20828.ld" "" "$AFLAGS_PIC" \
+ {pr20828.s} \
+ {{readelf --dyn-syms pr20828-a.sd} \
+ {readelf --dyn-syms pr20828-b.sd}} \
+ "libpr20828.so"] \
[list \
"PR ld/20828 dynamic symbols with section GC (plain)" \
- "$LFLAGS -shared --gc-sections -T pr20828.ld" \
- "tmpdir/libpr20828.so" "$AFLAGS_PIC" \
- {pr20828.s} \
- {{readelf --dyn-syms pr20828-a.sd} \
- {readelf --dyn-syms pr20828-b.sd}} \
- "pr20828-1.so"] \
+ "$LFLAGS -shared --gc-sections -T pr20828.ld" \
+ "tmpdir/libpr20828.so" "$AFLAGS_PIC" \
+ {pr20828.s} \
+ {{readelf --dyn-syms pr20828-a.sd} \
+ {readelf --dyn-syms pr20828-b.sd}} \
+ "pr20828-1.so"] \
[list \
"PR ld/20828 dynamic symbols with section GC (version script)" \
- "$LFLAGS -shared --gc-sections -T pr20828.ld\
- --version-script=pr20828.ver" \
- "tmpdir/libpr20828.so" \
- "$AFLAGS_PIC" \
- {pr20828.s} \
- {{readelf --dyn-syms pr20828-b.sd} \
- {readelf --dyn-syms pr20828-c.sd}} \
- "pr20828-2.so"]]
+ "$LFLAGS -shared --gc-sections -T pr20828.ld\
+ --version-script=pr20828.ver" \
+ "tmpdir/libpr20828.so" \
+ "$AFLAGS_PIC" \
+ {pr20828.s} \
+ {{readelf --dyn-syms pr20828-b.sd} \
+ {readelf --dyn-syms pr20828-c.sd}} \
+ "pr20828-2.so"]]
}
# Check to see if the C compiler works