forked from jackyzha0/quartz
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |