From 9c042c8f5138bcdf7e2320a667ec84e19e2903c0 Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 1 Oct 1996 11:54:38 +0000 Subject: 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 --- libexec/rtld-aout/rtld.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'libexec/rtld-aout') 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 @@ -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"; -- cgit v1.1