Skip to content

Commit

Permalink
vault backup: 2024-01-22 11:06:56
Browse files Browse the repository at this point in the history
Affected files:
content/2024-01-22.md
  • Loading branch information
pietraferreira committed Jan 22, 2024
1 parent c09dd7c commit 03970ee
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions content/2024-01-22.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@


```bash
pietraferreira@tom:~/tests/relocation-test/010823$ export PATH=${HOME}/projects/corev/install/bin:$PATH
pietraferreira@tom:~/tests/relocation-test/010823$ riscv32-corev-elf-as -march=rv32imc_xcorevhwlp1p0 -o test0311.o test.s
pietraferreira@tom:~/tests/relocation-test/010823$ riscv32-corev-elf-objdump -dr test0311.o

test0311.o: file format elf32-littleriscv


Disassembly of section .text:

00000000 <func>:
0: 8082 ret

00000002 <_start>:
2: 0060007b cv.starti 0,e <L2>
2: R_RISCV_CVPCREL_UI12 L2
2: R_RISCV_RELOCID *ABS*+0x100
6: 00000097 auipc ra,0x0
6: R_RISCV_CALL func
6: R_RISCV_RELAX *ABS*
a: 000080e7 jalr ra # 6 <_start+0x4>

0000000e <L2>:
e: 0001 nop
(failed reverse-i-search)`,': ^C
pietraferreira@tom:~/tests/relocation-test/010823$ riscv32-corev-elf-as -march=rv32imc_xcorevhwlp1p0 -o test0311v3.o test.s
pietraferreira@tom:~/tests/relocation-test/010823$ riscv32-corev-elf-objdump -dr test0311v3.o
```

0 comments on commit 03970ee

Please sign in to comment.