freebsd-dev/gnu
Andriy Gapon 7996bf419b 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
2010-07-23 17:21:23 +00:00
..
lib Disable building libobjc with clang as it's not yet supported. 2010-07-22 18:49:27 +00:00
usr.bin kgdb: correctly map sections to addresses in elf object modules (amd64) 2010-07-23 17:21:23 +00:00
COPYING
COPYING.LIB
Makefile We haven't used this libg++ header since 1999/04/05 05:36:37. 2002-06-05 17:02:37 +00:00
Makefile.inc NODOCCOMPRESS -> NO_DOCCOMPRESS 2004-12-21 09:33:47 +00:00