Governor Jeanne Shaheen has signed emergency legislation to help counties that have been unable to borrow money.