[CMAKE] Put INIT section before .reloc and not after.

CORE-14683
This commit is contained in:
Jérôme Gardou 2021-02-23 18:26:43 +01:00 committed by Jérôme Gardou
parent 0c13ff2a4b
commit 6445f33704

View file

@ -8,5 +8,4 @@ SECTIONS
__init_end__ = . ;
}
}
/*INSERT AFTER .reloc;*//*This is what we actually want to do, but do not dare due to LD bug ROSBE-154*/
INSERT AFTER .rsrc; /*This is what we do instead to at least fix CORE-14683*/
INSERT BEFORE .reloc; /* .reloc is always at the end */