Most of the food I take on trips is low in sodium content by design, so I usually specifically plan on taking some overly salty foods. Like Jerky, although I have done Pringles on some shorter trips.
I used to also take several small disposable salt packets and put one or two in my water bottle when filling up. That much wasn't taste-able, but I was always concerned that if I ran out of salt I would stop sweating and have a much larger issue.
I know others that always take a good amount of powdered drink mixes that contain salt or other necessary electrolytes. It's definitely something to plan for.
High sodium foods affect people in different ways, so it is a good idea to know if you can handle the high sodium foods before you get out on a long trek. You do need to plan to keep your sodium up as the increased activity will require it. You might get away with a few high sodium foods or you might have to put a little salt or drink mix in your water and make sure to salt your food enough. This is something that you need to know about yourself before you go. Regulating your salt intake can take a little bit of practice, but so long as you understand that's it's important and have salty and non-salty options you should be fine.