Index: src/arm/simulator-arm.h |
diff --git a/src/arm/simulator-arm.h b/src/arm/simulator-arm.h |
index fa5466d35238222490eac731e8a790561515af2f..40c9d6de20c20d52d7ceab9c4d3d93237957b778 100644 |
--- a/src/arm/simulator-arm.h |
+++ b/src/arm/simulator-arm.h |
@@ -200,6 +200,15 @@ class Simulator { |
// below (bad_lr, end_sim_pc). |
bool has_bad_pc() const; |
+ // EABI variant for double arguments in use. |
+ bool use_eabi_hardfloat() { |
+#if USE_EABI_HARDFLOAT |
+ return true; |
+#else |
+ return false; |
+#endif |
+ } |
+ |
private: |
enum special_values { |
// Known bad pc value to ensure that the simulator does not execute |