[haiku-commits] Re: haiku: hrev46459 - src/system/boot/loader src/system/boot/platform/generic headers/private/kernel/boot

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 07 Dec 2013 03:56:55 +0100

On 07/12/2013 03:46, François Revol wrote:
>> I assume you have some debugging enabled or other location additions?
> 
> Oh right, I had some to debug the efi branch (which fails on m68k
> floppy, but possibly on x86 too...)
> 
> François.
> 
> 

Btw, it seems we have several duplicated strings:

strings
generated-x86/objects/haiku/x86_gcc2/release/system/boot/haiku_loader|
sort | uniq -c | sort

(including 74 times "bad_alloc"...)

It could be interesting to compile haiku_loader with gcc4 to be able to
use -fmerge-constants :

http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-fmerge-constants-798

That'd spare some bytes, and even if it still fits, it'd be nice to
allow debug builds to fit too...
luckily the efi branch one still fits, and it seems I'll need it since
the HEAD floppy does start in QEMU but not the EFI one.

François.

Other related posts: