summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/script.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/script.exp')
-rw-r--r--ld/testsuite/ld-scripts/script.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/script.exp b/ld/testsuite/ld-scripts/script.exp
index 4b781d4d386..6663633627f 100644
--- a/ld/testsuite/ld-scripts/script.exp
+++ b/ld/testsuite/ld-scripts/script.exp
@@ -231,3 +231,7 @@ foreach test_script $test_script_list {
run_dump_test "align-with-input"
run_dump_test "pr20302"
+
+run_dump_test "segment-start" {{name (default)}}
+run_dump_test "segment-start" {{name (overridden)} \
+ {ld -Ttext-segment=0x10000000}}