File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ by writing a very simple program.
89
89
Here's the disassembly. Look at the address of ` HardFaultTrampoline ` .
90
90
91
91
``` console
92
- $ cargo objdump --bin app --release -- -d -no-show-raw-insn -print-imm-hex
92
+ $ cargo objdump --bin app --release -- -d -- no-show-raw-insn -print-imm-hex
93
93
```
94
94
95
95
``` text
@@ -114,7 +114,8 @@ $ cargo objdump --bin app --release -- -s -j .vector_table
114
114
115
115
The downside of using the ` cc ` crate is that it requires some assembler program
116
116
on the build machine. For example when targeting ARM Cortex-M the ` cc ` crate
117
- uses ` arm-none-eabi-gcc ` as the assembler.
117
+ uses `arm
118
+ ne-eabi-gcc` as the assembler.
118
119
119
120
Instead of assembling the file on the build machine we can ship a pre-assembled
120
121
file with the ` rt ` crate. That way no assembler program is required on the build
@@ -178,7 +179,7 @@ Now we can test this new version against the simple program from before and
178
179
we'll get the same output.
179
180
180
181
``` console
181
- $ cargo objdump --bin app --release -- -d -no-show-raw-insn -print-imm-hex
182
+ $ cargo objdump --bin app --release -- -d -- no-show-raw-insn -print-imm-hex
182
183
```
183
184
184
185
``` text
You can’t perform that action at this time.
0 commit comments