This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: hail marry (booting PowerMac 8600)


kevin diggs <diggskevin38@gmail.com> writes:

> I have a Linux kernel 2.6.28 compiled with 3.4.6 that will boot. Same
> source compiled with 4.3.5 will not boot. The 4.3.5 file has a section
> '.text.unlikely' that 3.4.6 does not have. Anyone know what this might
> be?

The .text.unlikely section is used for code which is considered to be
unlikely to ever executed.  The compiler should only generate it if you
use the -freorder-blocks-and-partition option.  Of course it's possible
that the kernel itself uses it, though I suppose that is not the case if
you don't see it when compiling with 3.4.6.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]