It also said Turkish troops shelled areas near the Iraqi border to try to prevent rebels from reaching their bases in northern Iraq .