The Massachusetts Legislature is gearing up for the final two days of its formal session with a handful of major bills still awaiting action.

The 19-month session ends Thursday. Lawmakers can continue meet informally after that, but only to consider routine or non-controversial measures.

Among bills that are still pending is one calling for sweeping changes to the state's gun laws. House and Senate negotiators are trying to reach a compromise after the Senate stripped out a House-passed provision that would give police chiefs more discretion in issuing permits to own rifles and shotguns.

Other bills awaiting final action include a proposal to toughen domestic violence laws and a bill designed to tighten reporting requirements for independent political expenditures, including those made by political action committees known as super PACs.