Build without linker warnings about missing entry symbols.

* BootRules: Use -Xlinker option correctly to specify entry point.
* KernelRules: Build kernel add-ons as shared objects explicitly.

Signed-off-by: Jérôme Duval <[email protected]>
This commit is contained in:
Simon South
2015-10-29 16:59:59 +01:00
committed by Jérôme Duval
parent c4d22bb933
commit 9e5091d7a3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -145,5 +145,5 @@ rule BuildMBR binary : source
actions BuildMBR
{
$(RM) $(1)
$(HAIKU_CC_$(HAIKU_PACKAGING_ARCH)) $(2) -o $(1) $(MBRFLAGS) -nostdlib -Xlinker --oformat=binary -Xlinker -S -Xlinker -N -Xlinker "-e start" -Xlinker "-Ttext=0x600"
$(HAIKU_CC_$(HAIKU_PACKAGING_ARCH)) $(2) -o $(1) $(MBRFLAGS) -nostdlib -Xlinker --oformat=binary -Xlinker -S -Xlinker -N -Xlinker --entry=start -Xlinker -Ttext=0x600
}