Commit Graph

300 Commits

Author SHA1 Message Date
Duncan Sands fde556745b Remove host endianness info from TargetData and
put it in a new header System/Host.h instead.
Instead of getting the endianness from configure,
calculate it directly.

llvm-svn: 44959
2007-12-12 23:03:45 +00:00
Duncan Sands 5c65cb4633 Fix PR1836: in the interpreter, read and write apints
using the minimum possible number of bytes.  For little
endian targets run on little endian machines, apints are
stored in memory from LSB to MSB as before.  For big endian
targets on big endian machines they are stored from MSB to
LSB which wasn't always the case before (if the target and
host endianness doesn't match values are stored according
to the host's endianness).  Doing this requires knowing the
endianness of the host, which is determined when configuring -
thanks go to Anton for this.  Only having access to little
endian machines I was unable to properly test the big endian
part, which is also the most complicated...

llvm-svn: 44796
2007-12-10 17:43:13 +00:00
Scott Michel 7c56a522af Regenerated configure after autoconf/configure.ac change.
llvm-svn: 44628
2007-12-05 21:24:02 +00:00
Devang Patel e9d786e54d Add --with-llvmgcc= and --with-llvmgxx= configure options.
llvm-svn: 44586
2007-12-04 22:54:47 +00:00
Eric Christopher e62b441b51 Add target triple to include/llvm/Config/config.h.in. Regenerate all files.
llvm-svn: 44478
2007-12-01 00:34:39 +00:00
Gordon Henriksen 80f35e0d4c Regenerate.
llvm-svn: 42575
2007-10-03 12:07:14 +00:00
Gordon Henriksen da5d5b57bf Regenerate.
llvm-svn: 42533
2007-10-02 16:42:22 +00:00
Gordon Henriksen acc2a838fa Regenerate.
llvm-svn: 42529
2007-10-02 10:14:42 +00:00
Gordon Henriksen e61dd67a2b Regenerate.
llvm-svn: 42527
2007-10-02 09:50:32 +00:00
Gordon Henriksen 2717f3bd60 Regenerate.
llvm-svn: 42461
2007-09-29 00:42:56 +00:00
Gordon Henriksen 6ab5c57663 Regenerate.
llvm-svn: 42241
2007-09-22 21:36:59 +00:00
Gordon Henriksen d1e1645a4e Regenerate.
llvm-svn: 42164
2007-09-20 16:48:18 +00:00
Gordon Henriksen 4c7ca7d61e Regenerate.
llvm-svn: 42092
2007-09-18 12:27:13 +00:00
Tanya Lattner 613ccacb49 Fix broken default help strings for enable-shared, enable-static, and enable-fast-install. Regenerate configure script.
llvm-svn: 42066
2007-09-17 21:41:15 +00:00
Tanya Lattner 36a6fcd327 Change to 2.2svn.
llvm-svn: 41941
2007-09-14 01:24:13 +00:00
Tanya Lattner bca16c80ed Updating configure script to enable MIPS.
llvm-svn: 41568
2007-08-29 16:38:16 +00:00
Reid Spencer b813556f35 Regenerate.
llvm-svn: 41138
2007-08-17 05:45:26 +00:00
Reid Spencer 32046f7b05 Regenerate for __dso_handle, per Anton's request.
llvm-svn: 40601
2007-07-30 20:13:24 +00:00
Andrew Lenharth 7c14110757 support poolalloc as checked out from svn
llvm-svn: 39983
2007-07-17 20:37:35 +00:00
Reid Spencer df523644c9 Regenerate to pick up Gabor's changes.
llvm-svn: 39802
2007-07-13 10:05:30 +00:00
Reid Spencer 5613721c96 Regenerate.
llvm-svn: 38444
2007-07-09 08:10:07 +00:00
Anton Korobeynikov 510dfdaa0d Revert last change until issue reported by Owen, won't be fixed.
llvm-svn: 37854
2007-07-03 17:16:46 +00:00
Anton Korobeynikov 76f70dc838 Rename llvm-test => test-suite. By Dave Greene.
llvm-svn: 37852
2007-07-03 17:01:58 +00:00
David Greene cbc8ddf81a Add support for building with _GLIBCXX_DEBUG. New configure option
--enable-expensive-checks allows the developer to enable runtime
checking that can greatly increase compile time.  Currently it only
turns on _GLIBCXX_DEBUG.  Other expensive debugging checks added later
should be controlled by this configure option.

This patch also updates llvm-config with a --cppflags option to inform
llvm-gcc how to build itself so that it is compatible with an llvm that
was built with _GLIBCXX_DEBUG.

llvm-svn: 37777
2007-06-28 19:36:08 +00:00
Reid Spencer 184a2c5a67 Regenerate.
llvm-svn: 37166
2007-05-17 18:11:03 +00:00
Tanya Lattner 2357362805 Bumping cvs version number
llvm-svn: 36922
2007-05-08 04:32:07 +00:00
Reid Spencer 70d59be2d3 Regenerate for detection of llvm-gcc supported languages
llvm-svn: 36320
2007-04-21 21:28:52 +00:00
Reid Spencer 28d3e72a07 Hopefully fix LTDL_SHLIB_EXT on Darwin
llvm-svn: 35872
2007-04-11 00:27:39 +00:00
Reid Spencer 3b40d3887b Regenerate.
llvm-svn: 35596
2007-04-02 15:41:39 +00:00
Reid Spencer 908f777886 Regenerate for PR1283 fix.
llvm-svn: 35452
2007-03-29 15:38:33 +00:00
Anton Korobeynikov aa3090d815 Let the new backend begin!
llvm-svn: 35242
2007-03-21 21:38:25 +00:00
Reid Spencer edd2ccc313 Regenerate for getrlimit/setrlimit.
llvm-svn: 34350
2007-02-16 19:17:20 +00:00
Reid Spencer b508b459ca Regenerate.
llvm-svn: 33422
2007-01-21 06:42:03 +00:00
Reid Spencer d7c8b3c105 For PR1128:
Regenerate for ARM support.

llvm-svn: 33419
2007-01-21 06:32:59 +00:00
Reid Spencer dca38eec0d For PR808:
Regenerate to include NetBSD.

llvm-svn: 33407
2007-01-20 20:45:39 +00:00
Reid Spencer dfda061686 Regenerate for Anton Korobeynikov.
llvm-svn: 33392
2007-01-20 07:48:49 +00:00
Reid Spencer e5f3de3896 Add the check for udis86 to support disassembly.
Regenerated for Anton Korobeynikov.

llvm-svn: 33360
2007-01-19 17:41:47 +00:00
Reid Spencer b4e0f9b52e For PR1074:
Adjust configuration for Stacker's new name: llvm-stacker.

llvm-svn: 33277
2007-01-17 02:14:46 +00:00
Jeff Cohen c5e5b27573 '==' is not a legal test operator on BSD. Use '='.
llvm-svn: 33126
2007-01-12 18:22:38 +00:00
Reid Spencer b68935a947 Add a new variable, LLVMGCCLIBEXEC to get the libexec directory where the
cc1 and cc1plus executables live.

llvm-svn: 32738
2006-12-21 22:55:41 +00:00
Reid Spencer 05a1fe5bf5 Allow an --enable-pic option to turn on -fPIC compiler option when building.
The default is disabled until we know this doesn't break anyone.

llvm-svn: 32635
2006-12-16 22:07:52 +00:00
Reid Spencer 4372571d3d Regenerate.
llvm-svn: 32416
2006-12-10 23:29:19 +00:00
Reid Spencer 196d517667 Regenerate.
llvm-svn: 32350
2006-12-08 05:06:28 +00:00
Reid Spencer d43999259b For PR1019:
Add HAVE_PTHREAD to makefiles with support from configure and use it to
determine whether to build examples/ParallelJIT.
Patch by Anton Korobeynikov.

llvm-svn: 32054
2006-12-01 00:37:14 +00:00
Reid Spencer 4b8067f37b Undo removal of the runtime libraries. While this may have been a bit
premature, these libraries will be going away for the 2.0 release. Other
arrangements for profiling, gc, etc. should be made in the next few months.

llvm-svn: 31807
2006-11-17 03:32:33 +00:00
Reid Spencer 3f97d03f86 In LLVM 2.0 we won't use the runtime libraries as llvm-gcc3 support will
be dropped. This patch pertains to removing the runtime directory from LLVM.

llvm-svn: 31793
2006-11-16 23:17:27 +00:00
Tanya Lattner 9ce0379da2 Updating configure script for 2.0
llvm-svn: 31715
2006-11-14 00:59:52 +00:00
Reid Spencer d549edc2cc Add a -disable-cbe-printf-a option so that the output of the C Backend
stands a chance of being compiled with a non C99 C compiler. The default
is enabled so you must specifically disable this feature if you want the
CBE output compiled with an older C compiler.

llvm-svn: 31461
2006-11-05 17:08:18 +00:00
Reid Spencer 7b7ab9c59a Make the huge_val test run a C++ program not C
llvm-svn: 31422
2006-11-03 19:49:16 +00:00
Reid Spencer 128ae10611 Add a check to see if HUGE_VAL is sane or not.
llvm-svn: 31416
2006-11-03 18:04:08 +00:00