Re: powerpc64 large-toc vs. reload

2011-06-20 Thread Alan Modra
On Sun, Jun 19, 2011 at 11:04:12PM -0400, David Edelsohn wrote: > On Sun, Jun 19, 2011 at 10:03 AM, Alan Modra wrote: > >* config/rs6000/rs6000.c (create_TOC_reference): Wrap high part > >of toc-relative address in CONST. > >(rs6000_delegitimize_address): Recognize changed

Re: powerpc64 large-toc vs. reload

2011-06-19 Thread David Edelsohn
On Sun, Jun 19, 2011 at 10:03 AM, Alan Modra wrote: > I was alerted to a problem with large toc (-mcmodel=medium/large) code > a few days ago by warnings emitted during a binutils build. > > dwarf.c: In function 'display_debug_lines_raw': > dwarf.c:2409:1: note: non-delegitimized UNSPEC UNSPEC_TOC

powerpc64 large-toc vs. reload

2011-06-19 Thread Alan Modra
I was alerted to a problem with large toc (-mcmodel=medium/large) code a few days ago by warnings emitted during a binutils build. dwarf.c: In function 'display_debug_lines_raw': dwarf.c:2409:1: note: non-delegitimized UNSPEC UNSPEC_TOCREL (44) found in variable location dwarf.c:2409:1: note: non