diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-05-16 11:16:14 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-05-16 11:16:14 +0000 |
commit | 37ff64ed880153028858c2fdbac9861faa23dcbe (patch) | |
tree | b92cb6c34a77d48ba4bbdd39e539548dc71bb3f8 /lib/libc/arch/mips/net/htonl.S | |
parent | 7c9f95bad108caeb770047316b52959ab8821ed8 (diff) |
Changes to support elf shared librarys
Diffstat (limited to 'lib/libc/arch/mips/net/htonl.S')
-rw-r--r-- | lib/libc/arch/mips/net/htonl.S | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libc/arch/mips/net/htonl.S b/lib/libc/arch/mips/net/htonl.S index 98c8a0af4a9..732a52e1912 100644 --- a/lib/libc/arch/mips/net/htonl.S +++ b/lib/libc/arch/mips/net/htonl.S @@ -34,13 +34,21 @@ * SUCH DAMAGE. */ +#if MACHINE==pica +#include <machine/asm.h> +#else #include <machine/machAsmDefs.h> +#endif #if defined(LIBC_SCCS) && !defined(lint) ASMSTR("from: @(#)htonl.s 8.1 (Berkeley) 6/4/93") - ASMSTR("$Id: htonl.S,v 1.1 1995/10/18 08:41:34 deraadt Exp $") + ASMSTR("$Id: htonl.S,v 1.2 1996/05/16 11:16:02 pefo Exp $") #endif /* LIBC_SCCS and not lint */ + +#ifdef ABICALLS + .abicalls +#endif /* * netorder = htonl(hostorder) * hostorder = ntohl(netorder) |