Nicholas Nethercote
70a543e5a1
Arch-abstraction:
...
- move some asm things into x86/
- also added a check at the start of init_tt_tc() to make sure that
VG_CODE_OFFSET is correct.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2846
2004-10-26 11:18:32 +00:00
Nicholas Nethercote
171c23bcc2
64-bit cleanness tweaks.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2845
2004-10-26 10:57:24 +00:00
Nicholas Nethercote
7f75d054d1
Comment fix only
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2844
2004-10-26 10:19:30 +00:00
Nicholas Nethercote
4dd0792907
Arch-abstraction:
...
- removed some x86-specific var/function names
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2843
2004-10-26 09:59:49 +00:00
Nicholas Nethercote
e3c2b6d145
Arch-abstraction:
...
- use less x86-specific var names
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2842
2004-10-25 20:44:09 +00:00
Nicholas Nethercote
6bd10a4f02
comment wibbles
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2841
2004-10-25 20:43:14 +00:00
Nicholas Nethercote
6977665bc5
comment wibbles
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2840
2004-10-25 20:21:47 +00:00
Nicholas Nethercote
6ff3d742f9
Avoid strange warnings about dereferencing type-punned pointers that occurs
...
with GCC 3.3+.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2839
2004-10-25 19:46:07 +00:00
Nicholas Nethercote
7627b3fcbe
tweak
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2838
2004-10-25 19:33:26 +00:00
Nicholas Nethercote
0a36260ff0
Arch-abstraction:
...
- factor out varying ASM flags
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2837
2004-10-25 19:20:14 +00:00
Nicholas Nethercote
90c4861e79
Revert last commit because stupid older versions (eg. 1.6.3) of automake can't
...
handle it. Pah.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2836
2004-10-25 19:13:41 +00:00
Nicholas Nethercote
8afd755e7d
Fix up stage2's dependencies.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2835
2004-10-25 17:59:43 +00:00
Nicholas Nethercote
1c0d2c1dba
whoops
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2834
2004-10-25 17:28:26 +00:00
Nicholas Nethercote
ea8dfa8f34
If PIE (position-independent executables) are supported, build valgrind's
...
stage2 as one. This means that we're not hard-wiring stage2 in at 0xb0000000,
which means our memory layout is a bit more flexible, yay.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2833
2004-10-25 17:18:24 +00:00
Tom Hughes
9c4b27a325
Actually call VGA_(has_tls) rather than just testing the function
...
address - this replaces Nick's replacing of the has_tls call with
an inline version.
BUG: 91844
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2832
2004-10-25 16:59:46 +00:00
Nicholas Nethercote
55a94d4aee
Rename two params named 'syscall' as 'syscallname' to avoid clashes with a new
...
name in recent headers.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2831
2004-10-25 15:43:21 +00:00
Nicholas Nethercote
a758e7e77b
Don't bother with -fomit-frame-pointer for the demangler.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2830
2004-10-25 15:32:09 +00:00
Nicholas Nethercote
8d5541b229
Arch-abstraction:
...
- factor out different CFLAGS in Makefiles
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2829
2004-10-25 15:21:00 +00:00
Nicholas Nethercote
d611af0e22
Arch-abstraction:
...
- factor out KICKSTART_BASE
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2828
2004-10-25 14:05:56 +00:00
Nicholas Nethercote
e0794e279c
Fix for 91844...
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2827
2004-10-25 11:25:22 +00:00
Nicholas Nethercote
ac36b57353
Fix "make check" for when src_dir != build_dir
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2826
2004-10-21 14:07:58 +00:00
Nicholas Nethercote
d343add11a
Build vg_replace_malloc.c into a library, because it makes the Makefiles a bit
...
neater. Also remove some dodgy CFLAGS+= lines.
I had to change the expected output of pth_once.c, because the change has
altered the order of the (non-deterministic) output.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2825
2004-10-20 18:40:40 +00:00
Nicholas Nethercote
50980af357
Fix typo, courtesy of Aleksander Salwa.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2823
2004-10-20 14:22:58 +00:00
Nicholas Nethercote
26e657b4df
Make tests that cause coredumps remove them. Don't need the core entries in
...
.cvsignore any more as a result.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2822
2004-10-20 13:33:07 +00:00
Nicholas Nethercote
fb447e7be6
Arch-abstraction:
...
- conditionally compile x86-specific line within yield.c.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2821
2004-10-20 13:21:54 +00:00
Nicholas Nethercote
9ec6f17bea
whoops
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2820
2004-10-20 13:02:21 +00:00
Nicholas Nethercote
c870659354
Arch-abstraction:
...
- Factor out remaining x86-specific regtests in none/ into an x86/ subdir.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2819
2004-10-20 12:36:47 +00:00
Tom Hughes
a3c298ae30
When nuking threads we set their status to VgTs_Empty. This patch
...
ensures that any associated mutex and conditional variable pointers
are also cleared so that the thread state appears sane.
BUG: 91599
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2818
2004-10-20 12:25:59 +00:00
Nicholas Nethercote
41897a01a9
Arch-abstraction:
...
- move remaining x86-specific Memcheck tests into an x86/ subdir.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2817
2004-10-20 11:43:01 +00:00
Nicholas Nethercote
e281e6cb91
Arch-abstraction:
...
- Abstractify one remaining mention of the stack pointer.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2816
2004-10-20 11:05:34 +00:00
Nicholas Nethercote
d1f87f21f0
Arch-abstraction:
...
- Make Helgrind totally arch-agnostic.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2815
2004-10-20 10:58:09 +00:00
Nicholas Nethercote
8631ca6099
Arch-abstraction:
...
- Make Lackey talk about "machine instructions" rather than "x86 instructions".
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2814
2004-10-20 10:37:00 +00:00
Nicholas Nethercote
08b1be646a
as_shm wasn't being included in 'make dist'.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2813
2004-10-19 19:39:59 +00:00
Nicholas Nethercote
eda1de342d
Arch-abstraction:
...
- final fix for insn_* test moving; they now work correctly
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2812
2004-10-19 19:39:39 +00:00
Nicholas Nethercote
cce964074d
Arch-abstraction:
...
- Forgot to move the insn_*.def files when moving the insn_* tests.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2811
2004-10-19 19:12:21 +00:00
Nicholas Nethercote
78b8e2c67f
Arch-abstraction:
...
- things I forgot to do when moving the insn_* tests...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2810
2004-10-19 19:07:32 +00:00
Nicholas Nethercote
66adb12133
Arch-abstraction:
...
- Moved all the insn_* tests into x86/ subdirectories. What are the chances of
me getting this right on the first attempt?
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2809
2004-10-19 18:54:11 +00:00
Nicholas Nethercote
e9bf009719
readability fiddle
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2808
2004-10-19 17:54:02 +00:00
Nicholas Nethercote
e2f30c46bc
Forgot to cvs remove this when I moved it to x86/.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2807
2004-10-19 17:49:39 +00:00
Nicholas Nethercote
102a2ee374
Update
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2806
2004-10-19 17:30:47 +00:00
Nicholas Nethercote
eaa7a649e8
Whoops, forgot this file.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2805
2004-10-19 17:30:25 +00:00
Nicholas Nethercote
03517b9c00
Arch-abstraction:
...
- Move x86-specific regtests for Cachegrind into an x86/ subdir.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2804
2004-10-19 17:00:59 +00:00
Nicholas Nethercote
f1f1e2ffe3
Arch-abstraction:
...
- Change regtest script to print a message if a test is skipped due to the cpu
being of the wrong type.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2803
2004-10-19 16:56:41 +00:00
Nicholas Nethercote
f4d320e3c4
Arch-abstraction:
...
- Rewrote tests/cputest.c so that it can apply to different kinds of
processors. The idea being that any arch-specific tests have a cpu_test:
label in their .vgtest file, so they'll only get executed if the right
machine is being used.
- Rewrote a bunch of .vgtest files accordingly.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2802
2004-10-19 16:29:30 +00:00
Nicholas Nethercote
61efc22607
Use "ppc" rather than "powerpc" -- it's less typing.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2801
2004-10-19 14:24:42 +00:00
Nicholas Nethercote
3e21a5a1fd
Whoops, syscall.S is platform-specific, and so must go in x86-linux/ rather
...
than x86/.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2800
2004-10-19 14:23:46 +00:00
Nicholas Nethercote
4b44d1df7d
Arch-abstraction:
...
- Moved all assembly files in coregrind/ into coregrind/x86/.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2799
2004-10-19 13:48:06 +00:00
Nicholas Nethercote
266836ab69
Arch-abstraction:
...
- Factored out the remaining arch-specific code from vg_libpthread.c.
- Also fixed up the build process for x86/libpthread.c, which was done
wrongly in the previous commit.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2798
2004-10-19 13:18:00 +00:00
Nicholas Nethercote
7ac2403543
Arch-abstraction:
...
- Started out x86-specific libpthread code; began with spinlocks.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2797
2004-10-19 11:38:48 +00:00
Tom Hughes
e581bc5f41
Really fix statically initialised read-write locks this time...
...
BUG: 91604
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2796
2004-10-18 23:03:24 +00:00