Need to stop GCC reordering functions
Newer GCC will re-order functions to allow the link-edit to better position them based on their expected call frequency.
Mostly, this is something we ignore and won't be a problem, but since kernel objects are relocatable objects, the sub-section of '.text' remain in the output, and may cause problems.
We should just not do it.
Updated by Electric Monk over 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
commit b6c711cc370ad66a5c9391c71936f34bb8616e93 Author: Richard Lowe <firstname.lastname@example.org> Date: 2018-11-04T19:25:51.000Z 9939 Need to stop GCC reordering functions Reviewed by: John Levon <email@example.com> Reviewed by: Toomas Soome <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>