From 62a72a565de4ee65dd1a7121be53e672d4a33d53 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 15 Aug 1995 21:37:19 +0000 Subject: [PATCH] * ld-scripts/script.exp: Split script verification into a proc. Add simple test of MRI script. * ld-scripts/scriptm.t: New file. --- ld/testsuite/ChangeLog | 14 ++++++++++++++ ld/testsuite/ld-scripts/.Sanitize | 1 + ld/testsuite/ld-scripts/scriptm.t | 10 ++++++++++ 3 files changed, 25 insertions(+) create mode 100644 ld/testsuite/ld-scripts/scriptm.t diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 76835ffe336..5afd6f814c7 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,5 +1,19 @@ +Tue Aug 15 17:35:35 1995 Ian Lance Taylor + + * ld-scripts/script.exp: Split script verification into a proc. + Add simple test of MRI script. + * ld-scripts/scriptm.t: New file. + +Wed Jul 26 11:38:58 1995 Ian Lance Taylor + + * ld-sh/sh.exp: Mark `SH confirm relaxing' test unresolved when + appropriate. + Mon Jul 24 15:34:31 1995 Ian Lance Taylor + * config/default.exp: Define objcopy if it is not defined. + * ld-sh/*: New tests for SH relaxing. + * ld-empic/empic.exp: If $CC does not exist, call untested rather than unresolved. diff --git a/ld/testsuite/ld-scripts/.Sanitize b/ld/testsuite/ld-scripts/.Sanitize index 07c5fe044bc..97524820b45 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 00000000000..57ccae13662 --- /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 -- 2.30.2