From 1892e71c11ce0b9f666c92574ed7161d16dc08f8 Mon Sep 17 00:00:00 2001 From: Kurt Miller Date: Fri, 5 Apr 2013 12:58:05 +0000 Subject: - Add ORIGIN, OSNAME, OSREL and PLATFORM substitution support for rpaths. Improvements and okay matthew@, millert@, guenther@ --- libexec/ld.so/hppa/ldasm.S | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'libexec/ld.so/hppa/ldasm.S') diff --git a/libexec/ld.so/hppa/ldasm.S b/libexec/ld.so/hppa/ldasm.S index be3604d3fec..644b0ddfa60 100644 --- a/libexec/ld.so/hppa/ldasm.S +++ b/libexec/ld.so/hppa/ldasm.S @@ -1,4 +1,4 @@ -/* $OpenBSD: ldasm.S,v 1.8 2012/10/27 08:30:35 kettenis Exp $ */ +/* $OpenBSD: ldasm.S,v 1.9 2013/04/05 12:58:03 kurt Exp $ */ /* * Copyright (c) 2004 Michael Shalayeff @@ -263,6 +263,24 @@ ENTRY(_dl_gettimeofday,0) nop EXIT(_dl_gettimeofday) +ENTRY(_dl_readlink,0) + SYSCALL(readlink) + bv r0(rp) + nop +EXIT(_dl_readlink) + +ENTRY(_dl_lstat,0) + SYSCALL(lstat) + bv r0(rp) + nop +EXIT(_dl_lstat) + +ENTRY(_dl_getcwd,0) + SYSCALL(__getcwd) + bv r0(rp) + nop +EXIT(_dl_getcwd) + ENTRY(_dl_sigprocmask,0) stw arg2, HPPA_FRAME_ARG(2)(sp) -- cgit v1.2.3