Skip to content

Commit 98ee5e1

Browse files
authored
Merge pull request #350 from linsinan1995/fix-typo
Remove wrong punctuation and duplicate Chapter Sections
2 parents c407b44 + ba8bd05 commit 98ee5e1

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

riscv-elf.adoc

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,6 @@ sections.
274274

275275
--
276276

277-
=== Sections
278-
279-
There are no RISC-V specific definitions relating to ELF sections.
280-
281277
=== String Tables
282278

283279
There are no RISC-V specific definitions relating to ELF string tables.
@@ -1194,7 +1190,7 @@ which made the load instruction reference to an unspecified address.
11941190
the PLT stub of the target symbol is within +-1MiB.
11951191

11961192
Relaxation::
1197-
- Instruction sequence associated with `R_RISCV_CALL` or `R_RISCV_CALL_PLT.`
1193+
- Instruction sequence associated with `R_RISCV_CALL` or `R_RISCV_CALL_PLT`
11981194
can be rewritten to a single JAL instruction with the offset between the
11991195
location of relocation and target symbol.
12001196

@@ -1231,7 +1227,7 @@ symbol.
12311227
instruction in the instruction sequence is `X1`/`RA` and if it is RV32.
12321228

12331229
Relaxation::
1234-
- Instruction sequence associated with `R_RISCV_CALL` or `R_RISCV_CALL_PLT.`
1230+
- Instruction sequence associated with `R_RISCV_CALL` or `R_RISCV_CALL_PLT`
12351231
can be rewritten to a single `C.JAL` instruction with the offset between the
12361232
location of relocation and target symbol.
12371233

@@ -1264,7 +1260,7 @@ Relaxation result:
12641260
instruction in the instruction sequence is `X0`.
12651261

12661262
Relaxation::
1267-
- Instruction sequence associated with `R_RISCV_CALL` or `R_RISCV_CALL_PLT.`
1263+
- Instruction sequence associated with `R_RISCV_CALL` or `R_RISCV_CALL_PLT`
12681264
can be rewritten to a single `C.J` instruction with the offset between the
12691265
location of relocation and target symbol.
12701266

0 commit comments

Comments
 (0)