The genetic architecture and genomic context of glyphosate resistance