Message ID | CAFULd4YZsAQ6ckFjXtU5-yyv=3tYQwTJOPhU9zmJxFOrnotj8g@mail.gmail.com |
---|---|
State | New |
Headers | show |
On Fri, Jul 22, 2011 at 5:27 PM, Uros Bizjak <ubizjak@gmail.com> wrote: > Fixing ifunc test function in the testsuite uncovered a nasty screwup > in config.gcc that prohibited usage of GNU indirect functions on > x86_64-*-linux*. Fixed by mirroring i[34567]86-*-linux* setting. > > 2011-07-22 Uros Bizjak <ubizjak@gmail.com> > > * config.gcc (i[34567]86-*-linux*): Set > default_gnu_indirect_function to yes. (x86_64-*-linux*) in fact. Fixed typo in ChangeLog. Uros.
On Fri, Jul 22, 2011 at 8:30 AM, Uros Bizjak <ubizjak@gmail.com> wrote: > On Fri, Jul 22, 2011 at 5:27 PM, Uros Bizjak <ubizjak@gmail.com> wrote: > >> Fixing ifunc test function in the testsuite uncovered a nasty screwup >> in config.gcc that prohibited usage of GNU indirect functions on >> x86_64-*-linux*. Fixed by mirroring i[34567]86-*-linux* setting. >> >> 2011-07-22 Uros Bizjak <ubizjak@gmail.com> >> >> * config.gcc (i[34567]86-*-linux*): Set >> default_gnu_indirect_function to yes. > > (x86_64-*-linux*) in fact. Fixed typo in ChangeLog. > Can we also enable it for Linux/iX86?
On Fri, Jul 22, 2011 at 5:38 PM, H.J. Lu <hjl.tools@gmail.com> wrote: >>> Fixing ifunc test function in the testsuite uncovered a nasty screwup >>> in config.gcc that prohibited usage of GNU indirect functions on >>> x86_64-*-linux*. Fixed by mirroring i[34567]86-*-linux* setting. >>> >>> 2011-07-22 Uros Bizjak <ubizjak@gmail.com> >>> >>> * config.gcc (i[34567]86-*-linux*): Set >>> default_gnu_indirect_function to yes. >> >> (x86_64-*-linux*) in fact. Fixed typo in ChangeLog. >> > > Can we also enable it for Linux/iX86? It is already enabled for this target. Uros.
Index: config.gcc =================================================================== --- config.gcc (revision 176624) +++ config.gcc (working copy) @@ -1327,8 +1327,10 @@ i386/x86-64.h i386/gnu-user64.h" case ${target} in x86_64-*-linux*) - tm_file="${tm_file} linux.h i386/linux64.h" - default_gnu_indirect_function=glibc-2011 ;; + tm_file="${tm_file} linux.h i386/linux64.h" + # Assume modern glibc + default_gnu_indirect_function=yes + ;; x86_64-*-kfreebsd*-gnu) tm_file="${tm_file} kfreebsd-gnu.h i386/kfreebsd-gnu64.h" ;; x86_64-*-knetbsd*-gnu) tm_file="${tm_file} knetbsd-gnu.h" ;; esac