NEW YORK (Reuters) – U.S. stocks ended up slightly on Thursday as Brent oil’s rise above $50 a barrel boosted energy shares and an upbeat outlook lifted Wal-Mart to a 14-month high.