From 6fef9f2464b687a519a793019208994d27a451fa Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Sun, 15 Mar 2009 16:19:48 -0600 Subject: [PATCH 1/3] whitespace tweaks in readme.txt --- readme.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/readme.txt b/readme.txt index 2a83a0752b..77dc17cc7b 100644 --- a/readme.txt +++ b/readme.txt @@ -401,10 +401,10 @@ Step 7: Make an object file out of the boot image. for linux-i386: - $ objcopy --rename-section=.data=.boot -I binary bootimage.bin \ - -O elf32-i386 -B i386 bootimage.tmp - $ objcopy --set-section-flags .boot=alloc,load,code bootimage.tmp \ - bootimage.o + $ objcopy --rename-section=.data=.boot -I binary bootimage.bin \ + -O elf32-i386 -B i386 bootimage.tmp + $ objcopy --set-section-flags .boot=alloc,load,code bootimage.tmp \ + bootimage.o for darwin-i386: From 482055b7d43900b0dbe842a8e0201af373606d01 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Sun, 15 Mar 2009 17:29:45 -0600 Subject: [PATCH 2/3] refine estimate of bootimage overhead in readme.txt --- readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 77dc17cc7b..de84527a2c 100644 --- a/readme.txt +++ b/readme.txt @@ -341,7 +341,7 @@ For boot image builds: * Cons: the pre-parsed classes and AOT-compiled methods take up more space in the executable than the equivalent class files. In - practice, this can make the executable 50-100% larger. Also, AOT + practice, this can make the executable 30-50% larger. Also, AOT compilation does not yet yield significantly faster or smaller code than JIT compilation. From fc6c11fadb075610ed49979c5e260e0bdef3bf93 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Sun, 15 Mar 2009 17:34:48 -0600 Subject: [PATCH 3/3] fix cut-and-paste artifacts in readme.txt --- readme.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/readme.txt b/readme.txt index de84527a2c..3d861072c7 100644 --- a/readme.txt +++ b/readme.txt @@ -408,8 +408,9 @@ for linux-i386: for darwin-i386: - $ ../build/darwin-i386/binaryToMacho x86 boot.jar \ - __BOOT __boot __binary_boot_jar_start __binary_boot_jar_end > boot-jar.o + $ ../build/darwin-i386/binaryToMacho x86 bootimage.bin \ + __BOOT __boot __binary_bootimage_bin_start __binary_bootimage_bin_end \ + > bootimage.o for other platforms: See the previous example for architecture-specific parameters.