lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 5 Sep 2007 19:46:11 +0100 From: Denys Vlasenko <vda.linux@...glemail.com> To: Oleg Verych <olecom@...wer.upol.cz> Cc: sam@...nborg.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH 0/3] build system: section garbage collection for vmlinux On Wednesday 05 September 2007 16:53, Oleg Verych wrote: > * Wed, 5 Sep 2007 14:43:21 +0100 > * User-Agent: KMail/1.9.1 > > > > Build system: section garbage collection for vmlinux > > Maybe this is just a test suit to get finish with `make XYZ static`? They are vaguely connected in a sense that unused function which is not marked static doesn't generate gcc warning, but will be discarded by --gc-sections. "make XYZ static" also tends to find them - you make function static, you recompile the file, and gcc informs you that the function is not used at all! This happened to me when I did aic7xxx patches. You may yse --print-gc-sections to see the list of discarded sections. -- vda - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists