aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-n-core.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-10-28 07:10:36 +0000
committerAndrew Cagney <cagney@redhat.com>1997-10-28 07:10:36 +0000
commit89d0973831b0930f621b6a5e666760dc1b684ed6 (patch)
treeaeaf421b01cede9545fd16def02fbb43791cfbbe /sim/common/sim-n-core.h
parent336ffb472ff4360cb127149e9517abf51b123e04 (diff)
downloadfsf-binutils-gdb-89d0973831b0930f621b6a5e666760dc1b684ed6.zip
fsf-binutils-gdb-89d0973831b0930f621b6a5e666760dc1b684ed6.tar.gz
fsf-binutils-gdb-89d0973831b0930f621b6a5e666760dc1b684ed6.tar.bz2
Add support for 16 byte quantities to sim-endian macro H2T.
Add model-filter field to option, include, model anf function igen records
Diffstat (limited to 'sim/common/sim-n-core.h')
-rw-r--r--sim/common/sim-n-core.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/common/sim-n-core.h b/sim/common/sim-n-core.h
index 0184b1d..b7bc631 100644
--- a/sim/common/sim-n-core.h
+++ b/sim/common/sim-n-core.h
@@ -178,6 +178,11 @@ sim_core_read_unaligned_N(sim_cpu *cpu,
sim_engine_abort (CPU_STATE (cpu), cpu, cia,
"internal error - %s - bad switch",
XSTRING (sim_core_read_unaligned_N));
+ /* to keep some compilers happy, we return a dummy */
+ {
+ unsigned_N val[1] = { };
+ return val[0];
+ }
}
}