Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/rx/gcrt0.S')
-rw-r--r--libgloss/rx/gcrt0.S25
1 files changed, 0 insertions, 25 deletions
diff --git a/libgloss/rx/gcrt0.S b/libgloss/rx/gcrt0.S
deleted file mode 100644
index 911927c6b..000000000
--- a/libgloss/rx/gcrt0.S
+++ /dev/null
@@ -1,25 +0,0 @@
-#define PROFILE_SUPPORT 1
-
-#include "crt0.S"
-
- .global __mcount
-__mcount:
- ;; When a function is compiled for profiling, gcc creates code
- ;; like this at the start of each profiled function:
- ;;
- ;; .global <func_name>
- ;; <func_name>:
- ;; bsr __mcount
- ;; <...function's prologue...>
- ;; <...function's body...>
- ;;
- ;; We must save all of the argument registers, extract the
- ;; address of <func_name>, call _mcount_internal to do the
- ;; real work and then restore the argument registers before
- ;; returning.
-
- pushm r1-r4
- mov.l 16[r0], r1
- bsr __mcount_internal
- rtsd #16, r1-r4
-