summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1999-07-12 07:54:45 +0000
committerdfr <dfr@FreeBSD.org>1999-07-12 07:54:45 +0000
commit7b13a6e6f96131765e791435212c14bdf57497c8 (patch)
treef396113c6e76af01835e7b345f8f0703d1d5b337 /libexec/rtld-elf
parent4a42233b8a11d7774d22dbf4713e2d6593e229da (diff)
downloadFreeBSD-src-7b13a6e6f96131765e791435212c14bdf57497c8.zip
FreeBSD-src-7b13a6e6f96131765e791435212c14bdf57497c8.tar.gz
Add code to 'handle' R_ALPHA_NONE relocations by ignoring them.
Diffstat (limited to 'libexec/rtld-elf')
-rw-r--r--libexec/rtld-elf/alpha/reloc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libexec/rtld-elf/alpha/reloc.c b/libexec/rtld-elf/alpha/reloc.c
index 743b1c2..f77e952 100644
--- a/libexec/rtld-elf/alpha/reloc.c
+++ b/libexec/rtld-elf/alpha/reloc.c
@@ -22,7 +22,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: reloc.c,v 1.4 1999/04/09 00:28:43 jdp Exp $
+ * $Id: reloc.c,v 1.5 1999/06/25 02:53:55 jdp Exp $
*/
/*
@@ -67,6 +67,9 @@ reloc_non_plt_obj(Obj_Entry *obj_rtld, const Obj_Entry *obj,
switch (ELF_R_TYPE(rela->r_info)) {
+ case R_ALPHA_NONE:
+ break;
+
case R_ALPHA_REFQUAD: {
const Elf_Sym *def;
const Obj_Entry *defobj;
OpenPOWER on IntegriCloud