General obligation bonds of the state are legal investments for all state funds, or for funds under state control, and for all funds of a political subdivision of the state.