aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-08-15 21:37:19 +0000
committerIan Lance Taylor <ian@airs.com>1995-08-15 21:37:19 +0000
commit62a72a565de4ee65dd1a7121be53e672d4a33d53 (patch)
tree1c0b30630f83928cdd79d6eed547ce643504254e /ld/testsuite/ld-scripts
parent3a473096422919ee478a7ccfaea3887fc11936db (diff)
downloadgdb-62a72a565de4ee65dd1a7121be53e672d4a33d53.zip
gdb-62a72a565de4ee65dd1a7121be53e672d4a33d53.tar.gz
gdb-62a72a565de4ee65dd1a7121be53e672d4a33d53.tar.bz2
* ld-scripts/script.exp: Split script verification into a proc.
Add simple test of MRI script. * ld-scripts/scriptm.t: New file.
Diffstat (limited to 'ld/testsuite/ld-scripts')
-rw-r--r--ld/testsuite/ld-scripts/.Sanitize1
-rw-r--r--ld/testsuite/ld-scripts/scriptm.t10
2 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/.Sanitize b/ld/testsuite/ld-scripts/.Sanitize
index 07c5fe0..9752482 100644
--- a/ld/testsuite/ld-scripts/.Sanitize
+++ b/ld/testsuite/ld-scripts/.Sanitize
@@ -29,6 +29,7 @@ defined.t
script.exp
script.s
script.t
+scriptm.t
sizeof.exp
sizeof.s
sizeof.t
diff --git a/ld/testsuite/ld-scripts/scriptm.t b/ld/testsuite/ld-scripts/scriptm.t
new file mode 100644
index 0000000..57ccae1
--- /dev/null
+++ b/ld/testsuite/ld-scripts/scriptm.t
@@ -0,0 +1,10 @@
+* MRI script
+sect .text = $100 ; .text start address
+sect .data = 1000h ; .data start address
+public text_start = $100
+public text_end = # continuation line
+ text_start + 4
+public data_start = 1000h
+public data_end = data_start + 4
+
+load tmpdir/script.o