summaryrefslogtreecommitdiff
path: root/build_helpers/compile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build_helpers/compile.sh')
-rwxr-xr-xbuild_helpers/compile.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_helpers/compile.sh b/build_helpers/compile.sh
index fc97a27..1b1873e 100755
--- a/build_helpers/compile.sh
+++ b/build_helpers/compile.sh
@@ -13,9 +13,9 @@ OUTNAME="src._kernel._main"
track building_src "Building sources to 'tmp/$OUTNAME'... "
gcc -T linker.ld -m32 -Wl,--build-id=none -nostartfiles -nostdlib -ffreestanding $INPATH -o "tmp/$OUTNAME".o
trackend building_src t
-track find_start "Start address is... "
+track find_start "Detecting start address... "
BIN_START=$(objdump tmp/src._kernel._main.o -f | grep start | cut -b 15-)
-# echo "$BIN_START"
+tracknote find_start "Start address is: $BIN_START"
trackend find_start t
# this actually writes three extra nulls, not sure why...
echo "$BIN_START" | xxd -r - | od -t x --endian=little | head | xxd -r - > "bin/$OUTNAME".bin