freebsd-dev/sys/boot/common
Marcel Moolenaar 0067051fe7 Fully support constructors for the purpose of code coverage analysis.
This involves:
1.  Have the loader pass the start and size of the .ctors section to the
    kernel in 2 new metadata elements.
2.  Have the linker backends look for and record the start and size of
    the .ctors section in dynamically loaded modules.
3.  Have the linker backends call the constructors as part of the final
    work of initializing preloaded or dynamically loaded modules.

Note that LLVM appends the priority of the constructors to the name of
the .ctors section. Not so when compiling with GCC. The code currently
works for GCC and not for LLVM.

Submitted by:	Dmitry Mikulin <dmitrym@juniper.net>
Obtained from:	Juniper Networks, Inc.
2014-10-20 17:04:03 +00:00
..
bcache.c
boot.c
bootstrap.h Rename command_unload() to unload() and re-implement command_unload() 2014-08-06 00:06:25 +00:00
commands.c
console.c
crc32.c
crc32.h
dev_net.c
dev_net.h
devopen.c
disk.c Rework bootparttest to use more code from sys/boot. 2014-10-05 06:04:47 +00:00
disk.h Fix comment. 2014-10-08 12:33:31 +00:00
gpt.c
gpt.h
help.common
install.c Optionally include the install command as found on Juniper products 2014-08-06 00:36:04 +00:00
interp_backslash.c
interp_forth.c Give loaders more control over the Forth initialization process. In 2014-07-27 16:12:51 +00:00
interp_parse.c
interp.c Give loaders more control over the Forth initialization process. In 2014-07-27 16:12:51 +00:00
isapnp.c
isapnp.h
load_elf32_obj.c
load_elf32.c
load_elf64_obj.c
load_elf64.c
load_elf_obj.c
load_elf.c Fully support constructors for the purpose of code coverage analysis. 2014-10-20 17:04:03 +00:00
loader.8
ls.c
Makefile.inc add gptzfsboot.8, zfsboot.8 and zfsloader.8 manual pages 2014-09-15 06:21:28 +00:00
md.c
merge_help.awk
misc.c
module.c When built with FDT support, add /boot/dtb to the list of search directories. 2014-09-03 21:25:36 +00:00
newvers.sh
panic.c
part.c Add a bit more debug messages. 2014-10-05 06:00:22 +00:00
part.h
pnp.c
reloc_elf32.c
reloc_elf64.c
reloc_elf.c
ufsread.c
util.c
util.h
zfsloader.8 add gptzfsboot.8, zfsboot.8 and zfsloader.8 manual pages 2014-09-15 06:21:28 +00:00