Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/toolchain/opcodes Don't try to look back in the ins...
details: https://anonhg.NetBSD.org/src/rev/ce17ea9ad8fd
branches: trunk
changeset: 542582:ce17ea9ad8fd
user: martin <martin%NetBSD.org@localhost>
date: Sun Feb 02 01:15:42 2003 +0000
description:
Don't try to look back in the instruction stream beyound it's start
if an object file starts with a branch/call/jump instruction creating
a branch delay slot at offset < 8.
diffstat:
gnu/dist/toolchain/opcodes/sparc-dis.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 071e6856ad7f -r ce17ea9ad8fd gnu/dist/toolchain/opcodes/sparc-dis.c
--- a/gnu/dist/toolchain/opcodes/sparc-dis.c Sun Feb 02 00:08:55 2003 +0000
+++ b/gnu/dist/toolchain/opcodes/sparc-dis.c Sun Feb 02 01:15:42 2003 +0000
@@ -698,7 +698,7 @@
or %o1, %lo(_foo), %o1
*/
- if (is_delayed_branch (prev_insn))
+ if (memaddr >= 8 && is_delayed_branch (prev_insn))
{
errcode = (*info->read_memory_func)
(memaddr - 8, buffer, sizeof (buffer), info);
Home |
Main Index |
Thread Index |
Old Index