On Wed, Nov 23, 2016 at 5:25 AM, Hurugalawadi, Naveen <naveen.hurugalaw...@cavium.com> wrote: > Hi, > > Please find attached the patch that fixes PR71112. > > The current implementation that handles SYMBOL_SMALL_GOT_28K in > aarch64_load_symref_appropriately access the high part of RTX for Big-Endian > mode which results in ICE for ILP32. > > The attached patch modifies it by accessing the lower part for both Endian > and fixes the issue. > > Please review the patch and let me know if its okay? >
PR71112 is still open - should this be backported to GCC-6 ? regards Ramana > > 2016-11-23 Andrew PInski <apin...@cavium.com> > > gcc > * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): > Access the lower part of RTX appropriately. > > gcc/testsuite > * gcc.target/aarch64/pr71112.c : New Testcase.