The attached patch allows long jumps to __mcount, defines 
PROFILE_BEFORE_PROLOGUE and ensures ASM_OUTPUT_REG_PUSH pre-decrements the 
stack pointer.


2011-03-30  Stuart Henderson  <stuart.hender...@analog.com>

    From Bernd Schmidt
    * config/bfin/bfin.h (FUNCTION_PROFILER): Take TARGET_LONG_CALLS into
    account and save/restore RETS.
    (PROFILE_BEFORE_PROLOGUE): Define.
    (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Add tab character.  Correct
    the push insn to use predecrement.


Thanks,
Stu

Attachment: upstream.patch
Description: upstream.patch

Reply via email to