2007-11-13 21:32:02 +01:00
|
|
|
--- Makefile.target
|
|
|
|
+++ Makefile.target
|
|
|
|
@@ -111,6 +111,8 @@
|
2007-07-10 18:55:54 +02:00
|
|
|
OP_CFLAGS+=$(call cc-option, -fno-reorder-blocks, "")
|
|
|
|
OP_CFLAGS+=$(call cc-option, -fno-gcse, "")
|
|
|
|
OP_CFLAGS+=$(call cc-option, -fno-tree-ch, "")
|
|
|
|
+OP_CFLAGS+=$(call cc-option, -fno-tree-dominator-opts, "")
|
|
|
|
+OP_CFLAGS+=$(call cc-option, -fno-tree-vrp, "")
|
|
|
|
OP_CFLAGS+=$(call cc-option, -fno-optimize-sibling-calls, "")
|
|
|
|
OP_CFLAGS+=$(call cc-option, -fno-crossjumping, "")
|
|
|
|
OP_CFLAGS+=$(call cc-option, -fno-align-labels, "")
|
2007-11-13 21:32:02 +01:00
|
|
|
@@ -185,8 +187,9 @@
|
2007-07-10 18:55:54 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(ARCH),ia64)
|
|
|
|
-BASE_CFLAGS+=-mno-sdata
|
|
|
|
-OP_CFLAGS+=-mno-sdata
|
|
|
|
+OP_CFLAGS+=$(call cc-option, -mno-sched-ar-data-spec, "")
|
|
|
|
+BASE_CFLAGS+=-G0 -mno-sdata
|
|
|
|
+OP_CFLAGS+=-G0 -mno-sdata
|
|
|
|
BASE_LDFLAGS+=-Wl,-G0 -Wl,-T,$(SRC_PATH)/$(ARCH).ld
|
|
|
|
endif
|
|
|
|
|
2007-11-13 21:32:02 +01:00
|
|
|
--- target-alpha/op.c
|
|
|
|
+++ target-alpha/op.c
|
2007-07-10 18:55:54 +02:00
|
|
|
@@ -18,8 +18,6 @@
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
-#define DEBUG_OP
|
|
|
|
-
|
|
|
|
#include "config.h"
|
|
|
|
#include "exec.h"
|
2007-11-13 21:32:02 +01:00
|
|
|
#include "host-utils.h"
|
|
|
|
@@ -126,8 +124,12 @@
|
2007-07-10 18:55:54 +02:00
|
|
|
void OPPROTO op_no_op (void)
|
|
|
|
{
|
|
|
|
#if !defined (DEBUG_OP)
|
|
|
|
+#ifdef __ia64__
|
|
|
|
+ __asm__ __volatile__("nop 0" : : : "memory");
|
|
|
|
+#else
|
|
|
|
__asm__ __volatile__("nop" : : : "memory");
|
|
|
|
#endif
|
|
|
|
+#endif
|
|
|
|
RETURN();
|
|
|
|
}
|
2007-11-13 21:32:02 +01:00
|
|
|
|