search for: thumb_addr_delta

Displaying 5 results from an estimated 5 matches for "thumb_addr_delta".

2015 Aug 26
2
Proposal: arbitrary relocations in constant global initializers
On Wed, Aug 26, 2015 at 11:49:46AM -0400, Rafael EspĂ­ndola wrote: > This is pr10368. > > Do we really need to support hard coded relocation numbers? Looks like > the examples above have a representation as constant expressions: > > (sub (add (ptrtoint @foo) 0xeafffffe) cur_pos) > > no? I'm not sure if this would be sufficient. The R_ARM_JUMP24 relocation on ARM
2015 Aug 26
2
Proposal: arbitrary relocations in constant global initializers
...arget independent way (possibly a bit more verbose). Well I don't think there's a target independent way to write an R_ARM_JUMP24 relocation, as there's no way to represent the PLT entry or interworking shim in IR. > * Using the raw relocation values, instead of something like > thumb_addr_delta. With this the semantics of each constant expression > are still documented in the language reference. I guess there are two ways we can go here: 1) expose the raw relocation values 2) introduce new specific ConstantExpr subtypes for the target-specific things we need In this case I think we...
2016 Oct 07
2
Proposal: arbitrary relocations in constant global initializers
...; Well I don't think there's a target independent way to write an > R_ARM_JUMP24 > > relocation, as there's no way to represent the PLT entry or interworking > > shim in IR. > > > >> * Using the raw relocation values, instead of something like > >> thumb_addr_delta. With this the semantics of each constant expression > >> are still documented in the language reference. > > > > I guess there are two ways we can go here: > > > > 1) expose the raw relocation values > > 2) introduce new specific ConstantExpr subtypes for the...
2016 Oct 07
2
Proposal: arbitrary relocations in constant global initializers
...write an > >> > R_ARM_JUMP24 > >> > relocation, as there's no way to represent the PLT entry or > interworking > >> > shim in IR. > >> > > >> >> * Using the raw relocation values, instead of something like > >> >> thumb_addr_delta. With this the semantics of each constant expression > >> >> are still documented in the language reference. > >> > > >> > I guess there are two ways we can go here: > >> > > >> > 1) expose the raw relocation values > >> > 2...
2016 Oct 07
2
Proposal: arbitrary relocations in constant global initializers
...; relocation, as there's no way to represent the PLT entry or > >> >> > interworking > >> >> > shim in IR. > >> >> > > >> >> >> * Using the raw relocation values, instead of something like > >> >> >> thumb_addr_delta. With this the semantics of each constant > >> >> >> expression > >> >> >> are still documented in the language reference. > >> >> > > >> >> > I guess there are two ways we can go here: > >> >> > > &g...