TSX extends weekly gains with tech and energy shares climbing. Mining and oil sectors also contribute to the index's positive…