Displaying 6 results from an estimated 6 matches for "armmachobjectwrit".
Did you mean:
armmachobjectwriter
2016 Dec 07
2
Offset too large on scattered relocations
...g larger
than 2**24 and I was hoping to find more information on scattered
relocations. These are MachO specific, and Ive not been able to find any
documentation on them outside of source code.
I have a couple of immediate questions, but any info would be appreciated.
* Should a check be added to ARMMachObjectWriter::RecordARMScatteredRelocation
and RecordARMScatteredHalfRelocation to ensure that FixupOffset is within
bounds?
I see a check in the x86 back end that does precisely this and was curious
why a similar check was not in place for ARM:
// Relocations are written out in reverse order, so the PAIR...
2016 Dec 07
0
Offset too large on scattered relocations
...nd I was hoping to find more information on scattered relocations. These are MachO specific, and Ive not been able to find any documentation on them outside of source code.
>
> I have a couple of immediate questions, but any info would be appreciated.
>
> * Should a check be added to ARMMachObjectWriter::RecordARMScatteredRelocation and RecordARMScatteredHalfRelocation to ensure that FixupOffset is within bounds?
>
> I see a check in the x86 back end that does precisely this and was curious why a similar check was not in place for ARM:
>
> // Relocations are written out in revers...
2016 Dec 13
1
Offset too large on scattered relocations
...s hoping to find more information on scattered
> relocations. These are MachO specific, and Ive not been able to find any
> documentation on them outside of source code.
>
> I have a couple of immediate questions, but any info would be appreciated.
>
> * Should a check be added to ARMMachObjectWriter::RecordARMScatteredRelocation
> and RecordARMScatteredHalfRelocation to ensure that FixupOffset is within
> bounds?
>
> I see a check in the x86 back end that does precisely this and was curious
> why a similar check was not in place for ARM:
>
> // Relocations are written...
2011 Nov 15
2
[LLVMdev] MCELFStreamer subclassing
...some curious ones) a custom fix-up, that still
wouldn't require subclassing.
For example, look at how ARM handles upper and lower. Take a look at
ARM/MCTargetDesc/ARMMCExpr.h
ARM/ARMAsmPrinter.cpp
ARM/MCTargetDesc/ARMFixupKinds.h
ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
ARM/MCTargetDesc/ARMMachObjectWriter.cpp
- Daniel
>
> -Jim
>
>> One of the issues I hit initially with llvm is that in terms of relocation and fixups there was an assumption of universal fixups/relocation types. That was really Utopian. These need to be all down in the Target regions and not in the base classes. Ev...
2011 Nov 15
0
[LLVMdev] MCELFStreamer subclassing
On Nov 15, 2011, at 10:36 AM, Carter, Jack wrote:
> Jim,
>
> Ok, you are where I am in the understanding. This is exactly what I do for relocations applied to code. Now I want to apply fixup information to relocations applied to data.
>
> The issue I was having was the difficulty of subclassing MCELFStreamer. Or are you saying that I should be messing with the base MCELFStreamer
2011 Nov 15
2
[LLVMdev] MCELFStreamer subclassing
Jim,
Ok, you are where I am in the understanding. This is exactly what I do for relocations applied to code. Now I want to apply fixup information to relocations applied to data.
The issue I was having was the difficulty of subclassing MCELFStreamer. Or are you saying that I should be messing with the base MCELFStreamer for a specific fixup.
One of the issues I hit initially with llvm is that