Hello,
ld segfaults when i try to compile and link this:
void printstr(const char* str)
{
static int boo=2;
kmemcpy((char*)(pfb), str, kstrlen(str));
pfb+=80*boo;
}
but everything is alright after deleting the static variable line.
You can download the code from here:
https://github.com/loonquawl/kernelstein/tree/c6281875d3202ec58e1d23cc3378ffcf0fa65057
Thanks.
--
Mateusz "loonquawl" Zalega
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils