Add Stack func libs  && linklist bug fix(memory free)

Signed-off-by: Mingming Zhang <fishtown.mm@gmail.com>