There is no law preventing a company from firing employees that are against same-sex marriage, is there?
No, and there are some companies out there that already have a social policy that says if you say something online or in public that you can be fired for it.