The two sectors have been hit hard by a housing slump and credit crisis .