Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / libexec / ld.aout_so / arch / vax / md-static-funcs.c
blob1aa47bf4f329a4b99ae1560983a525d2093c9563
1 /* $NetBSD: md-static-funcs.c,v 1.2 1998/01/05 22:00:48 cgd 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 */
8 static void
9 md_relocate_simple(r, relocation, addr)
10 struct relocation_info *r;
11 long relocation;
12 char *addr;
14 if (r->r_relative)
15 *(long *)addr += relocation;