[Libre-soc-dev] Simulator does not like labels?

Lauri Kasanen cand at gmx.com
Wed May 19 12:40:18 BST 2021


On Wed, 19 May 2021 12:26:04 +0100
Luke Kenneth Casson Leighton <lkcl at lkcl.net> wrote:

> to "solve" this what i am going to suggest is:
>
> * write in assembler (including with labels)
> * macro-preprocess with svp64asm.py
> * compile with gnu-as
> * link with a bare metal stub
> * use objcopy to extract the binary.
>
> last 3 out of 5 of these steps are *already done* by the Program class.

Clarification, if it already compiles and links, why isn't it working?
Surely the label gets lost in the process.

- Lauri



More information about the Libre-soc-dev mailing list