summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-aout
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-10-01 11:54:38 +0000
committerpeter <peter@FreeBSD.org>1996-10-01 11:54:38 +0000
commit9c042c8f5138bcdf7e2320a667ec84e19e2903c0 (patch)
tree77f41420211e82bfde702b188c03f7ee5b014a5c /libexec/rtld-aout
parent8dadb394b635e68b3540694bf6f3e7f0f06fa6f1 (diff)
downloadFreeBSD-src-9c042c8f5138bcdf7e2320a667ec84e19e2903c0.zip
FreeBSD-src-9c042c8f5138bcdf7e2320a667ec84e19e2903c0.tar.gz
Sigh, oh well, here's my obligigatory "oops" commit. I don't quite know
how I managed to get this out of sync, but I did. I guess that's what I get for directly committing from different machines that I was testing on. Pointed out by: Paul Traina <pst@freebsd.org>
Diffstat (limited to 'libexec/rtld-aout')
-rw-r--r--libexec/rtld-aout/rtld.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/libexec/rtld-aout/rtld.c b/libexec/rtld-aout/rtld.c
index 7d0e868..9c532db 100644
--- a/libexec/rtld-aout/rtld.c
+++ b/libexec/rtld-aout/rtld.c
@@ -27,7 +27,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: rtld.c,v 1.34 1996/05/22 06:34:12 jdp Exp $
+ * $Id: rtld.c,v 1.35 1996/10/01 01:51:53 peter Exp $
*/
#include <sys/param.h>
@@ -161,6 +161,18 @@ struct somap_private {
/* Parent of link map */
#define LM_PARENT(smp) (LM_PRIVATE(smp)->spd_parent)
+#ifndef RELOC_EXTERN_P
+#define RELOC_EXTERN_P(s) ((s)->r_extern)
+#endif
+
+#ifndef RELOC_SYMBOL
+#define RELOC_SYMBOL(s) ((s)->r_symbolnum)
+#endif
+
+#ifndef RELOC_PCREL_P
+#define RELOC_PCREL_P(s) ((s)->r_pcrel)
+#endif
+
static char __main_progname[] = "main";
static char *main_progname = __main_progname;
static char us[] = "/usr/libexec/ld.so";
OpenPOWER on IntegriCloud