Beginners function problems about assembly language called C

1 .section .data
2 output:
3 .asciz "Hello World\n"
4 .section .text
5 .global _start
6 _start:
7 push $output
8 call printf
9 addl $4, %esp
10 push $0
call exit
As -o test9.o test9.s

ld -lc -dynamic-linker /lib/Ld-linux.so.2 -o Test9 test9.o

./Test9 and then bash:./test9: is accessing a shared library has been destroyed
How to solve

Started by Everley at January 08, 2017 - 1:21 AM

Top, MS I have encountered this problem. X64 system

Posted by Colby at January 12, 2017 - 2:08 AM