libroot: Add x86-specific stub.
Needed for bootstrapping.
This commit is contained in:
@@ -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) ;
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
void ___tls_get_addr() {}
|
||||||
Reference in New Issue
Block a user