Support x86_64 in the runtime loader.

* Added x86_64 linker script and relocation code.
* Some 64-bit safety fixes to the heap code.
* Added runtime_loader, libroot and bash to the x86_64 image. The boot
  script will be launched, but will panic shortly after because fork
  is broken.
This commit is contained in:
Alex Smith
2012-07-28 17:00:52 +01:00
parent bd8b78e6ee
commit 12b3e8a8a0
6 changed files with 194 additions and 23 deletions
+4 -4
View File
@@ -19,7 +19,7 @@ if $(HAIKU_ATA_STACK) = 1 {
IDE_ONLY = "" ;
}
SYSTEM_BIN = ;
SYSTEM_BIN = bash ;
SYSTEM_APPS = ;
@@ -27,7 +27,7 @@ SYSTEM_PREFERENCES = ;
SYSTEM_DEMOS = ;
SYSTEM_LIBS = ;
SYSTEM_LIBS = libroot.so ;
PRIVATE_SYSTEM_LIBS = ;
@@ -74,13 +74,13 @@ AddLibrariesToHaikuHybridImage system lib
AddFilesToHaikuImage system servers : $(SYSTEM_SERVERS) ;
# apps
#AddFilesToHaikuImage system : runtime_loader ;
AddFilesToHaikuImage system : runtime_loader ;
AddFilesToHaikuImage system bin : $(SYSTEM_BIN) ;
AddFilesToHaikuImage system apps : $(SYSTEM_APPS) ;
AddFilesToHaikuImage system preferences : $(SYSTEM_PREFERENCES) ;
AddFilesToHaikuImage system demos : $(SYSTEM_DEMOS) ;
#AddSymlinkToHaikuImage system bin : bash : sh ;
AddSymlinkToHaikuImage system bin : bash : sh ;
#AddSymlinkToHaikuImage system bin : less : more ;
#AddSymlinkToHaikuImage system bin : gzip : gunzip ;
#AddSymlinkToHaikuImage system bin : gzip : zcat ;