Two countries sign $3.5bn weapons agreement.