search for: l_addr

Displaying 6 results from an estimated 6 matches for "l_addr".

Did you mean: __addr
2016 Jun 07
2
lld/x86_64 linux elf invalid link_map
I'm having a curious issue with LLD/x86_64 linux/elf (Ubuntu 14.04); Where the l_addr of the link_map is invalid when linked with lld, but is fine with gnu ld. I'm using the libgc (boehm) code which when initializing reads the DYNAMIC/DEBUG link_map data, and crashes because the l_addr field has value out of readable memory. The strange this is that it happens only on some...
2017 Dec 09
2
Reducing code size of Position Independent Executables (PIE) by shrinking the size of dynamic relocations section
...{ > ++relative; > offset = relative->r_data; > } > ElfW(Addr) r_offset = offset; > for (; bits != 0; bits >>= 1) > { > if ((bits&1) != 0) > elf_machine_relrz_relative (l_addr, (void *) (l_addr + r_offset)); > r_offset += sizeof(ElfW(Addr)); > } > } > } > #endif That data-dependent “if ((bits&1) != 0)” branch looks a bit nasty. Have you investigated whether some sort of RLE-style encoding would be beneficial? If there ar...
2017 May 08
4
Reducing code size of Position Independent Executables (PIE) by shrinking the size of dynamic relocations section
+llvm-dev Discussion here: https://sourceware.org/ml/gnu-gabi/2017-q2/msg00000.html On Tue, May 2, 2017 at 10:17 AM, Suprateeka R Hegde <hegdesmailbox at gmail.com> wrote: > On 02-May-2017 12:05 AM, Florian Weimer wrote: >> On 05/01/2017 08:28 PM, Suprateeka R Hegde wrote: >>> So the ratio shows ~96% is RELATIVE reloc. And only ~4% others. This is >>> not the
2017 Dec 07
0
Reducing code size of Position Independent Executables (PIE) by shrinking the size of dynamic relocations section
...of(ElfW(Addr)); if (jump == 0) { ++relative; offset = relative->r_data; } ElfW(Addr) r_offset = offset; for (; bits != 0; bits >>= 1) { if ((bits&1) != 0) elf_machine_relrz_relative (l_addr, (void *) (l_addr + r_offset)); r_offset += sizeof(ElfW(Addr)); } } } #endif Note that the 8-bit 'jump' encodes the number of _words_ since last offset. The case where jump would not fit in 8-bits is handled by setting jump to 0, and emitting the full offset f...
2017 Dec 11
2
Reducing code size of Position Independent Executables (PIE) by shrinking the size of dynamic relocations section
...offset = relative->r_data; >>> } >>> ElfW(Addr) r_offset = offset; >>> for (; bits != 0; bits >>= 1) >>> { >>> if ((bits&1) != 0) >>> elf_machine_relrz_relative (l_addr, (void *) (l_addr + r_offset)); >>> r_offset += sizeof(ElfW(Addr)); >>> } >>> } >>> } >>> #endif >> >> That data-dependent “if ((bits&1) != 0)” branch looks a bit nasty. >> >> Have you investigate...
2020 Jun 19
0
Wine release 5.11
...TEINWAITTHREAD tests. winex11.drv: Ensure output IDs are unique for mirrored displays. winemac.drv: Ensure output IDs are unique for mirrored displays. winhttp: Treat a partial certificate chain as having an unknown/invalid CA. Damjan Jovanovic (1): ntdll: Interpretation of l_addr depends on FreeBSD version. Daniel Lehman (1): server: Fail if non-empty directory marked for deletion. Derek Lesho (1): server: Partially implement JobObjectBasicAccountingInformation. Dmitry Timoshkov (31): rpcrt4/tests: Fix compilation with MS VC. rpcrt4/tests: Add som...