https://sourceware.org/bugzilla/show_bug.cgi?id=29259

--- Comment #6 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Ajay Kaher from comment #5)
> Would like to know what are the rare/certain circumstances/condition where
> we could have side effect of not taking this patch.

Well the good news is that the if you remove the patch the linker will not
silently start producing bad code.  Instead, if the circumstances are triggered
you will start getting warning messages from the linker about .eh_frame_hdr not
being created.  So you could look out for these and decide if you need to
reintroduce the patch.  (Or use the --fatal-warnings command line option to
force the linker to stop).

As for the actual circumstances which might trigger the problem - the cause is
when you have a linker script that specifies the order of individual input
sections that does not match the order of those sections in the input file. 
See the description for an example of this.  The input file has the sections
.text.1, .text.2, .text.3 and .text.4 in that order whereas the linker script
places them into the output section in the order .text.1, .text.4, .text.3,
.text.2.

So - if you are not using a linker script to order specific input sections, you
should be OK.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to