oops, bug fix for goto.h

Fergus Henderson fjh at cs.mu.oz.au
Thu Feb 6 13:26:18 AEDT 1997


Hi Tyson,

Another diff for review.

--------------------

Fix a bug in my previous change.
(This bug caused the nightly test to fail on murlibobo last night.)

runtime/goto.h:
	Provide a default definition of INLINE_ASM_DECLARE_LABEL_TYPE
	for architectures that don't need it.


Index: goto.h
===================================================================
RCS file: /home/staff/zs/imp/mercury/runtime/goto.h,v
retrieving revision 1.20
diff -u -r1.20 goto.h
--- goto.h	1997/02/05 05:36:54	1.20
+++ goto.h	1997/02/06 02:20:27
@@ -219,6 +219,15 @@
 #endif
 
 /*
+** INLINE_ASM_GLOBALIZE_LABEL is an assembler string to
+** declare the "type" of a label as function (i.e. code), not data,
+** if this is needed.
+*/
+#ifndef INLINE_ASM_ENTRY_LABEL_TYPE
+#define INLINE_ASM_ENTRY_LABEL_TYPE(label)
+#endif
+
+/*
 ** INLINE_ASM_ENTRY_LABEL is an assembler string to
 ** define an assembler entry label.
 */


-- 
Fergus Henderson <fjh at cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3         |     -- the last words of T. S. Garp.



More information about the developers mailing list