search for: 0c7d6fbe

Displaying 2 results from an estimated 2 matches for "0c7d6fbe".

2018 Feb 26
0
lld: order of object files to be put into executable
Hi Quolick, the order of pages in an executable doesn't really matter in modern operating systems. The relevant parts of the executable are mmap()ed and loaded on demand. Although, keeping related code together for locality could be an advantage (both at load times w/ readahead and in the TLB during runtime), so that's a more interesting question to pursue. Cheers, Nicolai On
2018 Feb 26
2
lld: order of object files to be put into executable
Hi all! Is it possible somehow to specify *order* of object files to be put to executable file? For example, I want to put obj1.o and obj2.o somewhere at the beginning, so when executable file would be mapped to memory, this code would be accessed quickly.