Skip to content

Commit 6c669e2

Browse files
bors[bot]adamgreigperlindgrencalvinkosmatka
authored
Merge #74 #75 #76
74: Add link to Japanese translation r=eldruin a=adamgreig 75: Typo in cargo objdump argument r=adamgreig a=perlindgren Found a small typo in `memory-layout.md` ``` console cargo objdump --bin app -- -s -section .vector_table ``` should read ``` console cargo objdump --bin app -- -s --section .vector_table ``` 76: Fix link to LLVM libcalls-sync on custom targets page r=jamesmunns a=calvinkosmatka Found a typo'd link on the custom targets page Co-authored-by: Adam Greig <adam@adamgreig.com> Co-authored-by: Per Lindgren <per.lindgren@ltu.se> Co-authored-by: Calvin Kosmatka <calvin.kosmatka@gmail.com>
4 parents 3ef9c61 + 088afc8 + 4e1cfd0 + f675661 commit 6c669e2

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

src/custom-target.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ You can pretty much copy that output into your file. Start with a few modificati
6464
may set `"max-atomic-width": 32` in that case.
6565
- I have no native atomic operations, but I can emulate them myself: set `max-atomic-width` to the
6666
highest number of bits that you can emulate up to 128, then implement all of the
67-
[atomic][libcalls-atomic] and [sync][libcalls-atomic] functions expected by LLVM as
67+
[atomic][libcalls-atomic] and [sync][libcalls-sync] functions expected by LLVM as
6868
`#[no_mangle] unsafe extern "C"`. These functions have been standardized by gcc, so the [gcc
6969
documentation][gcc-sync] may have more notes. Missing functions will cause a linker error, while
7070
incorrectly implemented functions will possibly cause UB. For example, if you have a

src/memory-layout.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ This is the disassembly of the `.text` section. We see that the reset handler, n
216216
located at address `0x8`.
217217

218218
``` console
219-
$ cargo objdump --bin app -- -s -section .vector_table
219+
$ cargo objdump --bin app -- -s --section .vector_table
220220
```
221221

222222
``` text

src/preface.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ This book mainly targets to two audiences:
3333
[`msp430-rt`]: https://crates.io/crates/msp430-rt
3434
[`riscv-rt`]: https://crates.io/crates/riscv-rt
3535

36+
## Translations
37+
38+
This book has been translated by generous volunteers. If you would like your
39+
translation listed here, please open a PR to add it.
40+
41+
* [Japanese](https://tomoyuki-nakabayashi.github.io/embedonomicon/)
42+
([repository](https://github.com/tomoyuki-nakabayashi/embedonomicon))
43+
3644
## Requirements
3745

3846
This book is self contained. The reader doesn't need to be familiar with the

0 commit comments

Comments
 (0)