mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
libroot: Add x86-specific stub.
Needed for bootstrapping.
This commit is contained in:
parent
79e2ef5c69
commit
79efafa0e0
@ -10,11 +10,14 @@ for architectureObject in [ MultiArchSubDirSetup ] {
|
|||||||
local stubsSource ;
|
local stubsSource ;
|
||||||
if $(TARGET_PACKAGING_ARCH) = x86_gcc2 {
|
if $(TARGET_PACKAGING_ARCH) = x86_gcc2 {
|
||||||
stubsSource = [ FGristFiles libroot_stubs_legacy.c ] ;
|
stubsSource = [ FGristFiles libroot_stubs_legacy.c ] ;
|
||||||
|
} else if $(TARGET_PACKAGING_ARCH) = x86 {
|
||||||
|
stubsSource = [ FGristFiles libroot_stubs.c libroot_stubs_x86.c ] ;
|
||||||
} else if $(TARGET_PACKAGING_ARCH) = sparc {
|
} else if $(TARGET_PACKAGING_ARCH) = sparc {
|
||||||
stubsSource = [ FGristFiles libroot_stubs.c libroot_stubs_sparc.c ] ;
|
stubsSource = [ FGristFiles libroot_stubs.c libroot_stubs_sparc.c ] ;
|
||||||
} else {
|
} else {
|
||||||
stubsSource = [ FGristFiles libroot_stubs.c ] ;
|
stubsSource = [ FGristFiles libroot_stubs.c ] ;
|
||||||
}
|
}
|
||||||
|
|
||||||
local stubsObject = $(stubsSource:S=$(SUFOBJ)) ;
|
local stubsObject = $(stubsSource:S=$(SUFOBJ)) ;
|
||||||
CCFLAGS on $(stubsObject) = -Wno-missing-prototypes -fno-builtin ;
|
CCFLAGS on $(stubsObject) = -Wno-missing-prototypes -fno-builtin ;
|
||||||
Depends $(stubsObject) : $(stubsSource) ;
|
Depends $(stubsObject) : $(stubsSource) ;
|
||||||
|
1
src/system/libroot/stubbed/libroot_stubs_x86.c
Normal file
1
src/system/libroot/stubbed/libroot_stubs_x86.c
Normal file
@ -0,0 +1 @@
|
|||||||
|
void ___tls_get_addr() {}
|
Loading…
Reference in New Issue
Block a user