diff options
author | peter <peter@FreeBSD.org> | 1996-10-01 01:28:10 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-10-01 01:28:10 +0000 |
commit | 180a0b4f4ac53132807d50921587764b266924f4 (patch) | |
tree | 788ed09c64d5e649e7b352f6d67c4996054d6a22 /libexec/rtld-aout/i386/md.h | |
parent | 84a69ec571fc69439f49a2a47d5963f49cf6488e (diff) | |
download | FreeBSD-src-180a0b4f4ac53132807d50921587764b266924f4.zip FreeBSD-src-180a0b4f4ac53132807d50921587764b266924f4.tar.gz |
Update the backends to go with the top-level ld changes. The non-i386
changes are for completeness, I don't think they work. There are changes
to deal with the new include files.
Obtained from: NetBSD (mostly)
Diffstat (limited to 'libexec/rtld-aout/i386/md.h')
-rw-r--r-- | libexec/rtld-aout/i386/md.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/libexec/rtld-aout/i386/md.h b/libexec/rtld-aout/i386/md.h index da5283d..f7ad9d4 100644 --- a/libexec/rtld-aout/i386/md.h +++ b/libexec/rtld-aout/i386/md.h @@ -27,9 +27,11 @@ * (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: md.h,v 1.11 1994/12/23 22:31:14 nate Exp $ + * $Id: md.h,v 1.12 1995/03/04 17:46:21 nate Exp $ */ +#ifndef __MD_H__ +#define __MD_H__ #if defined(CROSS_LINKER) && defined(XHOST) && XHOST==sparc #define NEED_SWAP @@ -224,3 +226,17 @@ void md_swapout_jmpslot __P((jmpslot_t *, int)); #define put_long(where,what) (*(long *)(where) = (what)) #endif /* CROSS_LINKER */ + +void md_init_header __P((struct exec *, int, int)); +long md_get_addend __P((struct relocation_info *, unsigned char *)); +void md_relocate __P((struct relocation_info *, long, unsigned char *, int)); +void md_make_jmpslot __P((jmpslot_t *, long, long)); +void md_fix_jmpslot __P((jmpslot_t *, long, u_long)); +int md_make_reloc __P((struct relocation_info *, struct relocation_info *, int)); +void md_make_jmpreloc __P((struct relocation_info *, struct relocation_info *, int)); +void md_make_gotreloc __P((struct relocation_info *, struct relocation_info *, int)); +void md_make_copyreloc __P((struct relocation_info *, struct relocation_info *)); +void md_set_breakpoint __P((long, long *)); + + +#endif /* __MD_H__ */ |