Ticket #17851: R_X86_64_PLT32.diff
| File R_X86_64_PLT32.diff, 1.7 KB (added by , 6 years ago) |
|---|
-
src/VBox/Runtime/common/ldr/ldrELFRelocatable.cpp.h
359 359 * PC relative addressing. 360 360 */ 361 361 case R_X86_64_PC32: 362 case R_X86_64_PLT32: /* binutils commit 451875b4f976a527395e9303224c7881b65e12ed feature/regression. */ 362 363 { 363 364 const Elf_Addr SourceAddr = SecAddr + paRels[iRel].r_offset + BaseAddr; /* Where the source really is. */ 364 365 Value -= SourceAddr; -
src/VBox/ValidationKit/bootsectors/bs3kit/VBoxBs3ObjConverter.cpp
1860 1860 fSelfRel = false; 1861 1861 RT_FALL_THRU(); 1862 1862 case R_X86_64_PC32: 1863 case R_X86_64_PLT32: /* binutils commit 451875b4f976a527395e9303224c7881b65e12ed feature/regression. */ 1863 1864 { 1864 1865 /* defaults are ok, just handle the addend. */ 1865 1866 int32_t iAddend = paRelocs[iReloc].r_addend; … … 1877 1878 continue; /* Ignore this one */ 1878 1879 1879 1880 case R_X86_64_GOT32: 1880 case R_X86_64_PLT32:1881 1881 case R_X86_64_COPY: 1882 1882 case R_X86_64_GLOB_DAT: 1883 1883 case R_X86_64_JMP_SLOT:

