diff options
Diffstat (limited to 'open_issues/ifunc.mdwn')
-rw-r--r-- | open_issues/ifunc.mdwn | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/open_issues/ifunc.mdwn b/open_issues/ifunc.mdwn index 3930d4b2..c357c99c 100644 --- a/open_issues/ifunc.mdwn +++ b/open_issues/ifunc.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2010 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2010, 2011 Free Software Foundation, Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable id="license" text="Permission is granted to copy, distribute and/or modify this @@ -10,8 +10,8 @@ License|/fdl]]."]]"""]] [[!tag open_issue_binutils open_issue_gcc open_issue_glibc]] -Needs porting / support in [[/binutils]] and [[/glibc]], and probably also some -target configure magic for [[/GCC]]. +Needs porting / support in [[/binutils]] and [[/glibc]], and then some target +configure magic for [[/GCC]]. <http://nickclifton.livejournal.com/6612.html> has a short summary about how to use it from GCC. @@ -21,7 +21,7 @@ use it from GCC. Already passes the ifunc testsuite bits for GAS, but notably for LD (`ld/testsuite/ld-ifunc/ifunc.exp`), too, but that one contains a bunch of stuff explicitly tailored towards Linux. For example, we get *OS/ABI: UNIX - - Linux*. + - Linux*. (This should be fixed through using [[toolchain/ELFOSABI_GNU]].) Most of the executables that the testsuite generates don't actually execute. (Though, this is partly due to the [[static @@ -37,3 +37,13 @@ use it from GCC. Killed $ tmpdir/test-1 tmpdir/test-1: error while loading shared libraries: tmpdir/libshared_ifunc.so: ELF file OS ABI invalid + + * [[glibc]] + + * [[libc_variant_selection]] + + * [[GCC]] + + In `gcc/config.gcc`, set `default_gnu_indirect_function=yes` for us, like + done for GNU/Linux. See thread starting at [[!message-id + "CAFULd4YZsAQ6ckFjXtU5-yyv=3tYQwTJOPhU9zmJxFOrnotj8g@mail.gmail.com"]]. |