summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/system.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-11-10 14:13:15 +0100
committerTor Andersson <tor.andersson@artifex.com>2017-11-10 14:38:13 +0100
commit268f28925f0d18d1289ac39c1c05d94c70914d9f (patch)
tree9cca7c760edf6afcebf373b7a36686e2f54b6ece /include/mupdf/fitz/system.h
parent93ec9fcda7fdc74284c9ffe03915760650c02670 (diff)
downloadmupdf-268f28925f0d18d1289ac39c1c05d94c70914d9f.tar.xz
Purge obsolete NDK_PROFILER code.
Diffstat (limited to 'include/mupdf/fitz/system.h')
-rw-r--r--include/mupdf/fitz/system.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/include/mupdf/fitz/system.h b/include/mupdf/fitz/system.h
index 8a617e5b..c7cd3713 100644
--- a/include/mupdf/fitz/system.h
+++ b/include/mupdf/fitz/system.h
@@ -201,12 +201,6 @@ int fz_android_fprintf(void *file, const char *fmt, ...);
/* ARM assembly specific defines */
#ifdef ARCH_ARM
-#ifdef NDK_PROFILER
-extern void __gnu_mcount_nc(void);
-#define ENTER_PG "push {lr}\nbl __gnu_mcount_nc\n"
-#else
-#define ENTER_PG
-#endif
/* If we're compiling as thumb code, then we need to tell the compiler
* to enter and exit ARM mode around our assembly sections. If we move
@@ -217,12 +211,13 @@ extern void __gnu_mcount_nc(void);
* and undefined by #pragma arm/#pragma thumb - but we can't define a
* macro to track that. */
#if defined(__thumb__) || defined(__thumb2__)
-#define ENTER_ARM ".balign 4\nmov r12,pc\nbx r12\n0:.arm\n" ENTER_PG
-#define ENTER_THUMB "9:.thumb\n" ENTER_PG
+#define ENTER_ARM ".balign 4\nmov r12,pc\nbx r12\n0:.arm\n"
+#define ENTER_THUMB "9:.thumb\n"
#else
#define ENTER_ARM
#define ENTER_THUMB
#endif
+
#endif
#ifdef CLUSTER