aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-12-10 01:19:52 +0000
committerDoug Evans <dje@google.com>1998-12-10 01:19:52 +0000
commit84177a47f551503304c3d35c29385cf25530734c (patch)
treeb05b7769f396593707caf15b6eb038fe7ae84af2 /gas
parent64db3c9a813b4bd09c022842abdc103a2b0986c2 (diff)
downloadgdb-84177a47f551503304c3d35c29385cf25530734c.zip
gdb-84177a47f551503304c3d35c29385cf25530734c.tar.gz
gdb-84177a47f551503304c3d35c29385cf25530734c.tar.bz2
* config/tc-dvp.h (md_end): Define.
* config/tc-dvp.c (dvp_end): New function. Bring over from sky-980617-branch.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog9
-rw-r--r--gas/config/tc-dvp.c14
2 files changed, 23 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 25e3d53..4e15706 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,12 @@
+start-sanitize-sky
+Wed Dec 9 17:06:48 1998 Doug Evans <devans@canuck.cygnus.com>
+
+ Tue Oct 13 14:06:18 1998 Doug Evans <devans@canuck.cygnus.com>
+
+ * config/tc-dvp.h (md_end): Define.
+ * config/tc-dvp.c (dvp_end): New function.
+
+end-sanitize-sky
start-sanitize-r5900
Wed Dec 9 12:29:23 1998 Jeffrey A Law (law@cygnus.com)
diff --git a/gas/config/tc-dvp.c b/gas/config/tc-dvp.c
index 68f0d90..7df6d66 100644
--- a/gas/config/tc-dvp.c
+++ b/gas/config/tc-dvp.c
@@ -1532,6 +1532,20 @@ dvp_after_pass_hook ()
#endif
}
+/* Called after parsing all files via md_end. */
+
+void
+dvp_end ()
+{
+ /* Check for missing .EndMpg, etc. */
+ if (CUR_ASM_STATE == ASM_MPG)
+ as_bad ("missing `.endmpg'");
+ else if (CUR_ASM_STATE == ASM_DIRECT)
+ as_bad ("missing `.enddirect'");
+ else if (CUR_ASM_STATE == ASM_UNPACK)
+ as_bad ("missing `.endunpack'");
+}
+
/* Called via tc_frob_label when a label is defined. */
void