Evan Cheng
1fc1ed55c4
Optimizing to calloc() to malloc() + memset() can be bad on some platforms.
...
llvm-svn: 26732
2006-03-13 21:22:43 +00:00
Chris Lattner
d3fb9d9d08
Make the new and old front-ends more similar: now neither uses __main.
...
llvm-svn: 26629
2006-03-09 06:16:28 +00:00
Chris Lattner
c97d0d1f21
fix make install/uninstall of libcrtend.
...
llvm-svn: 25796
2006-01-30 02:03:56 +00:00
Chris Lattner
eb5e553719
Remove out of date comment
...
llvm-svn: 25705
2006-01-27 22:06:50 +00:00
Chris Lattner
6a3f08a312
Remove the only use of FAKE_SOURCES
...
llvm-svn: 25704
2006-01-27 22:06:23 +00:00
John Criswell
6992d365bf
Add the remove() function from the C library.
...
llvm-svn: 24498
2005-11-28 15:49:15 +00:00
Chris Lattner
213cd5c12b
This was never updated for the project makefile changes
...
llvm-svn: 23790
2005-10-18 18:50:26 +00:00
Misha Brukman
53e199440e
Remove trailing whitespace
...
llvm-svn: 21427
2005-04-21 23:48:37 +00:00
Misha Brukman
934b3ca2f5
Fix grammar
...
llvm-svn: 20789
2005-03-23 21:14:33 +00:00
Chris Lattner
dd2419276c
Remove dead directories
...
llvm-svn: 19262
2005-01-02 22:55:16 +00:00
Chris Lattner
70d2c65415
This lib is dead
...
llvm-svn: 19261
2005-01-02 22:53:52 +00:00
Chris Lattner
80e1708bca
Remove a bunch of useless empty libraries
...
llvm-svn: 19260
2005-01-02 22:52:28 +00:00
Chris Lattner
5d508e2ced
This is no longer needed.
...
llvm-svn: 19259
2005-01-02 22:50:00 +00:00
Reid Spencer
abfa1798be
For PR432:
...
* Variable name change: cferuntime_libdir -> CFERuntimeLibDir
llvm-svn: 19096
2004-12-22 05:57:33 +00:00
Reid Spencer
cd492e3dfc
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.
llvm-svn: 18882
2004-12-13 07:40:50 +00:00
Reid Spencer
8f27c45a7a
Remove useless -L switch now that gccld -link-as-library bug is fixed.
...
llvm-svn: 18613
2004-12-08 04:22:47 +00:00
Reid Spencer
340229703b
Make use of the LLVMGCCStdCXXLibDir variable to link objects
...
llvm-svn: 18548
2004-12-05 19:15:06 +00:00
Reid Spencer
3a48594cec
Use the FAKE_SOURCES feature for proper distribution of contents
...
llvm-svn: 18506
2004-12-04 22:34:33 +00:00
Reid Spencer
62d6f8d10d
Standardize the makefiles with space around = to match the rest of LLVM.
...
llvm-svn: 18429
2004-12-02 09:58:09 +00:00
Reid Spencer
66100cfb51
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.
llvm-svn: 18427
2004-12-02 09:31:40 +00:00
Reid Spencer
5c84750d29
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.
llvm-svn: 18426
2004-12-02 09:29:49 +00:00
Reid Spencer
48f603532a
Use llvm-ar not ar for constructing archive. Wrap at 80 cols.
...
llvm-svn: 17784
2004-11-14 22:13:13 +00:00
Reid Spencer
acb1305e99
Internalize variable names to prevent recursive assignment. Cleanup docs.
...
llvm-svn: 17359
2004-10-30 09:19:36 +00:00
Reid Spencer
b82ecf9d2c
* Make the libcrtend.a installation depend on the bytecode-libs directory
...
* Conform output to standard.
llvm-svn: 17267
2004-10-26 21:30:31 +00:00
Reid Spencer
6130e563e5
Add the export symbols list files as extra distribution files.
...
llvm-svn: 17246
2004-10-26 07:02:58 +00:00
Reid Spencer
019621a1ea
Adjust to changes in Makefile.rules
...
llvm-svn: 17167
2004-10-22 21:02:08 +00:00
Reid Spencer
e48ba34fd4
We won't use automake
...
llvm-svn: 17155
2004-10-22 03:35:04 +00:00
Reid Spencer
ce514b1c2c
Initial automake generated Makefile template
...
llvm-svn: 17136
2004-10-18 23:55:41 +00:00
Reid Spencer
8c10b29823
Add missing targets for install/clean
...
llvm-svn: 17090
2004-10-17 15:01:59 +00:00
Reid Spencer
fabc2ac2b6
Initial Makefile.am for building with automake
...
llvm-svn: 17073
2004-10-17 00:24:24 +00:00
Reid Spencer
56f93e24a5
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.
llvm-svn: 17071
2004-10-17 00:17:54 +00:00
Chris Lattner
6211fd3b08
Don't call memset if malloc returns a null pointer
...
llvm-svn: 16797
2004-10-06 23:08:03 +00:00
Misha Brukman
64e8914d46
Shorten comment header to 80 cols
...
llvm-svn: 15590
2004-08-09 20:13:14 +00:00
Misha Brukman
f89455f72a
Remove Chris-related bytecode-dir comment
...
llvm-svn: 15587
2004-08-09 19:51:49 +00:00
Chris Lattner
b45f75c674
This file is obsolete
...
llvm-svn: 15521
2004-08-05 17:45:32 +00:00
Chris Lattner
c1830c50ec
C++ support does not live in the C runtime any longer
...
llvm-svn: 15515
2004-08-05 02:28:17 +00:00
Chris Lattner
dd605927d9
Two files are moved to libstdc++, and a NOTE gets added
...
llvm-svn: 15514
2004-08-05 02:27:28 +00:00
Chris Lattner
472637ce3a
Add missing copyrights
...
llvm-svn: 15513
2004-08-05 00:20:51 +00:00
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