[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/10270] IFUNC local symbol
From: |
jakub at redhat dot com |
Subject: |
[Bug ld/10270] IFUNC local symbol |
Date: |
12 Jun 2009 19:10:25 -0000 |
------- Additional Comments From jakub at redhat dot com 2009-06-12 19:10
-------
The problem with using normal symbol is that if some shared library calls such a
symbol, the .got.plt slot in the shared library will contain address of the .plt
slot in the binary and only its .got.plt will contain the resolved function that
should be called, so in that (hopefully rare, IFUNC doesn't make as much sense
in the binaries as it does in shared libraries and binary overriding symbols in
shared libraries is also not so common) case calls from the shared library need
to hop through two .plt slots. But I don't see other ways how to make pointer
comparisons work in this case. Obviously if the binary doesn't take its
address, using IFUNC symbol in the binary is just fine.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10270
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/10270] New: IFUNC local symbol, jakub at redhat dot com, 2009/06/12
- [Bug ld/10270] IFUNC local symbol, hjl dot tools at gmail dot com, 2009/06/12
- [Bug ld/10270] IFUNC local symbol,
jakub at redhat dot com <=
- [Bug ld/10270] IFUNC local symbol, jakub at redhat dot com, 2009/06/12
- [Bug ld/10270] IFUNC local symbol, hjl dot tools at gmail dot com, 2009/06/14
- [Bug ld/10270] IFUNC local symbol, hjl dot tools at gmail dot com, 2009/06/14
- [Bug ld/10270] IFUNC local symbol, cvs-commit at gcc dot gnu dot org, 2009/06/14
- [Bug ld/10270] IFUNC local symbol, hjl dot tools at gmail dot com, 2009/06/14