I tried to replicate the assembly workspace that i have to study on my windows pc (where i have instruction to how installe and use wsl) on my linux pc but when i try to assemble by using
./assemble.ps1 ./file.s
i get this 2 warnings:
/usr/bin/ld: /tmp/cco4Rb1Y.o: warning: relocation in read-only section `.text'/usr/bin/ld:, warning: creating DT_TEXTREL in a PIE
The code that i'm trying to assemble is a simply testing code:
.include "./files/utility.s".datamsg: .ascii "Ok /r".text_main: nop lea msg, %ebx call outline ret
The utility file is a file useful for our students goals, nothing i think is influences the problem.
I read something about addressing with rip referencing (or eip in my case where i have 32bit) but didn't work