Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 101821 | Differences between
and this patch

Collapse All | Expand All

(-)mozilla-orig/nsprpub/pr/include/md/_linux.cfg (-1 / +47 lines)
Lines 45-51 Link Here
45
45
46
#define PR_AF_INET6 10  /* same as AF_INET6 */
46
#define PR_AF_INET6 10  /* same as AF_INET6 */
47
47
48
#ifdef __powerpc__
48
#ifdef __powerpc64__
49
50
#undef  IS_LITTLE_ENDIAN
51
#define IS_BIG_ENDIAN    1
52
#define IS_64
53
54
#define PR_BYTES_PER_BYTE   1
55
#define PR_BYTES_PER_SHORT  2
56
#define PR_BYTES_PER_INT    4
57
#define PR_BYTES_PER_INT64  8
58
#define PR_BYTES_PER_LONG   8
59
#define PR_BYTES_PER_FLOAT  4
60
#define PR_BYTES_PER_DOUBLE 8
61
#define PR_BYTES_PER_WORD   8
62
#define PR_BYTES_PER_DWORD  8
63
64
#define PR_BITS_PER_BYTE    8
65
#define PR_BITS_PER_SHORT   16
66
#define PR_BITS_PER_INT     32
67
#define PR_BITS_PER_INT64   64
68
#define PR_BITS_PER_LONG    64
69
#define PR_BITS_PER_FLOAT   32
70
#define PR_BITS_PER_DOUBLE  64
71
#define PR_BITS_PER_WORD    64
72
73
#define PR_BITS_PER_BYTE_LOG2   3
74
#define PR_BITS_PER_SHORT_LOG2  4
75
#define PR_BITS_PER_INT_LOG2    5
76
#define PR_BITS_PER_INT64_LOG2  6
77
#define PR_BITS_PER_LONG_LOG2   6
78
#define PR_BITS_PER_FLOAT_LOG2  5
79
#define PR_BITS_PER_DOUBLE_LOG2 6
80
#define PR_BITS_PER_WORD_LOG2   6
81
82
#define PR_ALIGN_OF_SHORT   2
83
#define PR_ALIGN_OF_INT     4
84
#define PR_ALIGN_OF_LONG    8
85
#define PR_ALIGN_OF_INT64   8
86
#define PR_ALIGN_OF_FLOAT   4
87
#define PR_ALIGN_OF_DOUBLE  8
88
#define PR_ALIGN_OF_POINTER 8
89
#define PR_ALIGN_OF_WORD    8
90
91
#define PR_BYTES_PER_WORD_LOG2   3
92
#define PR_BYTES_PER_DWORD_LOG2  3
93
94
#elif defined(__powerpc__)
49
95
50
#undef  IS_LITTLE_ENDIAN
96
#undef  IS_LITTLE_ENDIAN
51
#define IS_BIG_ENDIAN    1
97
#define IS_BIG_ENDIAN    1
(-)mozilla-orig/nsprpub/pr/include/md/_linux.h (-1 / +3 lines)
Lines 43-49 Link Here
43
43
44
#define PR_LINKER_ARCH	"linux"
44
#define PR_LINKER_ARCH	"linux"
45
#define _PR_SI_SYSNAME  "LINUX"
45
#define _PR_SI_SYSNAME  "LINUX"
46
#ifdef __powerpc__
46
#ifdef __powerpc64__
47
#define _PR_SI_ARCHITECTURE "ppc64"
48
#elif defined(__powerpc__)
47
#define _PR_SI_ARCHITECTURE "ppc"
49
#define _PR_SI_ARCHITECTURE "ppc"
48
#elif defined(__alpha)
50
#elif defined(__alpha)
49
#define _PR_SI_ARCHITECTURE "alpha"
51
#define _PR_SI_ARCHITECTURE "alpha"
(-)mozilla-orig/security/coreconf/Linux.mk (-2 / +7 lines)
Lines 53-59 Link Here
53
ifeq ($(OS_TEST),m68k)
53
ifeq ($(OS_TEST),m68k)
54
	OS_REL_CFLAGS	= -DLINUX1_2 -D_XOPEN_SOURCE
54
	OS_REL_CFLAGS	= -DLINUX1_2 -D_XOPEN_SOURCE
55
	CPU_ARCH	= m68k
55
	CPU_ARCH	= m68k
56
else		
56
else
57
ifeq ($(OS_TEST),ppc64)
58
	OS_REL_CFLAGS	= -DLINUX1_2 -D_XOPEN_SOURCE
59
	CPU_ARCH	= ppc64
60
else
57
ifeq ($(OS_TEST),ppc)
61
ifeq ($(OS_TEST),ppc)
58
	OS_REL_CFLAGS	= -DLINUX1_2 -D_XOPEN_SOURCE
62
	OS_REL_CFLAGS	= -DLINUX1_2 -D_XOPEN_SOURCE
59
	CPU_ARCH	= ppc
63
	CPU_ARCH	= ppc
Lines 117-122 Link Here
117
endif
121
endif
118
endif
122
endif
119
endif
123
endif
124
endif
120
125
121
126
122
LIBC_TAG		= _glibc
127
LIBC_TAG		= _glibc
Lines 138-144 Link Here
138
OS_PTHREAD = -lpthread 
143
OS_PTHREAD = -lpthread 
139
endif
144
endif
140
145
141
OS_CFLAGS		= $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR
146
OS_CFLAGS		= $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR
142
OS_LIBS			= -L/lib $(OS_PTHREAD) -ldl -lc
147
OS_LIBS			= -L/lib $(OS_PTHREAD) -ldl -lc
143
148
144
ifdef USE_PTHREADS
149
ifdef USE_PTHREADS

Return to bug 101821