"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mono/mini/tramp-arm.c" between
mono-6.8.0.96.tar.xz and mono-6.8.0.105.tar.xz

About:

tramp-arm.c  (mono-6.8.0.96.tar.xz):tramp-arm.c  (mono-6.8.0.105.tar.xz)
skipping to change at line 1139 skipping to change at line 1139
s = (t1 >> 10) & 0x1; s = (t1 >> 10) & 0x1;
imm10 = (t1 >> 0) & 0x3ff; imm10 = (t1 >> 0) & 0x3ff;
j1 = (t2 >> 13) & 0x1; j1 = (t2 >> 13) & 0x1;
j2 = (t2 >> 11) & 0x1; j2 = (t2 >> 11) & 0x1;
imm11 = t2 & 0x7ff; imm11 = t2 & 0x7ff;
i1 = (s ^ j1) ? 0 : 1; i1 = (s ^ j1) ? 0 : 1;
i2 = (s ^ j2) ? 0 : 1; i2 = (s ^ j2) ? 0 : 1;
imm32 = (imm11 << 1) | (imm10 << 12) | (i2 << 22) | (i1 << 23); imm32 = (imm11 << 1) | (imm10 << 12) | (i2 << 22) | (i1 << 23) | (s << 24 );
if (s) if (s)
/* Sign extend from 24 bits to 32 bits */ /* Sign extend from 25 bits to 32 bits */
imm32 = ((gint32)imm32 << 8) >> 8; imm32 = ((gint32)imm32 << 7) >> 7;
target = code + imm32; target = code + imm32;
/* target now points to the thumb plt entry */ /* target now points to the thumb plt entry */
/* ldr.w r12, [pc, #8] */ /* ldr.w r12, [pc, #8] */
g_assert (((guint16*)target) [0] == 0xf8df); g_assert (((guint16*)target) [0] == 0xf8df);
g_assert (((guint16*)target) [1] == 0xc008); g_assert (((guint16*)target) [1] == 0xc008);
/* /*
* The PLT info offset is at offset 16, but mono_arch_get_plt_entry_offse t () returns * The PLT info offset is at offset 16, but mono_arch_get_plt_entry_offse t () returns
 End of changes. 2 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)