Displaying 2 results from an estimated 2 matches for "epiphanyfixupkind".
Did you mean:
epiphanyfixupkinds
2017 Jan 19
3
Got stuck with PC-rel branching
...ation for some reason.
- jmptarget operand has type OPERAND_PCREL, and uses EncoderMethod
"getJumpTargetOpValue" defined in EpiphanyMCCodeEmitter. If this method
gets MCExpr, it creates fixup, and I can see this fixup in debug.
- Fixup is called fixup_Epiphany_PCREL24, and is defined in
EpiphanyFixupKinds and EpiphanyAsmBackend, with FKF_IsPCRel flag.
Can someone please tell me if I am missing something?
The source itself can be found at
https://github.com/upcFrost/Epiphany/tree/Call_support
Debug output on pastebin: http://pastebin.com/8uKRv0qK
Thanks,
Petr
P.S. sorry for messy code, I...
2017 Jan 19
2
Got stuck with PC-rel branching
...- jmptarget operand has type OPERAND_PCREL, and uses EncoderMethod
> "getJumpTargetOpValue" defined in EpiphanyMCCodeEmitter. If this method
> gets MCExpr, it creates fixup, and I can see this fixup in debug.
>
> - Fixup is called fixup_Epiphany_PCREL24, and is defined in
> EpiphanyFixupKinds and EpiphanyAsmBackend, with FKF_IsPCRel flag.
>
>
>
> Can someone please tell me if I am missing something?
>
>
> Are you sure there's actually a problem? On x86, for example:
>
> $ echo "int f(); int g() { return f(); }" | clang -x c - -o /tmp/a.o -c &am...