Commit Graph

252 Commits

Author SHA1 Message Date
John Criswell
1981c2e8dc Add the remove() function from the C library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24498 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-28 15:49:15 +00:00
Chris Lattner
a1fa8f1d8a This was never updated for the project makefile changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23790 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-18 18:50:26 +00:00
Chris Lattner
ed069fcf88 This never got updated to reflect the project makefile changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23789 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-18 18:48:30 +00:00
Misha Brukman
fd93908ae8 Remove trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21427 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-21 23:48:37 +00:00
Misha Brukman
b8190e6b30 Fix grammar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20789 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-23 21:14:33 +00:00
Chris Lattner
05dd08fb0a Hrm, who knows what 'uint' is, but it seems to work sometimes? Wierd.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19876 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-28 19:37:35 +00:00
Reid Spencer
41c56c03f7 Turn on LOADABLE_MODULE so that profile.so can be loaded dynamically by
the JIT.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19524 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-13 16:53:05 +00:00
Reid Spencer
1492709177 Re-enable libprofile now that llvm-ar is working better.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19523 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-13 16:51:19 +00:00
Chris Lattner
709b274244 Remove dead directories
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19262 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-02 22:55:16 +00:00
Chris Lattner
488370ca00 This lib is dead
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19261 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-02 22:53:52 +00:00
Chris Lattner
2500e10263 Remove a bunch of useless empty libraries
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19260 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-02 22:52:28 +00:00
Chris Lattner
7ff1ca4cd0 This is no longer needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19259 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-02 22:50:00 +00:00
Reid Spencer
e676067be5 For PR432:
* Variable name change: cferuntime_libdir -> CFERuntimeLibDir


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19096 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 05:57:33 +00:00
Chris Lattner
8378294c68 Disable libprofile as llvm-ar bus errors on it, and I don't want to break
the nightly testers.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18960 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-15 08:15:48 +00:00
Reid Spencer
b8e7df3937 Use the new BYTECODE_DESTINATION to override the default bytecode install
destination for this library so that it goes to $(cferuntime_libdir) rather
than just $(libdir). Normal bytecode libraries should be installed in the
$(libdir), but these ones are "special" because they're part of the the
C/C++ front end.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18882 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-13 07:40:50 +00:00
Reid Spencer
8f4102d33f Remove useless -L switch now that gccld -link-as-library bug is fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18613 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 04:22:47 +00:00
Reid Spencer
8bcd0502a3 Make use of the LLVMGCCStdCXXLibDir variable to link objects
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18548 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 19:15:06 +00:00
Reid Spencer
98880b9d0a Use the FAKE_SOURCES feature for proper distribution of contents
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18506 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04 22:34:33 +00:00
Reid Spencer
010834654a Standardize the makefiles with space around = to match the rest of LLVM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18429 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 09:58:09 +00:00
Reid Spencer
8aa9a8ca98 Standardize the format of the runtime libraries makefiles.
* Don't have lines longer than 80 cols
* Blank line after the header
* Reduce spaces in var definitions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18427 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 09:31:40 +00:00
Reid Spencer
f5b709854f For PR466:
Much of what this Makefile did to make a libcrtend.a file is now supported
by Makefile.rules when BYTECODE_LIBRARY=1 is specified. So, we've
simplified the make rules for building this library.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18426 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 09:29:49 +00:00
Reid Spencer
3298f87c0b Remove this left-over crud from the automake experiment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18424 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 09:23:51 +00:00
Chris Lattner
5abdbdc6b8 Remove zlib from the llvm tarball. This is only used (in theory by povray-31
which is part of llvm-test).  If anyone is interested in adding it to llvm-test,
feel free to go for it.

This is part of PR417


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18277 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 19:18:35 +00:00
Chris Lattner
de09f3e434 Remove zlib from the llvm tarball. This is only used (in theory by povray-31
which is part of llvm-test).  If anyone is interested in adding it to llvm-test,
feel free to go for it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18276 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 19:18:05 +00:00
Chris Lattner
3328965829 libpng is not even used by povray3.1 in the current configuration, just
drop it completely.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17966 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-18 21:21:54 +00:00
Reid Spencer
f5fae0b774 Use llvm-ar not ar for constructing archive. Wrap at 80 cols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17784 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 22:13:13 +00:00
Reid Spencer
cc2d1e25f3 Internalize variable names to prevent recursive assignment. Cleanup docs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17359 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-30 09:19:36 +00:00
Reid Spencer
a4b07c51ea * Make the libcrtend.a installation depend on the bytecode-libs directory
* Conform output to standard.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17267 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-26 21:30:31 +00:00
Reid Spencer
9826173996 Add the export symbols list files as extra distribution files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17246 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-26 07:02:58 +00:00
Reid Spencer
20ac4e3699 Add EXTRA_DIST for additional files to be distributed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17233 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-26 03:12:11 +00:00
Reid Spencer
dbf9409ef1 Remove the clean target.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17185 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23 08:01:27 +00:00
Reid Spencer
40a955ab05 We're not doing automake any more
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17168 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22 21:02:23 +00:00
Reid Spencer
8c2c3152d6 Adjust to changes in Makefile.rules
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17167 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22 21:02:08 +00:00
Reid Spencer
cac731ecbe We won't use automake
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17155 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22 03:35:04 +00:00
Reid Spencer
86d341b204 Initial automake generated Makefile template
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17136 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-18 23:55:41 +00:00
Reid Spencer
1d91accc4b Update to reflect building zlib for LLVM
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17091 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-17 15:02:47 +00:00
Reid Spencer
fa4cf331ed Add missing targets for install/clean
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17090 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-17 15:01:59 +00:00
Reid Spencer
da0a22b7ac Initial Makefile.am for building with automake
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17073 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-17 00:24:24 +00:00
Reid Spencer
aa717415bf Initial Makefile.am for building with automake.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17072 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-17 00:20:42 +00:00
Reid Spencer
2bf0292432 Make sure that for systems where the string functions are actually macros
that we undefine the macro before using its name in the definition. This
can happen on Linux if _GNU_SOURCE is defined.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17071 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-17 00:17:54 +00:00
Chris Lattner
194878fbac Don't call memset if malloc returns a null pointer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16797 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-06 23:08:03 +00:00
Misha Brukman
6f22256a38 Disable libprofile as it breaks the build on Sparc (autoconf issues).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16253 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-08 20:30:26 +00:00
Reid Spencer
40b062fdf8 Clean up some "clean:" targets so they use $(VERB) and don't print anything
by default, like every other "clean" target in LLVM.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16161 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-03 23:19:53 +00:00
Reid Spencer
551ccae044 Changes For Bug 352
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-01 22:55:40 +00:00
Misha Brukman
171b59d2d6 Do not mention Chris in public Makefiles
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15591 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 20:23:44 +00:00
Misha Brukman
bb739ddeff Shorten comment header to 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15590 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 20:13:14 +00:00
Misha Brukman
1757ae991f * Remove UIUC-specific comment
* Make header comment span 80 cols


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15589 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 20:07:44 +00:00
Misha Brukman
a6d8ab3f9d Remove Chris-related bytecode-dir comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15587 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 19:51:49 +00:00
Chris Lattner
42b70f30fb This file is obsolete
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15521 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 17:45:32 +00:00
Chris Lattner
14f7a50a5f C++ support does not live in the C runtime any longer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15515 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 02:28:17 +00:00
Chris Lattner
d4d02bc925 Two files are moved to libstdc++, and a NOTE gets added
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15514 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 02:27:28 +00:00
Chris Lattner
45872bfd83 Add missing copyrights
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15513 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 00:20:51 +00:00
Chris Lattner
93c9587fbb Update GC intrinsics to take a pointer to the object as well as a pointer
to the field being updated.  Patch contributed by Tobias Nurmiranta


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15097 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-22 05:51:13 +00:00
Brian Gaeke
66291f39be Fix warning on 64-bit machines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14902 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-16 21:40:32 +00:00
Chris Lattner
9772629794 Continue the implementation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13818 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-27 05:51:31 +00:00
Chris Lattner
a2f45b2802 A few more microsteps
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13817 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-27 05:51:13 +00:00
Alkis Evlogimenos
86f238230b Eliminate warnings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13704 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-23 23:02:35 +00:00
Chris Lattner
8ad864ab14 Build the garbage collectors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13701 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-23 21:26:29 +00:00
Chris Lattner
e6fd7762c5 Initial checkin of GC implementation support files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13700 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-23 21:25:59 +00:00
Chris Lattner
77ac7baa6d Check in an EARLY START on a simple copying collector
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13698 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-23 21:25:45 +00:00
Brian Gaeke
ada3c4f805 Share the profile info type enum with the C++ analysis libraries.
Add a documentation comment for write_profiling_data().


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13345 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-04 16:51:48 +00:00
Brian Gaeke
9fa49c8906 Constants for profile info type changed names to match the C++ ones.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13344 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-04 16:51:47 +00:00
Brian Gaeke
40114b780b Constants for profile info type changed names to match the C++ ones.
Edited comments.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13343 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-04 16:51:46 +00:00
Brian Gaeke
ca1a6976ba Add initial implementation of basic block tracing runtime
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13339 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-03 23:51:50 +00:00
Brian Gaeke
86329b3fd6 Add basic block tracing functions as exported symbols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13338 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-03 23:49:17 +00:00
Brian Gaeke
273595f907 Add basic block tracing information as a type of "profiling" information.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13337 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-03 23:49:16 +00:00
Misha Brukman
ef2b0db858 Fit comment into 80 cols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12996 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-16 17:13:52 +00:00
Chris Lattner
265c87a6ef Remove libraries that have no reason to be here, and keep breaking the nightly tester because their makefiles do not have the right dependencies!!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12981 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-16 14:12:36 +00:00
Chris Lattner
a990398102 Reenable library now that the loopsimplify bug is fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12891 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-13 16:24:53 +00:00
Chris Lattner
5d98f04ebe Temporary hack to get the nightly tester running
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12886 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-13 13:57:29 +00:00
John Criswell
8130a38321 Merged in RELEASE_12.
This fixes the zlib linking problems.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12531 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-29 20:22:30 +00:00
Chris Lattner
40bdfe5554 Make sure to get the headers from zlib correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12521 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-26 17:04:53 +00:00
Brian Gaeke
63c8cc6dcd Make sure libcrtend.a gets installed when you make install-bytecode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12292 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-11 20:55:23 +00:00
Chris Lattner
127cab2cc7 Add edge profiling support to the runtime library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12227 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-08 18:04:31 +00:00
Chris Lattner
17d3a87cda Build zlib and libpng
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11911 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-27 17:00:29 +00:00
John Criswell
c224efb7a6 Build an archive for use with Povray.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11678 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-20 21:26:46 +00:00
Chris Lattner
3da125839d Add a simple implementation of strncpy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11672 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-20 20:15:47 +00:00
Chris Lattner
a8032090aa Add strndup
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11638 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-19 21:44:41 +00:00
Chris Lattner
3c5df2612c Since tail duplication is currently neutered, we have to help the optimizer to remove the overhead of __main
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11561 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-17 18:45:06 +00:00
Chris Lattner
f472935caf Make sure to copy the null terminator at the end of the argv list. Some
programs use it instead of argc.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11270 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-10 19:14:44 +00:00
Chris Lattner
ebd02a8cfa Allow the program to take a '-llvmprof-output filename' option to specify
where to output the profiling data, if llvmprof.out is not good enough.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11264 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-10 18:01:00 +00:00
Chris Lattner
affce4fd93 Make the initialization calls return argc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11261 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-10 17:36:25 +00:00
John Criswell
a6859b4715 Initial checking of the libpng library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11149 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-06 16:37:53 +00:00
John Criswell
2a9d717444 Initial checking of the zlib library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11148 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-06 16:36:42 +00:00
Brian Gaeke
3b9f445c13 Clean out DESTLIBBYTECODE when making clean in runtime.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11119 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-04 21:40:49 +00:00
Brian Gaeke
796960e461 Add DESTDIR support for installing. Use (and depend on) $(bytecode_libdir).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10947 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-21 23:57:46 +00:00
Brian Gaeke
9715fcd841 Clarify comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10898 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-16 21:13:10 +00:00
Chris Lattner
86f3dda18b Add support for people calling main recursively
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10535 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-19 07:51:46 +00:00
John Criswell
d000e1dc2f Merged in RELEASE_11.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10516 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-18 16:43:17 +00:00
Misha Brukman
b49fa616d4 Disable __attribute__((weak)) on Mac OS X and other lame platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10489 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-16 22:57:30 +00:00
Misha Brukman
a5df0cdbe2 Make all memory functions have weak linkage so that they can be overridden with
custom memory-management implementations (e.g., bash).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10478 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-15 22:32:50 +00:00
John Criswell
5be28c59c6 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).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10368 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-10 15:43:07 +00:00
John Criswell
61eae03b44 Dummy implementation of the pthread library.
This is needed since libstdc++ uses pthread_once().


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10360 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-10 14:46:36 +00:00
Chris Lattner
b5da7465b7 Simplify makefiles by just explicitly listing directories
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10324 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-08 20:12:46 +00:00
John Criswell
ea0ac1fbb3 Fixed the dynamic generation of the list of subdirectories to compile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10322 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-08 17:52:32 +00:00
Chris Lattner
9ca419e577 add missing dependency
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10271 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-30 09:22:42 +00:00
Chris Lattner
f168b7551c Build _lib_crtend.a, not crtend.a
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10260 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-29 10:24:57 +00:00
Chris Lattner
53005b00be Don't print out tons of crap
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10259 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-29 10:14:17 +00:00
Chris Lattner
ef1835df7b Rewrite makefile logic to build an archive instead of a .o file. This is
intended to address PR142


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10257 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-29 10:05:30 +00:00
Chris Lattner
e893d649fa Add readme and spiff up makefile header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10254 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-29 09:22:53 +00:00