TJMW is absolutely correct: at TSA checkpoints it is perfectly all right to bring ANY liquid medication in a carry on so long as it is factory-labeled, regardless of size, and as long as you tell the agent that you are carrying it. I carry contact lens solution and several liquid meds every time I fly, and I fly quite often.
For ease of getting through security, I recommend that you put your meds in a separate ziploc (this one can be large, no size limit applies), marked with your name and the word "MEDICATIONS". Put it in the bin right beside your 3-1-1 baggie and you will sail on through.
Note that liquid sunscreen normally does NOT count as a medication, but you can get sunscreen prescribed in some cases, such as having had a melanoma removed. If your sunscreen container has a valid pharmacy label taped on, it CAN go through; otherwise it has to be in checked baggage.
Also FYI: there is NO limit or rule about the packaging of pills. TSA does not need to know what they are and if they are prescribed; they are not DEA agents, and drug enforcement is not their charge. The only way that pills are going to be a problem is if you are carrying so many of them that you might appear to be a dealer (think BIG ziploc baggies full of hundreds of loose pills); in which case a TSO might call a LEO to come and talk to you about them.