U.S. presidential contender Barack Obama pledged steadfast aid to Afghanistan in talks with its West