Skip to content

Commit 330af10

Browse files
Fix typo and rephrase complicated sentence.
1 parent b53aa95 commit 330af10

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/memory-layout.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ the rest of pointers are related to exceptions -- we'll ignore them for now.
1717
[vector table]: https://developer.arm.com/docs/dui0552/latest/the-cortex-m3-processor/exception-model/vector-table
1818

1919
Linkers decide the final memory layout of programs, but we can use [linker scripts] to have some
20-
control over the it. The control granularity that linker scripts give us over the layout
20+
control over it. The control granularity that linker scripts give us over the layout
2121
is at the level of *sections*. A section is a collection of *symbols* laid out in contiguous memory.
22-
A symbol can be a statically allocated variable, a `static` variable, a set of instructions, or a
23-
monomorphized (non generic) Rust function.
22+
Symbols, in turn, can be data (a static variable), or instructions (a Rust function).
2423

2524
[linker scripts]: https://sourceware.org/binutils/docs/ld/Scripts.html
2625

0 commit comments

Comments
 (0)