kernel: do not allow undefined symbols
If there are undefined symbols, we can't load the kernel (the bootloader complains about missing relocations). It makes sense to not allow that at compile time. Change-Id: I430bebada16544ffa8be293cd6c075338970d8ce Reviewed-on: https://review.haiku-os.org/c/haiku/+/4668 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: X512 <danger_mail@list.ru> Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
parent
f240512a53
commit
c00a982d2a
@ -127,7 +127,7 @@ KernelLd kernel_$(TARGET_ARCH) :
|
||||
|
||||
: $(HAIKU_TOP)/src/system/ldscripts/$(TARGET_ARCH)/kernel.ld
|
||||
: -Bdynamic -export-dynamic -dynamic-linker /foo/bar
|
||||
$(TARGET_KERNEL_PIC_LINKFLAGS)
|
||||
$(TARGET_KERNEL_PIC_LINKFLAGS) --no-undefined
|
||||
:
|
||||
;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user