170 Commits

Author SHA1 Message Date
fur%netscape.com
41d9c2de41 A bunch of grunge work to reduce OS-dependent code in ElectricalFire
sources:

+ Renamed files and classes that were inappropriately named, i.e. the
  names started with 'x86Win32', but the code was for generic x86, not
  specific to Win32.

+ Segregated the 64-bit arithmetic code into an OS-independent
  x86Arith64.{cpp,h}


git-svn-id: svn://10.0.0.236/trunk@22238 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:12:06 +00:00
fur%netscape.com
580523708d Squawk if target architecture is unknown
git-svn-id: svn://10.0.0.236/trunk@22237 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:06:34 +00:00
fur%netscape.com
0521e3acbc x86-win32.nad ==> x86.nad
git-svn-id: svn://10.0.0.236/trunk@22236 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:05:58 +00:00
fur%netscape.com
b06c567c1f x86Win32Cpu.h ==> x86Cpu.h
git-svn-id: svn://10.0.0.236/trunk@22234 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:01:40 +00:00
fur%netscape.com
4aa850fa93 x86Win32Cpu.h ==> x86Cpu.h
git-svn-id: svn://10.0.0.236/trunk@22233 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:00:45 +00:00
fur%netscape.com
ad09d80ac6 A bunch of grunge work to reduce OS-dependent code in ElectricalFire
sources.

Here's a detailed list of the changes:

Renamed files and classes that were inappropriately named, i.e. the
names started with 'x86Win32', but the code was for generic x86, not
specific to Win32.

Segregated the 64-bit arithmetic code into an OS-independent
x86Arith64.{cpp,h}


git-svn-id: svn://10.0.0.236/trunk@22229 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 22:45:11 +00:00
fur%netscape.com
e5d87f9498 No CPU_ARCH_TAG for FreeBSD
git-svn-id: svn://10.0.0.236/trunk@22184 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:12:26 +00:00
fur%netscape.com
c2065b1017 Remove C++ comment in C file.
git-svn-id: svn://10.0.0.236/trunk@22113 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:11:37 +00:00
fur%netscape.com
047bf73e83 Added x86 disassembly to HTML output, courtesy of free code from CMU's
Mach project.


git-svn-id: svn://10.0.0.236/trunk@22092 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 09:10:34 +00:00
fur%netscape.com
74ccfa71b1 Fix OBJDIR naming convention to be simpler
git-svn-id: svn://10.0.0.236/trunk@22091 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:48:53 +00:00
fur%netscape.com
b364ac0639 libpthread must come before libnspr on the link line
git-svn-id: svn://10.0.0.236/trunk@22089 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:47:18 +00:00
fur%netscape.com
b02c4ab54d Don't use enums with bitfield widths when running with gcc, since egcs
generates buggy code for this case and there is no way to
differentiate gcc and egcs.


git-svn-id: svn://10.0.0.236/trunk@22088 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:45:45 +00:00
fur%netscape.com
241ef884c8 Fix syntax error
git-svn-id: svn://10.0.0.236/trunk@22086 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:44:40 +00:00
fur%netscape.com
11526464c8 Add libm
git-svn-id: svn://10.0.0.236/trunk@22085 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:42:30 +00:00
fur%netscape.com
b968d57b64 Restore building of java.security native libraries
git-svn-id: svn://10.0.0.236/trunk@22084 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:41:28 +00:00
fur%netscape.com
afd136e6bf + Remove dead code
+ Make class initialization slightly more efficient


git-svn-id: svn://10.0.0.236/trunk@22082 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:40:13 +00:00
fur%netscape.com
fd8160d7bd Improve comment
git-svn-id: svn://10.0.0.236/trunk@22081 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:39:24 +00:00
fur%netscape.com
eaba928492 Fix library ordering problem so that pthreads appears before NSPR on
the link line.


git-svn-id: svn://10.0.0.236/trunk@22080 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:38:38 +00:00
fur%netscape.com
ef607fb50d Fix problems in which functions had 'inline' keyword in definition
but not in the corresponding declaration.


git-svn-id: svn://10.0.0.236/trunk@22079 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:18:38 +00:00
fur%netscape.com
579b075cdf Make the Linux compile-and-backpatch stub code generation be just like
Win32's, so that method-tracing works.


git-svn-id: svn://10.0.0.236/trunk@22078 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:17:06 +00:00
fur%netscape.com
1d244214d1 Under some circumstances, the monitor around the compiler was being
released even though it was not held.


git-svn-id: svn://10.0.0.236/trunk@22077 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:15:03 +00:00
fur%netscape.com
4dd6cc4ce1 Fix linkage problems on FreeBSD by adding -E linker option when building libPackage.so. Patch contributed by Amancio Hasty <hasty@rah.star-gate.com>.
git-svn-id: svn://10.0.0.236/trunk@21482 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 19:10:16 +00:00
fur%netscape.com
1ba5cdbaf6 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@20118 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 06:47:12 +00:00
fur%netscape.com
1a22639c79 Make g++ default C++ compiler
git-svn-id: svn://10.0.0.236/trunk@20117 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 06:47:00 +00:00
fur%netscape.com
534006a292 Remove C++ comment in C file
git-svn-id: svn://10.0.0.236/trunk@20116 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 06:46:12 +00:00
fur%netscape.com
310da7ba2f Kill routine that has name conflict w/ libc
git-svn-id: svn://10.0.0.236/trunk@20115 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 05:47:33 +00:00
fur%netscape.com
043794682b Wrong path for Packages binaries
git-svn-id: svn://10.0.0.236/trunk@20114 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 05:46:47 +00:00
fur%netscape.com
5c43b2b2c8 Gratuitous change to work around bug that appears in egcs 1.0.3
git-svn-id: svn://10.0.0.236/trunk@20056 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:08:41 +00:00
fur%netscape.com
0924db5b2c Quash egcs warning
git-svn-id: svn://10.0.0.236/trunk@20053 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:07:20 +00:00
fur%netscape.com
c997567b07 Use OBJDIR naming scheme that is the same as NSPR's
git-svn-id: svn://10.0.0.236/trunk@20051 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:02:19 +00:00
fur%netscape.com
32a58be443 mkdepend rules now work again
git-svn-id: svn://10.0.0.236/trunk@20050 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:01:56 +00:00
fur%netscape.com
d48f035ca7 Don't assume that gcc is C compiler when computing dependencies
git-svn-id: svn://10.0.0.236/trunk@20049 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:01:02 +00:00
fur%netscape.com
4f0ec63e11 Got rid of problematic -fexceptions flag
git-svn-id: svn://10.0.0.236/trunk@20048 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 23:59:19 +00:00
fur%netscape.com
6303e2d00a Get rid of classpath during header generation. For now, depend on setting of CLASSPATH env variable.
git-svn-id: svn://10.0.0.236/trunk@20047 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 23:58:16 +00:00
fur%netscape.com
f1102dda23 Replaced outdated rules w/ new rules that are identical to NSPR's
git-svn-id: svn://10.0.0.236/trunk@20046 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 23:57:21 +00:00
fur%netscape.com
ea8ad29eb1 Fixed VerifyError and RuntimeError messages to be less dire. Also, don't exit
the program if an error occurs since it will be propagated to a Java caller as
an exception.


git-svn-id: svn://10.0.0.236/trunk@19000 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 05:23:06 +00:00
fur%netscape.com
38a75aef05 The -sys command-line option is now default behavior. You can disable System
class initialization with the new -nosystem option).


git-svn-id: svn://10.0.0.236/trunk@18999 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 05:21:48 +00:00
fur%netscape.com
988e7f0910 Really this time: temporarily hard-coded y.tab.[ch] into build, instead of
generating them


git-svn-id: svn://10.0.0.236/trunk@18998 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 05:20:25 +00:00
fur%netscape.com
22ed156185 Was incorrectly reporting classfile corruption when file was actually not found.
git-svn-id: svn://10.0.0.236/trunk@18997 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 05:09:46 +00:00
fur%netscape.com
082458bdf4 Temporarily hard-coded y.tab.[ch] into build, instead of generating them.
git-svn-id: svn://10.0.0.236/trunk@18917 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 08:22:55 +00:00
fur%netscape.com
d33e9bb674 Temporarily checking in y.tab.c and y.tab.h because of yacc/bison problems.
git-svn-id: svn://10.0.0.236/trunk@18916 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 08:21:57 +00:00
fur%netscape.com
0a1d12585c Add java_lang_Thread.h
git-svn-id: svn://10.0.0.236/trunk@18117 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 01:25:12 +00:00
fur%netscape.com
b223edc9b8 Fix comment.
git-svn-id: svn://10.0.0.236/trunk@18104 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:42:03 +00:00
fur%netscape.com
c8fb4d3ae8 Allow class CharToByteConverter to be initialized, since the codegen limitations
that didn't allow it to be compiled have been remedied.


git-svn-id: svn://10.0.0.236/trunk@18103 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:41:09 +00:00
fur%netscape.com
72b5c556c0 Unicode characters are uint16, not int16.
git-svn-id: svn://10.0.0.236/trunk@18102 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:39:17 +00:00
fur%netscape.com
e41832992f Added routines to handle conversion of Java strings between UTF8 and UCS2
representations.


git-svn-id: svn://10.0.0.236/trunk@18101 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:38:34 +00:00
fur%netscape.com
28e0286a67 Frame::getCallingJavaMethod() now takes a stack depth parameter which indicates
the number of levels to pop the stack.


git-svn-id: svn://10.0.0.236/trunk@18100 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:37:14 +00:00
fur%netscape.com
2f763cedea Flush the log file after entry into a method is traced.
git-svn-id: svn://10.0.0.236/trunk@18099 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:22:22 +00:00
fur%netscape.com
3729c4258b Unicode characters are uint16's not int16's.
git-svn-id: svn://10.0.0.236/trunk@18098 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:20:41 +00:00
fur%netscape.com
eb71ff785b Fixes to newInstance0() method:
When checking to see if a calling method has permission to access a
class/constructor with package-level scope, walk two levels up the
stack, instead of one, since the immediate caller is always
java.lang.newInstance().

In addition to creating the object, invoke it's zero-argument constructor.


git-svn-id: svn://10.0.0.236/trunk@18097 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:19:56 +00:00