diff options
author | Joern Rennecke <joern.rennecke@st.com> | 2009-03-05 17:40:15 +0000 |
---|---|---|
committer | Joern Rennecke <joern.rennecke@st.com> | 2009-03-05 17:40:15 +0000 |
commit | 6000d164b04d1ff76b01aa08a13c6022a5b929eb (patch) | |
tree | 337865b53e42eced79d3723e441de1ebd665309f /gcc/config/arc/gmon/prof-freq-stub.S | |
parent | 3eaed088966a6e06d925191184da47647237756d (diff) |
Check ARC patches into arc-20081210-branch.arc-20081210-branch
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/arc-20081210-branch@144652 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arc/gmon/prof-freq-stub.S')
-rw-r--r-- | gcc/config/arc/gmon/prof-freq-stub.S | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/config/arc/gmon/prof-freq-stub.S b/gcc/config/arc/gmon/prof-freq-stub.S new file mode 100644 index 00000000000..f9ec1a2e530 --- /dev/null +++ b/gcc/config/arc/gmon/prof-freq-stub.S @@ -0,0 +1,16 @@ +#include "../asm.h" +/* This file contains code to do profiling. */ +#ifndef __A4__ + .weak __profile_frequency_value + .global __profile_frequency_value + .set __profile_frequency_value, 1000 + .text + .balign 4 + .global __profile_frequency + FUNC(__profile_frequency) +__profile_frequency: + mov_s r0,__profile_frequency_value + j_s [blink] + ENDFUNC(__profile_frequency) + +#endif /* !A4 */ |