title: Undefined reference to _sbrk
body: <p>I am having a problem with <code>_sbrk</code>. In a link phase of compilation i use below comand to link my objects and i get undefined reference to <code>_sbrk</code>.</p>
  <pre><code>arm-none-eabi-ld -static -T linkerscript.ld -o exe timer_example.o /home/ziga/projects/cs_lite/arm-none-eabi/lib/libc.a /home/ziga/projects/cs_lite/lib/gcc/arm-none-eabi/4.5.1/libgcc.a
  </code></pre>
  <p>I am compiling for <strong>arm926ej-s</strong> and in ARM mode so i think i have chosen the right multilib  <em>(<code>libc.a</code> and <code>libgcc.a</code>)</em> which is located in folder <code>home/ziga/projects/cs_lite/arm-none-eabi/lib/</code>.</p>
  <p>I have been searching internet for <code>_sbrk</code> function and it is some sort of a memory managment call which isnt included in standard C libraries as it is dependant on microprocessor. So do I have to write <code>_sbrk</code> function on my own? How do I do it? Do you have any example for <strong>arm926ej-s</strong>? After writing this function I intend to compile it into an object file and link it together with other objects, libraries.</p>