fixed linker

git-svn-id: https://spexeah.com:8443/svn/Asuro@211 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
aaron 2017-10-23 05:01:10 +00:00
parent a4a3a25553
commit 0fde4f52d6
49 changed files with 7 additions and 3 deletions

Binary file not shown.

View File

@ -48,8 +48,12 @@ echo "Linking..."
echo " " echo " "
objstring=""; objstring="";
for object in `find lib/ -name "*.o"`; do for object in `find lib/ -name "*.o"`; do
objstring=$objstring$object" "; if [ "$object" != "lib/stub.o" ]
then
objstring=$objstring$object" ";
fi
done; done;
objstring=lib/stub.o" "$objstring
echo "Object Files: "$objstring echo "Object Files: "$objstring
echo " " echo " "
ld -m elf_i386 -s --gc-sections -Tlinker.script -o bin/kernel.bin $objstring ld -m elf_i386 -s --gc-sections -Tlinker.script -o bin/kernel.bin $objstring

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.