TheNuclearDart / bringup

STM32F7 discovery board bringup
GNU Affero General Public License v3.0
0 stars 0 forks source link

Address linker warning "...has a LOAD segment with RWX permissions" #19

Open TheNuclearDart opened 7 months ago

TheNuclearDart commented 7 months ago

This started showing up with a newer version of GCC

See this page for possible solution. It seems that the possible intention is to separate code and data sections from each other, so instead of one xrw section, you'd have an rw and rx section, one for data and one for code.