[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] x86_64: Do not use -ffunction-sections for modules



The correct mailing list is still discuss@xxxxxxxxxx

On Thursday 01 January 1970 01:00, Sergey Vlasov wrote:
> Currently CONFIG_REORDER uses -ffunction-sections for all code;
> however, creating a separate section for each function is not useful
> for modules and just adds bloat. 

You mean the ELF files are larger? .text/.data size shouldn't
change in theory.

> Moving this option from CFLAGS to 
> CFLAGS_KERNEL shrinks module object files (e.g., the module tree for a
> kernel built with most drivers as modules shrinked from 54M to 46M),
> and decreases the number of sysfs files in /sys/module/*/sections/
> directories.

Thanks applied.

-Andi
-
: send the line "unsubscribe linux-x86_64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Linux ia64]     [Linux Kernel]     [DCCP]     [Linux ARM]     [Linux]     [Photo]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

Add to Google Powered by Linux