On Sat, Nov 12, 2016 at 10:07 AM, Segher Boessenkool
<seg...@kernel.crashing.org> wrote:
> The code generating traceback tables mistakenly does an early return
> if !optional_tbtab, which causes it to miss the code generating the TOC
> section.  This only matters if the TOC will be empty since otherwise
> the section is created elsewhere.
>
> This patch fixes it.  It will need a backport to 6 as well, and
> although I couldn't get it to fail with 5 the code has the same problem
> there.
>
> Tested on powerpc64-linux {-m32,-m64}; committing to trunk.
>
> (The patch looks much bigger than it is, it is mostly a reindent).
>
>
> Segher
>
>
> 2016-11-12  Segher Boessenkool  <seg...@kernel.crashing.org>
>
>         PR target/77957
>         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Don't
>         return early if !optional_tbtab.

Okay.

Thanks, David

Reply via email to