Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 31fba1d

Browse files
committed
Mips sysv4 support.
1 parent 10da89c commit 31fba1d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/include/port/svr4.h

+6
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,9 @@
22
# define USE_POSIX_SIGNALS
33
# define NO_EMPTY_STMTS
44
# define SYSV_DIRENT
5+
6+
#ifndef BYTE_ORDER
7+
#ifdef MIPSEB
8+
#define BYTE_ORDER BIG_ENDIAN
9+
#endif
10+
#endif

src/makefiles/Makefile.svr4

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# MAKE_EXPORTS is required for svr4 loaders that want a file of
22
# symbol names to tell them what to export/import.
3-
MAKE_EXPORTS= true
3+
#MAKE_EXPORTS= true
44

5-
LDFLAGS+= /usr/ucblib/libucb.a -LD-Blargedynsym
5+
LDFLAGS+= -lc /usr/ucblib/libucb.a -LD-Blargedynsym
66

77
%.so: %.o
88
$(LD) -G -Bdynamic -o $@ $<

0 commit comments

Comments
 (0)