A government program to unfreeze the credit markets got a boost as companies rushed to issue nearly $10 billion of bonds and as credit markets rode the same wave of optimism that sent stocks soaring.