| --- Log opened Thu Apr 05 00:00:27 2018 | ||
| wsneijers | Hi, 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 |
|---|---|---|
| wsneijers | This results in a bus error from the interconnect. | 03:41 |
| wsneijers | Does anyone know where these instructions come from and how to remove them? | 03:41 |
| stekern | wsneijers: your baremetal application needs to setup the stack pointer (r1) | 04:09 |
| wsneijers | stekern: Thanks for the pointer (no pun intended)! It was indeed setting the stack pointer. Had one of those facepalm moments | 04:44 |
| -!- [X-Scale] is now known as X-Scale | 11: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!