IRC logs for #openrisc Thursday, 2018-04-05

--- Log opened Thu Apr 05 00:00:27 2018
wsneijersHi, I'm trying to compile a bare-metal executable using or1k-elf-gcc with -nostdlib (i can't afford the space). However doing so creates instructions which try to store words at the top of the address space (l.sw -4(r1),r2 for example))03:40
wsneijersThis results in a bus error from the interconnect.03:41
wsneijersDoes anyone know where these instructions come from and how to remove them?03:41
stekernwsneijers: your baremetal application needs to setup the stack pointer (r1)04:09
wsneijersstekern: Thanks for the pointer (no pun intended)! It was indeed setting the stack pointer. Had one of those facepalm moments04:44
-!- [X-Scale] is now known as X-Scale11:39
--- Log closed Fri Apr 06 00:00:29 2018

Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!