Commit fa470f09 authored by rearnsha's avatar rearnsha
Browse files

PR target/3724

* arm/linux-elf.h (PROFILE_HOOK): Define.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67950 138bc75d-0d04-0410-961f-82ee72b054a4
parent d3ceeebc
2003-06-14 Richard Earnshaw <rearnsha@arm.com>
PR target/3724
* arm/linux-elf.h (PROFILE_HOOK): Define.
2003-06-14 Richard Earnshaw <rearnsha@arm.com>
 
PR target/11183
......
......@@ -120,5 +120,10 @@
fprintf (STREAM, "\tbl\tmcount%s\n", NEED_PLT_RELOC ? "(PLT)" : ""); \
}
/* The linux profiler clobbers the link register. Make sure the
prologue knows to save it. */
#define PROFILE_HOOK(X) \
emit_insn (gen_rtx_CLOBBER (VOIDmode, gen_rtx_REG (SImode, LR_REGNUM)))
#undef CC1_SPEC
#define CC1_SPEC "%{profile:-p}"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment