Re: Ld --whole-archive or how to lower loader-stripped.elf size from 9MB to 6MB

2018-10-12 Thread Waldek Kozaczuk
Have found another related commit about bringing libgcc_s.so back - https://github.com/cloudius-systems/osv/commit/be565320c082c00069614c850d29b42831b3dea6. On Thursday, October 11, 2018 at 3:08:33 PM UTC-4, Waldek Kozaczuk wrote: > > So here is what I have found. > > This huge object file is

[PATCH] Disable linking libgcc.a with --whole-archive option

2018-10-12 Thread Waldemar Kozaczuk
This patch disables linking libgcc.a library with --whole-archive in order to make resulting loader-stripped.elf 2.5 MB smaller. The libgcc.a contains number of functions and huge tables of numbers that are part of Decimal Float Library

[COMMIT osv master] Revert automatic clean when build check and instead rebuild boot16.o/boot32.o every time

2018-10-12 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Revert automatic clean when build check and instead rebuild boot16.o/boot32.o every time This patch reverts previous one to automatically clean the build directory when build check. Instead it changes makefile rules to