The Food and Drug Administration has approved a drug made by GlaxoSmithKline for certain cancer patients.