From 24f818820b586a689c3e8fea7824d2275db93acc Mon Sep 17 00:00:00 2001 From: Christian Sattler Date: Sun, 26 Dec 2021 14:37:35 +0100 Subject: [PATCH] Fix typos in design.md --- docs/design.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/design.md b/docs/design.md index 62ea14e605..0a61ba8cd3 100644 --- a/docs/design.md +++ b/docs/design.md @@ -163,7 +163,7 @@ tool. (i.e. `_start`) or a few other root sections. In mold, we are using multiple threads to mark sections concurrently. -- Similarly, BFD, gold an lld support Identical Comdat Folding (ICF) +- Similarly, BFD, gold and lld support Identical Comdat Folding (ICF) as yet another size optimization. ICF merges two or more read-only sections that happen to have the same contents and relocations. To do that, we have to find isomorphic subgraphs from larger graphs. @@ -381,7 +381,7 @@ not plan to implement and why I turned them down. fixing the final file layout. The other reason to reject this idea is because there's good a - chance for this idea to have a negative impact on linker's overall + chance for this idea to have a negative impact on the linker's overall performance. If we copy file contents before fixing the layout, we can't apply relocations to them while copying because symbol addresses are not available yet. If we fix the file layout first, we