It's that day when a one-liner "add" -> "sub" fix asks for a commit message the size of a blog post: github.com/rtfb/riscv-hobby-…
7
91
Turns out, the solution was both obvious and not.
The obvious part: add-symbol-file. It can be specified with an offset, but a negative offset has to be two's complement:
add-symbol-file out/os_virt -o 0xffffffff80000000
xitter.gq/rtfb/status/1761335870…
Hive mind, is there a way to rewrite symbol addresses in DWARF?
I thoroughly fail to find even a decent library to write the symbols (as opposed to just reading them). Modifying them within gdb after loading would also suit me, but can't find that either.
1
5
196
Hive mind, is there a way to rewrite symbol addresses in DWARF?
I thoroughly fail to find even a decent library to write the symbols (as opposed to just reading them). Modifying them within gdb after loading would also suit me, but can't find that either.
Timer interrupt handling in M+S modes on RISC-V is confusing. Here are some of my notes that others might find useful: github.com/rtfb/riscv-hobby-…
3
208
Quoting the master strategist, "мы-то по большому счету всерьез пока ничего и не начинали" - the summit starts tomorrow!
Glad to announce that after the meeting I hosted with @RTErdogan & @SwedishPM, President Erdogan has agreed to forward #Sweden's accession protocol to the Grand National Assembly ASAP & ensure ratification. This is an historic step which makes all #NATO Allies stronger & safer.
63
Hey, @SbudnicS there's a sbudnic.space/repository section on the website, but it's empty. Are there plans to opensource some of the engineering details?
Shake-sort.
2
As expected, natural stupidity is doing harm waaay before AGI is even developed.
washingtonpost.com/technolog…
2
We do not always blog in English, but when we do, it's on Uber Engineering Blog: eng.uber.com/on-call-dashboa…
Survey: If there's on thing we could improve, what would it be?
Me: No mandatory fields in survey forms.
1
Golang protip: never forget to PipeWriter.Close(), esp if wrapped in smth like gzip.Writer (close both). Or your io.Copy will never end.
1
I hammered together a POC for godoctest (github.com/rtfb/godoctest), a tool a-la Python's doctest.
Thoughts? Comments? Prior art?
@naktinis, ačiū už šitą puikų straipsnį! (delfi.lt/sveikata/sveikatos-…)









