Optimize linker

Signed-off-by: kecinzer <kecinzer@gmail.com>