Fallen US auto giant General Motors pulled back from the brink Thursday , winning government and bondholder support for a new restructuring plan while Chrysler waited for a court to decide its future .