fur%netscape.com
622e57b041
Add /D GENERATE_FOR_X86
1999-02-26 23:14:31 +00:00
fur%netscape.com
cdca2cd6b8
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}
1999-02-26 23:12:06 +00:00
fur%netscape.com
7ac7bc3050
Squawk if target architecture is unknown
1999-02-26 23:06:34 +00:00
fur%netscape.com
f2775a7692
x86-win32.nad ==> x86.nad
1999-02-26 23:05:58 +00:00
fur%netscape.com
2724c019df
x86Win32Cpu.h ==> x86Cpu.h
1999-02-26 23:01:40 +00:00
fur%netscape.com
713438036f
x86Win32Cpu.h ==> x86Cpu.h
1999-02-26 23:00:45 +00:00
fur%netscape.com
49eb5852fe
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}
1999-02-26 22:45:11 +00:00
fur%netscape.com
39e5187a37
No CPU_ARCH_TAG for FreeBSD
1999-02-26 19:12:26 +00:00
fur%netscape.com
c7e6fd84e3
Remove C++ comment in C file.
1999-02-26 16:11:37 +00:00
fur%netscape.com
6a0aa72e1a
Added x86 disassembly to HTML output, courtesy of free code from CMU's
...
Mach project.
1999-02-26 09:10:34 +00:00
fur%netscape.com
8302be9281
Fix OBJDIR naming convention to be simpler
1999-02-26 08:48:53 +00:00
fur%netscape.com
d2d868a5ad
libpthread must come before libnspr on the link line
1999-02-26 08:47:18 +00:00
fur%netscape.com
fefed80cab
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.
1999-02-26 08:45:45 +00:00
fur%netscape.com
feb0fa00c9
Fix syntax error
1999-02-26 08:44:40 +00:00
fur%netscape.com
64ba916755
Add libm
1999-02-26 08:42:30 +00:00
fur%netscape.com
816b76a695
Restore building of java.security native libraries
1999-02-26 08:41:28 +00:00
fur%netscape.com
e10f049385
+ Remove dead code
...
+ Make class initialization slightly more efficient
1999-02-26 08:40:13 +00:00
fur%netscape.com
89f2257e57
Improve comment
1999-02-26 08:39:24 +00:00
fur%netscape.com
5c10358b6d
Fix library ordering problem so that pthreads appears before NSPR on
...
the link line.
1999-02-26 08:38:38 +00:00
fur%netscape.com
bfdba938ce
Fix problems in which functions had 'inline' keyword in definition
...
but not in the corresponding declaration.
1999-02-26 08:18:38 +00:00
fur%netscape.com
7c0a5e03e1
Make the Linux compile-and-backpatch stub code generation be just like
...
Win32's, so that method-tracing works.
1999-02-26 08:17:06 +00:00
fur%netscape.com
5f83d0ba18
Under some circumstances, the monitor around the compiler was being
...
released even though it was not held.
1999-02-26 08:15:03 +00:00
fur%netscape.com
060d1dcbbe
Fix linkage problems on FreeBSD by adding -E linker option when building libPackage.so. Patch contributed by Amancio Hasty <hasty@rah.star-gate.com>.
1999-02-22 19:10:16 +00:00
fur%netscape.com
a19c44a87e
*** empty log message ***
1999-02-09 06:47:12 +00:00
fur%netscape.com
8158bfec9b
Make g++ default C++ compiler
1999-02-09 06:47:00 +00:00
fur%netscape.com
b134eca1df
Remove C++ comment in C file
1999-02-09 06:46:12 +00:00
fur%netscape.com
91ba5d1490
Kill routine that has name conflict w/ libc
1999-02-09 05:47:33 +00:00
fur%netscape.com
c82da5ed81
Wrong path for Packages binaries
1999-02-09 05:46:47 +00:00
fur%netscape.com
7f21c85171
Gratuitous change to work around bug that appears in egcs 1.0.3
1999-02-09 00:08:41 +00:00
fur%netscape.com
c38a2ba622
Quash egcs warning
1999-02-09 00:07:20 +00:00
fur%netscape.com
50f845db76
Use OBJDIR naming scheme that is the same as NSPR's
1999-02-09 00:02:19 +00:00
fur%netscape.com
ec13ae90be
mkdepend rules now work again
1999-02-09 00:01:56 +00:00
fur%netscape.com
8f073d0e5b
Don't assume that gcc is C compiler when computing dependencies
1999-02-09 00:01:02 +00:00
fur%netscape.com
86b377238c
Got rid of problematic -fexceptions flag
1999-02-08 23:59:19 +00:00
fur%netscape.com
3edb1c8ed5
Get rid of classpath during header generation. For now, depend on setting of CLASSPATH env variable.
1999-02-08 23:58:16 +00:00
fur%netscape.com
e8c5ceb092
Replaced outdated rules w/ new rules that are identical to NSPR's
1999-02-08 23:57:21 +00:00
fur%netscape.com
a778b0bbcd
Ignore generated files.
1999-01-31 06:00:48 +00:00
fur%netscape.com
3317d10e0d
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.
1999-01-29 05:23:06 +00:00
fur%netscape.com
3ac9aab5c4
The -sys command-line option is now default behavior. You can disable System
...
class initialization with the new -nosystem option).
1999-01-29 05:21:48 +00:00
fur%netscape.com
74f06f9336
Really this time: temporarily hard-coded y.tab.[ch] into build, instead of
...
generating them
1999-01-29 05:20:25 +00:00
fur%netscape.com
cc0e2caf04
Was incorrectly reporting classfile corruption when file was actually not found.
1999-01-29 05:09:46 +00:00
fur%netscape.com
2c5796e650
Temporarily hard-coded y.tab.[ch] into build, instead of generating them.
1999-01-28 08:22:55 +00:00
fur%netscape.com
43f63667a8
Temporarily checking in y.tab.c and y.tab.h because of yacc/bison problems.
1999-01-28 08:21:57 +00:00
fur%netscape.com
1b89fd30eb
Add java_lang_Thread.h
1999-01-21 01:25:12 +00:00
fur%netscape.com
e233962f1c
Fix comment.
1999-01-21 00:42:03 +00:00
fur%netscape.com
2777bb70f7
Allow class CharToByteConverter to be initialized, since the codegen limitations
...
that didn't allow it to be compiled have been remedied.
1999-01-21 00:41:09 +00:00
fur%netscape.com
63b06b9b29
Unicode characters are uint16, not int16.
1999-01-21 00:39:17 +00:00
fur%netscape.com
609b764aea
Added routines to handle conversion of Java strings between UTF8 and UCS2
...
representations.
1999-01-21 00:38:34 +00:00
fur%netscape.com
b739d59767
Frame::getCallingJavaMethod() now takes a stack depth parameter which indicates
...
the number of levels to pop the stack.
1999-01-21 00:37:14 +00:00
fur%netscape.com
a731a624bd
Flush the log file after entry into a method is traced.
1999-01-21 00:22:22 +00:00
fur%netscape.com
bd45d1406b
Unicode characters are uint16's not int16's.
1999-01-21 00:20:41 +00:00
fur%netscape.com
cbd34f2491
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.
1999-01-21 00:19:56 +00:00
fur%netscape.com
7325e65b00
Added do-nothing stub for registerNatives().
1999-01-21 00:16:40 +00:00
fur%netscape.com
74a25dc27f
Implement doPrivileged() method in a trivial way, such that privileges are
...
not actually checked or set.
1999-01-21 00:15:55 +00:00
fur%netscape.com
aaa4516e45
Don't add a thread-id or a newline to each logfile output line, at least not
...
in the default case.
1999-01-21 00:12:46 +00:00
fur%netscape.com
d603a61b0e
Ensure that log-file flushing occurs even if the default log file is being used.
1999-01-21 00:11:55 +00:00
fur%netscape.com
3459c273d4
Work in progress
1999-01-18 06:22:14 +00:00
fur%netscape.com
f55cdc71aa
+ Flush HTML method dump file after writing it. Otherwise, the file is
...
truncated if EF dies while compiling.
+ Print a placeholder disassembled instruction rather than assert-botching,
so that the -html option still works.
1998-12-23 20:21:58 +00:00
fur%netscape.com
261c442349
Flush HTML method dump file after writing it. Otherwise, the file is truncated
...
if EF dies while compiling.
1998-12-23 20:19:49 +00:00
fur%netscape.com
bfee539607
Eliminate double declaration of variable
1998-12-23 20:15:57 +00:00
fur%netscape.com
d31d7c62f5
Do classname-mangling correctly (or at least closer to correct, since
...
the code still does not handle unicode characters).
1998-12-23 20:15:07 +00:00
fur%netscape.com
3314e91b70
Added stubs for missing native methods.
1998-12-23 20:14:13 +00:00
fur%netscape.com
a1c5402dab
Closer to building packages again in the new mozilla world.
1998-12-23 20:12:59 +00:00
fur%netscape.com
e898c10772
Check-in rth's support for 64-bit arithmetic, with a few mods to make it build
...
on Win32.
1998-12-23 20:11:59 +00:00
fur%netscape.com
5dd3e02ae1
Fixed incorrect assumption that the extra_field_length value in the central
...
directory record was the same as the extra_field_length in the corresponding
local file header record.
1998-12-22 18:01:28 +00:00
fur%netscape.com
e55723a6c0
Adding SportModel, Warren Harris' partially complete garbage collector
...
code for the ElectricalFire JIT.
1998-12-17 07:00:17 +00:00
fur%netscape.com
63e6e6370b
Added Todd Proebsting's BURG to the tree, now that it's in the public domain.
1998-12-17 06:36:50 +00:00
toshok%hungry.com
ad52856eb9
(at least for GNUC platforms) don't rely on nasty division-by-zero tricks to generate +-inf and nan. instead borrow the bitlevel twiddling javascript uses. I would imagine that this would work for all platforms that use IEEE floats (which is necessarily all platforms for which EF will work), but someone else needs to figure out if windows will work with this code.
1998-12-16 01:38:18 +00:00
toshok%hungry.com
f9dd5ea419
clear up screw up in previous commit.
1998-12-16 01:30:14 +00:00
toshok%hungry.com
c8c9060102
install shared libs in dist/ARCH/bin, not dist/ARCH/lib - following the same convention as the mozilla tree.
1998-12-16 01:28:17 +00:00
toshok%hungry.com
4d641fdae2
build shared libs with CC instead of LD.
1998-12-16 01:26:49 +00:00
toshok%hungry.com
ccbe653029
dist is not one directory higher than ef.
1998-12-16 01:13:05 +00:00
rth%cygnus.com
ecc689dd7c
Detect and handle overloaded methods.
1998-12-12 08:21:25 +00:00
rth%cygnus.com
4ab7cbbb92
Re-implement for your legal protection.
1998-12-12 08:20:30 +00:00
rth%cygnus.com
82a9967e08
Add missing java class include files.
1998-12-12 08:18:07 +00:00
rth%cygnus.com
6098b57b95
Insert directory entries into a SortedTree for searching.
1998-12-12 05:23:36 +00:00
rth%cygnus.com
f949848d90
(EF_LIBS): Add DebuggerChannel and EFDisassemble.
...
(JAVAH): Set LD_LIBRARY_PATH.
1998-12-12 04:10:43 +00:00
rth%cygnus.com
b1ca5bba6a
(MKSHLIB): Must use gcc, not ld, to create shared libraries w/ constructors.
...
(NSPR_THREAD_LIBS): New.
1998-12-12 04:09:28 +00:00
rth%cygnus.com
a1cda39f55
(LIBRARY_NAME): Change to EFDisassemble.
1998-12-12 04:08:12 +00:00
rth%cygnus.com
6927c2b1ac
(DIRS): Wildcard on the cpu, so that processors that do not have
...
disassemblers can still build.
1998-12-12 04:07:44 +00:00
rth%cygnus.com
d6f90439cc
Use local labels as needed.
1998-12-12 04:06:58 +00:00
rth%cygnus.com
2598d55c67
(GetPassedException): Abort. The existing "mov ecx,E" thing can not work.
...
Plus it generated invalid assembly.
1998-12-12 04:06:26 +00:00
rth%cygnus.com
3901f4507c
Streamline INLINE_GET_EBP.
...
Error if this file is used on anything except x86.
1998-12-12 04:04:01 +00:00
rth%cygnus.com
80d3f0b550
ANSI C++ disallows reinterpret_cast between objects and functions.
1998-12-12 04:02:56 +00:00
rth%cygnus.com
7f926ea720
Make sure nsinstall gets built before make export tries to use it.
1998-12-12 04:02:05 +00:00
rth%cygnus.com
7ae6f2e79a
The arch bits call for Linux{ver} not LinuxELF{ver}.
1998-12-11 18:49:27 +00:00
rth%cygnus.com
d99dac8a6e
Re-implement for your legal protection.
1998-12-11 18:37:20 +00:00
rth%cygnus.com
040e326358
Use a proper sigcontext for Linux, just as is done for BSD.
1998-12-11 18:35:52 +00:00
rth%cygnus.com
9dc145f4fc
Fix bogus gcc x86 asms.
1998-12-11 18:33:48 +00:00
toshok%hungry.com
4267878169
we need to fix this, but to get things building i've made the copy constructors public and provided an implementation of them that just PR_ASSERT(0)'s.
1998-12-11 04:41:05 +00:00
toshok%hungry.com
0dfd8f4fec
anything greater than gcc 2.8 should have terminate already.
1998-12-11 04:10:21 +00:00
toshok%hungry.com
efc4099d09
XDisAsmTable.c is not included in the distribution (for licensing reasons.) don't reference it in the Makefile.
1998-12-11 04:04:19 +00:00
toshok%hungry.com
9190700c3b
add freebsd support.
1998-12-11 04:03:33 +00:00
toshok%hungry.com
704af423e0
allow building without jvmdi
1998-12-11 04:03:13 +00:00
toshok%hungry.com
bd8b598067
add FreeBSD support.
1998-12-11 04:01:07 +00:00
toshok%hungry.com
eaf7885602
cleanup
1998-12-11 04:00:52 +00:00
toshok%hungry.com
46845dec22
always turn on BATCH_COMPILATION (ef won't build without it.) and allow building without jvmdi support. to enable jvmdi support, install the jvmdi.h file in ef/Debugger and setenv USE_JVMDI 1
1998-12-11 04:00:14 +00:00
toshok%hungry.com
68a37100ef
add support for FreeBSD
1998-12-11 03:57:33 +00:00
toshok%hungry.com
6a9b538ba7
file needed for freebsd port.
1998-12-11 03:57:00 +00:00
toshok%hungry.com
2ddd90f41a
Fix the burm_STATE_LABEL thing, since the version of burg that I have (and that I assume we'll be using) doesn't use SET_STATE_LABEL - it makes assignments to STATE_LABEL.
1998-12-11 02:48:32 +00:00