Training courses
Kernel and Embedded Linux
Bootlin training courses
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
.text .globl _start _start: auipc ra, %pcrel_hi(tdata) addi ra, ra, %pcrel_lo(.text) lb t1, 0(ra) foo: auipc ra, %pcrel_hi(tdata) addi ra, ra, %pcrel_lo(.text+12) lb t2, 1(ra) .data tdata: .byte 0xff .byte 0x00 .byte 0xf0 .byte 0x0f