Brian Gaeke
74b256ee41
Make sure libcrtend.a gets installed when you make install-bytecode.
...
llvm-svn: 12292
2004-03-11 20:55:23 +00:00
Chris Lattner
5b22f55e54
Add a simple implementation of strncpy
...
llvm-svn: 11672
2004-02-20 20:15:47 +00:00
Chris Lattner
85d76cb3d5
Add strndup
...
llvm-svn: 11638
2004-02-19 21:44:41 +00:00
Chris Lattner
f2b699b98b
Since tail duplication is currently neutered, we have to help the optimizer to remove the overhead of __main
...
llvm-svn: 11561
2004-02-17 18:45:06 +00:00
Brian Gaeke
3c863c8fdf
Add DESTDIR support for installing. Use (and depend on) $(bytecode_libdir).
...
llvm-svn: 10947
2004-01-21 23:57:46 +00:00
Chris Lattner
b46031d8db
Add support for people calling main recursively
...
llvm-svn: 10535
2003-12-19 07:51:46 +00:00
John Criswell
0659bb0c4a
Merged in RELEASE_11.
...
llvm-svn: 10516
2003-12-18 16:43:17 +00:00
Misha Brukman
dbedab0d6d
Disable __attribute__((weak)) on Mac OS X and other lame platforms.
...
llvm-svn: 10489
2003-12-16 22:57:30 +00:00
Misha Brukman
94364aa87d
Make all memory functions have weak linkage so that they can be overridden with
...
custom memory-management implementations (e.g., bash).
llvm-svn: 10478
2003-12-15 22:32:50 +00:00
John Criswell
895dd78652
Removed the pthread_once() function because it doesn't actually do
...
what it's supposed to do.
Just leave this library as a dummy library for now until we have time to
port a real pthread library (or get glibc working).
llvm-svn: 10368
2003-12-10 15:43:07 +00:00
John Criswell
d073529d65
Dummy implementation of the pthread library.
...
This is needed since libstdc++ uses pthread_once().
llvm-svn: 10360
2003-12-10 14:46:36 +00:00
Chris Lattner
254c586cf6
Simplify makefiles by just explicitly listing directories
...
llvm-svn: 10324
2003-12-08 20:12:46 +00:00
John Criswell
ffbffee282
Fixed the dynamic generation of the list of subdirectories to compile.
...
llvm-svn: 10322
2003-12-08 17:52:32 +00:00
Chris Lattner
29b5b60a61
add missing dependency
...
llvm-svn: 10271
2003-11-30 09:22:42 +00:00
Chris Lattner
c535e531cb
Build _lib_crtend.a, not crtend.a
...
llvm-svn: 10260
2003-11-29 10:24:57 +00:00
Chris Lattner
b036d157f0
Don't print out tons of crap
...
llvm-svn: 10259
2003-11-29 10:14:17 +00:00
Chris Lattner
fa330fae28
Rewrite makefile logic to build an archive instead of a .o file. This is
...
intended to address PR142
llvm-svn: 10257
2003-11-29 10:05:30 +00:00
Chris Lattner
5535433ea7
Add readme and spiff up makefile header
...
llvm-svn: 10254
2003-11-29 09:22:53 +00:00
Misha Brukman
284a9660f4
Fixed word order.
...
llvm-svn: 9978
2003-11-13 18:03:11 +00:00
Chris Lattner
f242c51fb0
Totally disable assert, in order to fix PR101
...
llvm-svn: 9818
2003-11-09 00:29:51 +00:00
Chris Lattner
a4c047dacb
Fix wierd problems linking C programs which look for symbols in libstdc++.
...
This was due to the 'assert' macro expanding into a function call on some
platforms which could throw. The C++ compiler then added checks for the
exception specifications in these functions, which pulled in the C++ runtime.
This was bad, and the assertions can never fire (the library is now debugged)
so just remove them.
llvm-svn: 9801
2003-11-08 05:13:40 +00:00
Misha Brukman
8fb7549570
Add dummy content for libgdbm.
...
llvm-svn: 9344
2003-10-21 18:26:07 +00:00
Misha Brukman
eeb15a5451
Fix libm's name to be `libm'
...
llvm-svn: 9343
2003-10-21 18:25:37 +00:00
Misha Brukman
039d285e63
Fix library name and fix line to fit within 80 columns.
...
llvm-svn: 9342
2003-10-21 18:22:34 +00:00
Chris Lattner
10beed4236
Fix strcpy implementation and trie
...
llvm-svn: 9338
2003-10-21 17:53:16 +00:00
John Criswell
a8dfda0513
Added LLVM copyright to Makefiles.
...
llvm-svn: 9314
2003-10-20 22:29:16 +00:00
John Criswell
1cee7eb4a6
Adding additional license information to these files.
...
llvm-svn: 9102
2003-10-13 20:34:27 +00:00
Chris Lattner
58fc2b3a5b
Actually pass in a pointer to the thrown object, not a pointer to the
...
exception header. This is the final missing piece from the PR#27 puzzle.
llvm-svn: 9043
2003-10-10 22:55:55 +00:00
Brian Gaeke
e5249bf429
Include <cstdio> instead of <stdio.h>.
...
llvm-svn: 9032
2003-10-10 18:46:52 +00:00
Misha Brukman
868eac95dd
Fix spelling.
...
llvm-svn: 9027
2003-10-10 17:57:28 +00:00
Chris Lattner
d29fa02415
Fix building outside the srcdir, again
...
llvm-svn: 8543
2003-09-15 19:22:36 +00:00
Chris Lattner
ee0d887088
Fix building into a different obj directory
...
llvm-svn: 8542
2003-09-15 19:20:11 +00:00
Chris Lattner
ac363f45dc
Whoops, remove makefile too
...
llvm-svn: 8533
2003-09-15 15:07:37 +00:00
Chris Lattner
d530c260fb
Remove dead library, it is now folded into crtend
...
llvm-svn: 8532
2003-09-15 15:07:22 +00:00
Chris Lattner
6c76d63f28
Move the exception handling runtime stuff into this directory
...
llvm-svn: 8530
2003-09-15 15:06:39 +00:00
Chris Lattner
114046d270
Urg, forgot to add a file header somehow.
...
Add missing function comments
llvm-svn: 8236
2003-08-30 23:31:08 +00:00
Chris Lattner
be8e6ccec2
initial checkin of SJLJ exception handling runtime
...
llvm-svn: 8235
2003-08-30 23:29:22 +00:00
Chris Lattner
b1af6c0f6e
Rename LongJmpException -> SJLJException
...
llvm-svn: 8234
2003-08-30 23:29:08 +00:00
Chris Lattner
3779c373ca
we don't need this here
...
llvm-svn: 8233
2003-08-30 23:18:07 +00:00
Chris Lattner
7ad1509544
Move language independent exception handling routines OUT of C++Exception.cpp
...
llvm-svn: 8232
2003-08-30 23:17:51 +00:00
Chris Lattner
b8e5e8d0cb
File was renamed
...
llvm-svn: 8231
2003-08-30 22:48:16 +00:00
Chris Lattner
31c73f0155
Rename files to be capitalized now that they are C++
...
llvm-svn: 8230
2003-08-30 22:47:59 +00:00
Chris Lattner
53dc86cf3f
Initial checkin of the SJLJ EH interface
...
llvm-svn: 8229
2003-08-30 22:36:52 +00:00
Misha Brukman
3a2120f3c3
Added a dummy version of libcurses.
...
llvm-svn: 8222
2003-08-29 18:13:52 +00:00
Misha Brukman
2149ea7e72
Added dummy termcap library.
...
llvm-svn: 8221
2003-08-29 18:09:46 +00:00
Chris Lattner
2e81f1ee04
* Add proper support for rethrown exceptions.
...
* Make catch_begin() produce a pointer that must be passed to catch_end()
* Eliminate the caught exception stack.
* Add optional debugging code that may be turned on.
llvm-svn: 8184
2003-08-28 19:58:51 +00:00
Chris Lattner
33bd46671e
Convert C comments to C++
...
llvm-svn: 8172
2003-08-28 14:43:36 +00:00
Chris Lattner
60a688a8bb
New wrapper around the terminate call.
...
llvm-svn: 8171
2003-08-28 14:35:52 +00:00
Chris Lattner
f2600ee2da
Squelch warning
...
llvm-svn: 8170
2003-08-28 14:35:12 +00:00
Chris Lattner
0177746b4a
Be more typesafe
...
Call terminate and unexpected where appropriate.
Interface to libstdc++ as appropriate
Initial cut at implementing function exception specifications
llvm-svn: 8169
2003-08-27 23:00:11 +00:00