-----Original Message----- From: Mulyadi Santosa [mailto:mulyadi.santosa@xxxxxxxxx] > Try to check fs/binfmt_elf.c, especially the load_elf_binary() function. > Also, remember that file blocks are read on-demand, that means if they > are not needed, then it won't be loaded to RAM. So, even if your > binary has debug symbols, it won't occupy RAM unless they are read > (e.g when gdb need to correlate address with symbols) Thanks Mulyadi - just the information and code I was looking for. Adrian -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ