get flags for objcopy from platform dependent includes
add thread_getname function
Merge pull request #239 from OlegHahm/objcopy_flags

Objcopy flags
Merge pull request #246 from mehlis/thread-name

add thread_getname function