Jumping to an external label

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In my target's "expand_epilog" I would like to generate a jump to a
common epilog code fragment, which is in a library.
What is the best way of doing this? My best attempt is:

void
target_expand_epilogue (void)
{
...
      emit_jump_insn (gen_jump (gen_rtx_MEM (Pmode, gen_rtx_SYMBOL_REF
(Pmode, "helperfunc"))));

which results in a segmentation fault.

Thanks!

-- 
James Bowman
http://www.excamera.com/




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux