aboutsummaryrefslogtreecommitdiff
path: root/libjava/include
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2012-07-18 18:09:49 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2012-07-18 11:09:49 -0700
commit16926032665d72b6cbf1a96fdb3fab83932bee97 (patch)
treedebfc85b4cd4fc169843e49d153f47421bf85d3e /libjava/include
parente4f9276749a9d63b35b2eb16f5d89e3d0aba2ed0 (diff)
downloadgcc-16926032665d72b6cbf1a96fdb3fab83932bee97.zip
gcc-16926032665d72b6cbf1a96fdb3fab83932bee97.tar.gz
gcc-16926032665d72b6cbf1a96fdb3fab83932bee97.tar.bz2
Skip 67h address size prefix unconditionally
PR libjava/53973 * include/x86_64-signal.h (CHECK_67H_PREFIX): Removed. (HANDLE_DIVIDE_OVERFLOW): Skip 67h address size prefix unconditionally. From-SVN: r189623
Diffstat (limited to 'libjava/include')
-rw-r--r--libjava/include/x86_64-signal.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/libjava/include/x86_64-signal.h b/libjava/include/x86_64-signal.h
index 84907c3..12af21c 100644
--- a/libjava/include/x86_64-signal.h
+++ b/libjava/include/x86_64-signal.h
@@ -21,12 +21,6 @@ details. */
#define HANDLE_SEGV 1
#define HANDLE_FPE 1
-#ifdef __ILP32__
-# define CHECK_67H_PREFIX 1
-#else
-# define CHECK_67H_PREFIX 0
-#endif
-
#define SIGNAL_HANDLER(_name) \
static void _Jv_##_name (int, siginfo_t *, \
void *_p __attribute__ ((__unused__)))
@@ -53,8 +47,8 @@ do \
\
bool _is_64_bit = false; \
\
- /* Check and skip 67h address size prefix if needed. */ \
- if (CHECK_67H_PREFIX && _rip[0] == 0x67) \
+ /* Skip 67h address size prefix. */ \
+ if (_rip[0] == 0x67) \
_rip++; \
\
if ((_rip[0] & 0xf0) == 0x40) /* REX byte present. */ \