11 Commits

Author SHA1 Message Date
Bart Van Assche
76f817a0c5 Replaced -nostdlib by -nodefaultlibs such that constructors are executed at shared library load time. Replaced _init() function in drd_pthread_intercepts.c by a function with a constructor attribute in order to increase portability.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7883
2008-04-16 18:19:45 +00:00
Julian Seward
9bf9f81786 Avoid hundreds of warnings from -Winline on gcc-4.3:
In dump.c, gcc complains that 'param max-stack-frame-growth' would be
exceeded, so remove 'inline' spec.

All other warnings are of the form 'call is unlikely and code size
would grow'.  These aren't interesting.  Remove -Winline.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7164
2007-11-16 12:31:27 +00:00
Julian Seward
9fd225ac18 Back out bogus strict-aliasing hacks and use -fno-strict-aliasing by
default.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7163
2007-11-16 12:02:43 +00:00
Julian Seward
40eb3fba0f Change the baseline optimisation level from -O to -O2.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7162
2007-11-16 10:05:47 +00:00
Julian Seward
713b2d46c0 Merge r6086:
Makefile.am changes for AIX5.  Almost all boilerplate stuff fitting in
with the existing factorisation scheme.  The only change of interest
is that configure.in now generates automake symbols of name
VGP_platform and VGO_os, whereas previously it just made VG_platform
which was a bit inconsistent with the VGP/VGO/VGA scheme used in C
code.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6242
2006-10-17 00:56:43 +00:00
Julian Seward
32f134b8c1 Somewhat rehash the biarch-build machinery so as to (1) formalise the
distinction between primary and secondary build targets, and (2) make
it independent of the default behaviour of gcc (iow, what gcc does
when you specify neither -m32 nor -m64).

As a result, an out-of-the-box build on ppc64-linux now builds a
system which is basically for 64-bit PowerPC, but also has the ability
to run 32-bit ppc-linux binaries (exactly the same arrangement as you
get when building on amd64-linux).

There are various twists and turns.  multiple-architectures.txt is
updated all the gory details.

This will break amd64 builds until such time as
<tool>/tests/{amd64,x86}/Makefile.am are fixed up (shortly).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5493
2006-01-04 01:20:28 +00:00
Julian Seward
8ba9a34088 Add framework for ppc64 support. Apologies in advance for the
inevitable breakage to other platforms.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5250
2005-11-29 13:05:56 +00:00
Tom Hughes
cb0456aa31 Turn on some extra warnings.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5082
2005-11-11 12:30:12 +00:00
Tom Hughes
aa4a74f1a4 Reworked to avoid depending on $(eval) in the make files as only fairly
new GNU make versions seem to have it.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5037
2005-11-08 12:28:35 +00:00
Julian Seward
8667e07a43 ppc32 build fix.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5031
2005-11-07 16:56:27 +00:00
Tom Hughes
b5c033e906 Dual architecture support - this commit is a major rework of the build
system that allows multiple copies of valgrind to be built so that we
can build both x86 and amd64 versions of the tools on amd64 machines.

The launcher is then modified to look at the program being run and
decide which tool to use to run it.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5027
2005-11-07 15:24:38 +00:00