Initial import from FreeBSD RELENG_4:
[games.git] / libexec / rtld-aout / i386 / md-static-funcs.c
1 /*
2  * $FreeBSD: src/libexec/rtld-aout/i386/md-static-funcs.c,v 1.7 1999/08/28 00:10:07 peter Exp $
3  *
4  * Called by ld.so when onanating.
5  * This *must* be a static function, so it is not called through a jmpslot.
6  */
7
8 static void
9 md_relocate_simple(r, relocation, addr)
10 struct relocation_info  *r;
11 long                    relocation;
12 char                    *addr;
13 {
14         if (r->r_relative)
15                 *(long *)addr += relocation;
16 }
17