use __child symbol globaly for both stack and register based libraries