summaryrefslogtreecommitdiffstats
path: root/libjava/include
diff options
context:
space:
mode:
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-06 16:33:10 +0000
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-06 16:33:10 +0000
commite635d605d3a9559e960d4ca3e1256da454ea0be2 (patch)
tree4a15a363d9d01c441eb8c1917b6f010d1016b367 /libjava/include
parente773c4476038acfe16dc975ff17ed09489bb5498 (diff)
downloadppe42-gcc-e635d605d3a9559e960d4ca3e1256da454ea0be2.tar.gz
ppe42-gcc-e635d605d3a9559e960d4ca3e1256da454ea0be2.zip
2001-07-06 Andrew Haley <aph@cambridge.redhat.com>
* include/i386-signal.h: Don't do anything with unsigned divide overflow except throw an exception. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43813 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include')
-rw-r--r--libjava/include/i386-signal.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/libjava/include/i386-signal.h b/libjava/include/i386-signal.h
index f89a0b16217..506984ead72 100644
--- a/libjava/include/i386-signal.h
+++ b/libjava/include/i386-signal.h
@@ -88,21 +88,6 @@ do \
_regs->eip = (unsigned long)_eip; \
return; \
} \
- else if (((_modrm >> 3) & 7) == 6) /* Unsigned divide */ \
- { \
- /* We assume that unsigned divisions are in library code, so \
- * we throw one level down the stack, which was hopefully \
- * the place that called the library routine. This will \
- * break if the library is ever compiled with \
- * -fomit-frame-pointer, but at least this way we've got a \
- * good chance of finding the exception handler. */ \
- \
- _eip = (unsigned char *)_ebp[1]; \
- _ebp = (unsigned long *)_ebp[0]; \
- \
- asm volatile ("mov %0, (%%ebp); mov %1, 4(%%ebp)" \
- : : "r"(_ebp), "r"(_eip)); \
- } \
else \
{ \
/* Advance the program counter so that it is after the start \
OpenPOWER on IntegriCloud