"The two leaders acknowledged the shared threat from terrorism and the president made clear that the United States will continue to support Pakistan in its fight against extremism," the White House said in a statement.