History log of /freebsd-10-stable/sys/kern/link_elf_obj.c
Revision Date Author Comments
# 302234 27-Jun-2016 bdrewery

MFC r298819:

sys/kern: spelling fixes in comments.


# 297133 21-Mar-2016 kib

MFC r296467:
Convert all panics from the link_elf_obj kernel linker for object
files format into printfs and errors to caller.


# 296729 12-Mar-2016 kib

MFC r295489:
Remove useless checks for NULL before calling free(9), in the kernel
elf linkers.


# 296438 07-Mar-2016 dim

MFC r296419 (by kib):

In the link_elf_obj.c, handle sections of type SHT_AMD64_UNWIND same
as SHT_PROGBITS. This is needed after the clang 3.8 import, which
generates that type for .eh_frame section, which had SHT_PROGBITS type
before.

Reported by: Nikolai Lifanov <lifanov@mail.lifanov.com>
PR: 207729
Tested by: dim (previous version)
Sponsored by: The FreeBSD Foundation

MFC r296428:

Since kernel modules can now contain sections of type SHT_AMD64_UNWIND,
the boot loader should not skip over these anymore while loading images.
Otherwise the kernel can still panic when it doesn't find the .eh_frame
section belonging to the .rela.eh_frame section.

Unfortunately this will require installing boot loaders from sys/boot
before attempting to boot with a new kernel.

Reviewed by: kib


# 288287 26-Sep-2015 kib

MFC r288000:
Add support for weak symbols to the kernel linkers.


# 281880 23-Apr-2015 kib

MFC r281003:
Speed up symbol lookup for the amd64 kernel modules.


# 288287 26-Sep-2015 kib

MFC r288000:
Add support for weak symbols to the kernel linkers.


# 281880 23-Apr-2015 kib

MFC r281003:
Speed up symbol lookup for the amd64 kernel modules.