Searched hist:210424 (Results 1 - 1 of 1) sorted by relevance
/freebsd-10.1-release/gnu/usr.bin/gdb/kgdb/ | ||
H A D | kld.c | diff 210424 Fri Jul 23 15:37:59 MDT 2010 avg kgdb: correctly map sections to addresses in elf object modules (amd64) Unlike for modules with dso type, in elf object modules all the sections have virtual address of zero. So, it is insufficient to add module base address to section virtual address (as recorded in section header) to get section address in kernel memory. Instead, we should apply the same calculations that are performed by kernel loaders (in boot code and in kernel) when they lay out sections in memory. Discussed with: jhb, np MFC after: 3 weeks |
Completed in 45 milliseconds