search for: codemips_micro

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

2014 Nov 11
6
[LLVMdev] [lld][ELF] How to transfer st_other field value from input to output file
...y ArchHander_arm cares about), works well. That said, the ability to handle thumb and arm within a function is probably over engineering. I’d be fine with adding to DefinedAtom something like: enum CodeModel { // Note: all these values need word smithing codeNA, codeMIPS_PIC, codeMIPS_micro, codeMIPS_16, codeARM_16, codeARM_32, }; virtual CodeModel codeModel() { return codeNA; } -Nick > > On Tue, Nov 11, 2014 at 11:19 AM, Nick Kledzik <kledzik at apple.com> wrote: > I had a similar issue with arm vs thumb in mach-o. Each function’s thumbness is marked...
2014 Nov 11
6
[LLVMdev] [lld][ELF] How to transfer st_other field value from input to output file
I had a similar issue with arm vs thumb in mach-o. Each function’s thumbness is marked in its symbol table entry. But it is even worse, a function could change encoding in the middle (only hand coded assembly could do this). My solution was to add a new Reference Kind for mach-o which is the current instruction encoding. The offsetInAtom() is the offset where the encoding kind changes.