54 Commits

Author SHA1 Message Date
wtc%google.com
5c861cdb73 Bug 427136: added super-H(sh3,4) architecture support. The patch is
forwarded to us from http://www.sh-linux.org/ by CHIKAMA Masaki.  r=wtc.
Modified Files: _linux.cfg _linux.h


git-svn-id: svn://10.0.0.236/trunk@257123 18797224-902f-48f8-a5cc-f745e15eee43
2009-05-07 01:19:37 +00:00
wtc%google.com
cbfe1b0a9a Bug 385583: Fixed incorrect jmp_buf assumptions on ARM EABI systems. The
patch is contributed by Lennert Buytenhek <buytenh@wantstofly.org>.  r=wtc


git-svn-id: svn://10.0.0.236/trunk@254966 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-08 01:27:43 +00:00
wtc%google.com
5a29e8066d Bug 459304: added support for Linux/SPARC64 (64-bit). The patch is
contributed by Tom "spot" Callaway <tcallawa@redhat.com>.
r=wtc,julien.pierre
Modified files:	_linux.cfg _linux.h


git-svn-id: svn://10.0.0.236/trunk@254597 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-11 15:26:22 +00:00
wtc%google.com
fd0a37b274 This file now has a tab offset of 8. Replaced the tabs that assumed a tab
offset of 4 with spaces.


git-svn-id: svn://10.0.0.236/trunk@250843 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-27 16:33:03 +00:00
wtc%google.com
4a83383586 Fixed the Emacs mode line.
git-svn-id: svn://10.0.0.236/trunk@250830 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-27 00:09:35 +00:00
wtc%google.com
27e594a373 Bug 405992: Implement native atomic operations for Linux/ARM. The patch is
contributed by Ilpo Ruotsalainen <ilpo.ruotsalainen@movial.fi>.  r=wtc.
Modified files: configure.in configure _linux.h


git-svn-id: svn://10.0.0.236/trunk@250826 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-26 05:11:46 +00:00
wtc%google.com
2178f99d8d Bug 296878: disable the use of os_Linux_ppc.s for 64-bit PowerPC builds
because the assembly code crashes.  Add nonexecutable stack directive
to os_Linux_ppc.s.
Modified files: configure.in configure _linux.h os_Linux_ppc.s


git-svn-id: svn://10.0.0.236/trunk@243874 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-24 05:00:04 +00:00
wtc%google.com
22d3bf891d Bug 296878: use native PowerPC atomic instructions on Linux PowerPC. The
patch is contributed by kevdig@hypersurf.com.  r=mark.mentovai,wtc
Modified files: configure.in configure _linux.h
Added file: os_Linux_ppc.s


git-svn-id: svn://10.0.0.236/trunk@243638 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-21 01:46:47 +00:00
wtchang%redhat.com
a0402341f1 Bugzilla Bug 355999: fix up for kfreebsd support. The patch is contributed
by Petr.Salinger@seznam.cz. r=wtc
Modified files: _linux.cfg _linux.h


git-svn-id: svn://10.0.0.236/trunk@216132 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 01:11:46 +00:00
wtchang%redhat.com
1f9988ac52 Bugzilla Bug 266123: added ppc64 support. The patch is contributed by
Markus Rothe <markus@unixforces.net>. r=wtc.
Modified Files: _linux.cfg _linux.h


git-svn-id: svn://10.0.0.236/trunk@177450 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-09 22:41:37 +00:00
wchang0222%aol.com
fc3f0fc75a Bugzilla bug 151709: declare the temporary variables as PRInt32.
git-svn-id: svn://10.0.0.236/trunk@166359 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-06 23:40:23 +00:00
wchang0222%aol.com
bbbcbc67db Bugzilla bug 151709: implemented atomic operations in assembly on Alpha
Linux.  The patch is contributed by falk@debian.org. r=darin,wtc.


git-svn-id: svn://10.0.0.236/trunk@166333 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-06 20:02:09 +00:00
wchang0222%aol.com
9f0e48177a Bugzilla bug 264324: we need to test for __s360x__ before __s360__ because
the s360x platform also defines __s360__.  The patch is contributed by
Wolfgang Rosenauer <mozilla@rosenauer.org>.  r=wtc.
Modified Files: _linux.cfg _linux.h


git-svn-id: svn://10.0.0.236/trunk@163985 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-18 22:40:45 +00:00
gerv%gerv.net
43cb9e1492 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155484 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 15:03:26 +00:00
wchang0222%aol.com
0140af82ab Bugzilla bug 232742: added Linux/amd64 support. The patch came from Gentoo
Linux's portage and was sent by Henrik Lynggaard Hansen
<admin@mozillatranslator.org>.  r=wtc.
Modified Files: configure configure.in prprf.c _linux.cfg linux.h
Added Files: os_Linux_x86_64.s


git-svn-id: svn://10.0.0.236/trunk@153721 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 03:10:32 +00:00
wchang0222%aol.com
2b8874ac88 Bugzilla bug 224707: added Linux HPPA support. The patch came from the
Debian Mozilla package (maintainer is Takuo KITAME <kitame@debian.org>).
Modified Files: _linux.cfg _linux.h


git-svn-id: svn://10.0.0.236/trunk@149383 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-16 00:03:50 +00:00
darin%meer.net
5d644844e4 landing patch for bug 211501 "NSPR should provide getaddrinfo" r=wtc
git-svn-id: svn://10.0.0.236/trunk@146800 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 21:42:16 +00:00
wtc%netscape.com
0b8da990ed Bug 90010: added support for Linux for s390 and s390x. The patch is
contributed by Gerhard Tonn <GerhardTonn@swol.de>.
Modified Files: _linux.cfg _linux.h prprf.c


git-svn-id: svn://10.0.0.236/trunk@136889 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-23 17:03:22 +00:00
wtc%netscape.com
2ed5827ecf Bug 168228: added IPv6 support for Darwin (Mac OS X). Added two new
feature macros _PR_HAVE_INET_NTOP and _PR_GHBA_DISALLOW_V4MAPPED to
handle the differences of Darwin's IPv6 sockets implementation and
other platforms' implementations.
Modified files: _aix.h _bsdi.h _darwin.h _freebsd.h _irix.h _linux.h
_netbsd.h _openvms.h _osf1.h _solaris.h prnetdb.c


git-svn-id: svn://10.0.0.236/trunk@136419 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 16:16:34 +00:00
wtc%netscape.com
a3e52b9f60 Bugzilla bug 132208: implemented PR_SendFile on Linux with the sendfile
system call and the TCP_CORK socket option.  r=jgmyers.
Modified Files: _linux.h unix_errors.c ptio.c


git-svn-id: svn://10.0.0.236/trunk@116992 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 21:09:41 +00:00
wtc%netscape.com
964377fc03 Bugzilla bug 84361: added large file support for Linux.
Modified files: configure configure.in _linux.h
Removed an unnecessary undefine of _FILE_OFFSET_BITS in solaris.c.


git-svn-id: svn://10.0.0.236/trunk@98029 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-27 03:00:34 +00:00
wtc%netscape.com
4b0979f1a8 Bugzilla bug #40941: Checked in Linux/ia64 patch from Bill Nottingham
<notting@redhat.com>.  It is for NSPR local threads, which we no longer
use now that we have pthreads.  I don't know if it works, but I check it
in anyway so that it is not lost.


git-svn-id: svn://10.0.0.236/trunk@96788 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-09 19:52:18 +00:00
wtc%netscape.com
0d28d012f4 Bugzilla bug #40941: added assembly language implementation of atomic
routines for IA-64 Linux.  Thanks to David Mosberger <davidm@hpl.hp.com>
for the code review.
Modifies files: configure, configure.in, _linux.h, pr/src/md/unix/Makefile,
pr/src/md/unix/Makefile.in, pr/src/md/unix/objs.mk
Added files: os_Linux_ia64.s


git-svn-id: svn://10.0.0.236/trunk@72682 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 22:22:23 +00:00
larryh%netscape.com
5044d318b8 BugZilla: 42367. Fix copyright date, Original Code
git-svn-id: svn://10.0.0.236/trunk@72681 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 21:48:45 +00:00
larryh%netscape.com
5ff71dac06 BugZilla 42367. change license to dual-license
git-svn-id: svn://10.0.0.236/trunk@72131 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 20:59:02 +00:00
wtc%netscape.com
ce839cc10a Bugzilla bug #40941: define _PR_HAVE_LARGE_OFF_T for ia64.
Removed ia64 classic nspr user-level thread stuff because
it doesn't work.


git-svn-id: svn://10.0.0.236/trunk@71723 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 19:15:27 +00:00
larryh%netscape.com
b43453f185 BugZilla: 40941. IA-64 Linux
git-svn-id: svn://10.0.0.236/trunk@71629 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:12:09 +00:00
wtc%netscape.com
9d0be6dc60 Bugzilla bug #26506: removed the dns lock if the platform has
gethostbyXXX_r or if the gethostbyXXX functions return the result
in thread specific storage.  Did this for AIX, HP-UX, IRIX, OSF1,
Linux, and Solaris.
Modified files: AIX.mk, HP-UX.mk, IRIX.mk, OSF1.mk, _linux.h,
_solaris.h, and prnetdb.c


git-svn-id: svn://10.0.0.236/trunk@70787 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 02:07:07 +00:00
wtc%netscape.com
50696e13da Bugzilla bug #30902: use true atomic implementation of the NSPR atomic
routines on Linux on Intel x86.
Modified files: _linux.h, pr/src/md/unix/Makefile,
pr/src/md/unix/Makefile.in, pr/src/md/unix/objs.mk
Added file: os_Linux_x86.s


git-svn-id: svn://10.0.0.236/trunk@67018 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:22:14 +00:00
wtc%netscape.com
2c1c458572 Merged NSPR 4.0 release onto the main trunk.
git-svn-id: svn://10.0.0.236/trunk@62147 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 19:53:57 +00:00
wtc%netscape.com
7f138566c6 Landed NSPRPUB_RELEASE_4_0_20000223 onto the main trunk.
git-svn-id: svn://10.0.0.236/trunk@61538 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 23:38:19 +00:00
wtc%netscape.com
9cb44715ee Removed unnecessary _MD_MINIMUM_STACK_SIZE macro definition. Define this
macro only if the platform has a minimum stack size requirement.


git-svn-id: svn://10.0.0.236/trunk@53928 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 00:52:58 +00:00
srinivas%netscape.com
3b846f9edf Add autoconf for NSPR. Check in for cls@seawood.org. Buzill 11893
git-svn-id: svn://10.0.0.236/trunk@50684 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 15:09:11 +00:00
larryh%netscape.com
c2335df585 NSPR 3.5 landing
git-svn-id: svn://10.0.0.236/trunk@50602 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 18:32:42 +00:00
dmose%mozilla.org
427e742473 updating to license version 1.1 in boilerplate comments
git-svn-id: svn://10.0.0.236/trunk@28534 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:40:44 +00:00
wtc%netscape.com
28d4ab0218 Added Alec Flett's comments on the version of glibc2/sparc whose
setjmp/longjmp works.


git-svn-id: svn://10.0.0.236/trunk@14764 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 23:39:10 +00:00
wtc%netscape.com
1cf2eda599 Linux/m68k porting change (define _MD_SP_TYPE), contributed by
Jes Sorensen <Jes.Sorensen@cern.ch>.


git-svn-id: svn://10.0.0.236/trunk@13669 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 21:04:47 +00:00
wtc%netscape.com
7c127508ee More mozilla/nsprpub updates, including:
- Patch for MkLinux and glibc 2.1.  Removed the MKLINUX macro.
  This patch is contributed by Tom Rini <trini@kernel.crashing.org>.
- Patch to make the emulated threads work on ARM/Linux.  Contributed
  by raff@netwinder.org.


git-svn-id: svn://10.0.0.236/trunk@11916 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 18:58:25 +00:00
wtc%netscape.com
1184dba161 Fixed Linux pthreads build breakage. Define _PR_POLL_AVAILABLE on
glibc systems.


git-svn-id: svn://10.0.0.236/trunk@11349 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 14:28:25 +00:00
wtc%netscape.com
2a8fb8402d poll() doesn't work on some Linux machines, so we go back
to using select().


git-svn-id: svn://10.0.0.236/trunk@11139 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 02:23:06 +00:00
wtc%netscape.com
6682416805 Include <sys/time.h> for the definition of FD_SETSIZE.
git-svn-id: svn://10.0.0.236/trunk@11129 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 00:08:49 +00:00
wtc%netscape.com
4fde6a01fa Define _PR_POLL_AVAILABLE and _PR_USE_POLL only for glibc2.
git-svn-id: svn://10.0.0.236/trunk@11127 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 00:01:16 +00:00
wtc%netscape.com
5a2946eacf Include <poll.h> instead of <sys/poll.h>. Some machines don't
have <sys/poll.h>.


git-svn-id: svn://10.0.0.236/trunk@11126 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:54:51 +00:00
wtc%netscape.com
c0b3e1fb5a NSPR20 v3.0 beta landing from NSPRPUB_RELEASE_3_0_LANDING_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@11064 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 20:34:39 +00:00
wtc%netscape.com
b4549fd4bb Port to Linux/Strong Arm 110. Only the pthreads version works.
Files changed: Linux.mk, _linux.cfg, _linux.h.


git-svn-id: svn://10.0.0.236/trunk@9962 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-13 03:43:33 +00:00
wtc%netscape.com
542d02e511 The local threads don't work on RedHat 5.1 Sparc Linux (with glibc2).
I suspect it's because glibc2's setjmp/longjmp (Sparc version) does
not allow us to modify the jmp_buf.  So I added some comments and
a #error directive to force the build to fail.


git-svn-id: svn://10.0.0.236/trunk@7709 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 23:38:38 +00:00
wtc%netscape.com
94bbe5a07a Merged Linux/MIPS patch contributed by Ralf <ralf@uni-koblenz.de>.
Files changed: _linux.cfg and _linux.h.


git-svn-id: svn://10.0.0.236/trunk@6347 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:52:44 +00:00
wtc
d6cf513c1d Port to Sparc Linux. Files changed: _linux.cfg, _linux.h.
git-svn-id: svn://10.0.0.236/trunk@3527 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 00:51:10 +00:00
srinivas
c7bab903e6 Initialize the outermost stack frame for the thread and setup pointers to the
stack-pointer/frame-pointer words in the thread's context structure.
Useful for displaying thread stacks in the debugger.


git-svn-id: svn://10.0.0.236/trunk@1019 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 19:45:13 +00:00
wtc
8d1bc32fbe Got rid of the LINUX1_2 and LINUX2_0 macros. I hope that this will
make building on 2.1.x easier.  In case we need to distinguish between
different versions of Linux, we will try to use feature-based macros
as opposed to version-based macros.
Files changed: Linux.mk, _linux.h, _pth.h, prnetdb.c, and ptthread.c.


git-svn-id: svn://10.0.0.236/trunk@808 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 23:54:29 +00:00