forked from Imagelibrary/binutils-gdb
ld: Use run_cc_link_tests for PR ld/26391 tests
Use run_cc_link_tests for PR ld/26391 tests to compile PR ld/26391 tests in C. PR ld/30002 * testsuite/ld-elf/elf.exp: Use run_cc_link_tests for PR ld/26391 tests.
This commit is contained in:
@@ -516,31 +516,24 @@ run_cc_link_tests [list \
|
|||||||
{{nm "" pr26391.nd}} \
|
{{nm "" pr26391.nd}} \
|
||||||
"pr26391-4" \
|
"pr26391-4" \
|
||||||
] \
|
] \
|
||||||
]
|
|
||||||
|
|
||||||
run_ld_link_tests [list \
|
|
||||||
[list \
|
[list \
|
||||||
"Build pr26391-5.o" \
|
"Build pr26391-5.o" \
|
||||||
"-z unique-symbol -r" \
|
"-Wl,-z,unique-symbol -r -nostdlib -nostartfiles" \
|
||||||
"" \
|
"-fno-function-sections" \
|
||||||
"" \
|
|
||||||
{pr26391a.c pr26391b.c pr26391c.c pr26391d.c} \
|
{pr26391a.c pr26391b.c pr26391c.c pr26391d.c} \
|
||||||
[list \
|
[list \
|
||||||
[list "nm" "$dep_plug_opt" "pr26391.nd"] \
|
[list "nm" "$dep_plug_opt" "pr26391.nd"] \
|
||||||
[list "nm" "$dep_plug_opt" "pr26391.fd"] \
|
[list "nm" "$dep_plug_opt" "pr26391.fd"] \
|
||||||
] \
|
] \
|
||||||
"pr26391-5.o" \
|
"pr26391-5.o" \
|
||||||
"-fno-function-sections" \
|
|
||||||
] \
|
] \
|
||||||
[list \
|
[list \
|
||||||
"Build pr26391-6.o" \
|
"Build pr26391-6.o" \
|
||||||
"-z unique-symbol -r" \
|
"-Wl,-z,unique-symbol -r -nostdlib -nostartfiles" \
|
||||||
"" \
|
"-ffunction-sections" \
|
||||||
"" \
|
|
||||||
{pr26391a.c pr26391b.c pr26391c.c pr26391d.c} \
|
{pr26391a.c pr26391b.c pr26391c.c pr26391d.c} \
|
||||||
{{nm "" pr26391.nd}} \
|
{{nm "" pr26391.nd}} \
|
||||||
"pr26391-6.o" \
|
"pr26391-6.o" \
|
||||||
"-ffunction-sections" \
|
|
||||||
] \
|
] \
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user