diff options
Diffstat (limited to 'gnu/usr.bin/ld/sparc/md.c')
-rw-r--r-- | gnu/usr.bin/ld/sparc/md.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/usr.bin/ld/sparc/md.c b/gnu/usr.bin/ld/sparc/md.c index 5424f15e4718..0b9aef566f42 100644 --- a/gnu/usr.bin/ld/sparc/md.c +++ b/gnu/usr.bin/ld/sparc/md.c @@ -1,5 +1,5 @@ /* - * $Id: md.c,v 1.3 1993/11/06 19:15:31 pk Exp $ + * $Id: md.c,v 1.2 1993/11/09 04:19:33 paul Exp $ */ #include <sys/param.h> @@ -285,3 +285,12 @@ struct relocation_info *rp, *r; r->r_addend = 0; } +void +md_set_breakpoint(where, savep) +long where; +long *savep; +{ + *savep = *(long *)where; + *(long *)where = BPT; +} + |