search for: epiphanyasmbackend

Displaying 2 results from an estimated 2 matches for "epiphanyasmbackend".

2017 Jan 19
3
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? 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 knew nothing about LLVM...
2017 Jan 19
2
Got stuck with PC-rel branching
...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 && > objdump -d...