PR79066, non-PIC code generated for powerpc glibc with -fpic
authorAlan Modra <amodra@gmail.com>
Tue, 17 Jan 2017 02:54:11 +0000 (13:24 +1030)
committerAlan Modra <amodra@gcc.gnu.org>
Tue, 17 Jan 2017 02:54:11 +0000 (13:24 +1030)
commite6750e5ce04bf778fc9bb0d07143b72cc6dc2c79
treea15c9c6b6612f448bf8b8c4e458a13f78c0c9acf
parent86b957ca4f2daa08f72f67d039d0e9aa5e37fe2f
PR79066, non-PIC code generated for powerpc glibc with -fpic

PR target/79066
* config/rs6000/rs6000.md (elf_high, elf_low): Disable when pic.
* config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Don't allow
symbolic stack limit when pic.
testsuite/
* gcc.target/powerpc/pr79066.c: New.

From-SVN: r244515
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr79066.c [new file with mode: 0644]