Hi I'm doing an investigation trying to modify the generation of
prologues and epilogues for ARM cross compiler.
So far I could successfully add some lines to the prologue generation,
but Im having problems with some thing: How do you suggest is the best
way to emit an assembler line that makes a branch (not branch with
link) to a certain label.
I've tried the following:
char funcname[] ="funcname"; (global)
rtx mylabel , from;
LABEL_NAME(mylabel) = funcname;
from = emit_jump_insn(gen_jump (mylabel));
JUMP_LABEL (from) = mylabel;
++LABEL_NUSES (mylabel);
But this emits a jump to an internal label (for example .L0)
what I wanted to do is that those lines generate a jump to funcname:
b funcname
Thanks!
--
______________________________
Marcos Díaz
Software Engineer
San Lorenzo 47, 3rd Floor, Office 5
Córdoba, Argentina
Phone: +54 351 4217888 / +54 351 4218211/ +54 351 7617452
Skype: markdiaz22