Etymology
Today it means: To stand against or in opposition to; resist; oppose. Full definition →
From gain- + stay (“to stand”). Compare gainstand.
Etymology from Wiktionary, CC BY-SA 4.0.