Displaying 8 results from an estimated 8 matches for "loadaddress".
2015 Jan 26
2
[LLVMdev] [llvm] r188726 - Adding PIC support for ELF on x86_64 platforms
...loaded version
+ uint64_t *Placeholder = reinterpret_cast<uint64_t*>(Section.ObjAddress
+ + Offset);
+ uint64_t *Target = reinterpret_cast<uint64_t*>(Section.Address + Offset);
+ uint64_t FinalAddress = Section.LoadAddress + Offset;
+ *Target = *Placeholder + Value + Addend - FinalAddress;
+ break;
I''d like to make my new JIT APIs more aggressive about freeing the ObjectFile instances (ideally we'd be able to free immediately after a call to loadObject), but at the moment I have to hold it at leas...
2013 Jan 29
3
[LLVMdev] Assertions in RuntimeDyldELF in ExecutionEngine/MCJIT tests
...tem malloc with its own
allocator, which
allocates memory at "unusual" parts of heap and the difference between
pointers can be significant
(and doesn't fit in 32 bytes).
I add debug output to calculation of RealOffset in resolveX86_64Relocation:
uint64_t FinalAddress = Section.LoadAddress + Offset;
int64_t RealOffset = *Placeholder + Value + Addend - FinalAddress;
fprintf(stderr, "%x + %lx + %lx - %lx = %lx\n",
*Placeholder, Value, Addend, FinalAddress, RealOffset);
assert(RealOffset <= INT32_MAX && RealOffset >= INT32_MIN);
This is w...
2003 Dec 16
2
syslinux bootsector info?
...s bootsector directly, or SYSlinux's bootsector.
http://www.coli.uni-sb.de/~eric/stuff/soft/specials/metakern-11oct2003.zip
SYSLINUX A:
copybs A: A:\syslinux.bin
copy /b A:\meta-all.bin + A:\metaboot.bot + A:\syslinux.bin A:\metakern.sys
SYS A: A: BOOTONLY /K METAKERN.SYS /L 0x60
(kernelname, loadaddress, and bootonly-parameter causes only bootsector to be written, not any DOS system files copied)
this presents a bootmenu:
1) FreeDOS
2) Unknown operating system (this is the Syslinux bootsector).
sorry for the many mailings. I should stick to freedos mailinglists but am currently experimenting a l...
2013 Jan 30
2
[LLVMdev] Assertions in RuntimeDyldELF in ExecutionEngine/MCJIT tests
...rts of heap and the difference between
> pointers can be significant****
>
> (and doesn't fit in 32 bytes).****
>
> ** **
>
> I add debug output to calculation of RealOffset in resolveX86_64Relocation:
> ****
>
> ** **
>
> uint64_t FinalAddress = Section.LoadAddress + Offset;****
>
> int64_t RealOffset = *Placeholder + Value + Addend - FinalAddress;****
>
> fprintf(stderr, "%x + %lx + %lx - %lx = %lx\n",****
>
> *Placeholder, Value, Addend, FinalAddress, RealOffset);****
>
> assert(RealOffset <= INT3...
2013 Jan 29
0
[LLVMdev] Assertions in RuntimeDyldELF in ExecutionEngine/MCJIT tests
...tem malloc with its own allocator, which
allocates memory at "unusual" parts of heap and the difference between pointers can be significant
(and doesn't fit in 32 bytes).
I add debug output to calculation of RealOffset in resolveX86_64Relocation:
uint64_t FinalAddress = Section.LoadAddress + Offset;
int64_t RealOffset = *Placeholder + Value + Addend - FinalAddress;
fprintf(stderr, "%x + %lx + %lx - %lx = %lx\n",
*Placeholder, Value, Addend, FinalAddress, RealOffset);
assert(RealOffset <= INT32_MAX && RealOffset >= INT32_MIN);
This i...
2013 Jan 31
2
[LLVMdev] Assertions in RuntimeDyldELF in ExecutionEngine/MCJIT tests
...rts of heap and the difference between
> pointers can be significant****
>
> (and doesn't fit in 32 bytes).****
>
> ****
>
> I add debug output to calculation of RealOffset in resolveX86_64Relocation:
> ****
>
> ****
>
> uint64_t FinalAddress = Section.LoadAddress + Offset;****
>
> int64_t RealOffset = *Placeholder + Value + Addend - FinalAddress;****
>
> fprintf(stderr, "%x + %lx + %lx - %lx = %lx\n",****
>
> *Placeholder, Value, Addend, FinalAddress, RealOffset);****
>
> assert(RealOffset <= INT3...
2013 Jan 30
0
[LLVMdev] Assertions in RuntimeDyldELF in ExecutionEngine/MCJIT tests
...tem malloc with its own allocator, which
allocates memory at "unusual" parts of heap and the difference between pointers can be significant
(and doesn't fit in 32 bytes).
I add debug output to calculation of RealOffset in resolveX86_64Relocation:
uint64_t FinalAddress = Section.LoadAddress + Offset;
int64_t RealOffset = *Placeholder + Value + Addend - FinalAddress;
fprintf(stderr, "%x + %lx + %lx - %lx = %lx\n",
*Placeholder, Value, Addend, FinalAddress, RealOffset);
assert(RealOffset <= INT32_MAX && RealOffset >= INT32_MIN);
This i...
2013 Jan 31
0
[LLVMdev] Assertions in RuntimeDyldELF in ExecutionEngine/MCJIT tests
...tem malloc with its own allocator, which
allocates memory at "unusual" parts of heap and the difference between pointers can be significant
(and doesn't fit in 32 bytes).
I add debug output to calculation of RealOffset in resolveX86_64Relocation:
uint64_t FinalAddress = Section.LoadAddress + Offset;
int64_t RealOffset = *Placeholder + Value + Addend - FinalAddress;
fprintf(stderr, "%x + %lx + %lx - %lx = %lx\n",
*Placeholder, Value, Addend, FinalAddress, RealOffset);
assert(RealOffset <= INT32_MAX && RealOffset >= INT32_MIN);
This i...