Re: [PATCH] rs6000: Don't forget to initialize the TOC (PR77957)

2016-11-12 Thread David Edelsohn
On Sat, Nov 12, 2016 at 10:07 AM, Segher Boessenkool 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

[PATCH] rs6000: Don't forget to initialize the TOC (PR77957)

2016-11-12 Thread Segher Boessenkool
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