Australian shares have clocked a second straight session of gains, as solid earnings, a banking rebound and easing oil prices lifted investor confidence.