Project

General

Profile

Actions

Bug #9939

closed

Need to stop GCC reordering functions

Added by Rich Lowe over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
tools - gate/build tools
Start date:
2018-10-29
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

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.

Actions

Also available in: Atom PDF