From 8d36ef50c8712be476572514d73b7bddf43e5951 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 27 Jun 2019 14:48:10 -0700 Subject: [PATCH] [config] Add links --- CONFIG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CONFIG.md b/CONFIG.md index bf14a6df4..46971b0f2 100644 --- a/CONFIG.md +++ b/CONFIG.md @@ -40,7 +40,11 @@ Finally, if you are making a static library build or otherwise linking the library into your app, make sure your linker removes unused functions. This can be tricky and differ from environment to environment, but you definitely want to make sure this happens. Otherwise, every unused public function will -be adding unneeded bytes to your binary. +be adding unneeded bytes to your binary. The following pointers might come +handy: + + * https://lwn.net/Articles/741494/ (all of the four-part series) + * https://elinux.org/images/2/2d/ELC2010-gc-sections_Denys_Vlasenko.pdf Combining the above three build options should already shrink your library a lot. The rest of this file shows you ways to shrink the library even further at the