Skip to content

Commit c3ec0f7

Browse files
author
petarj
committed
mips: update README.mips and NEWS for 3.9
Minor update to README.mips and NEWS section to state that MIPS64 support is new in 3.9, as well as support for MIPS DSP ASE on MIPS32. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13661 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 parent b5ce1fe commit c3ec0f7

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

NEWS

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ Release 3.9.0 (?? ?????? 201?)
33

44
* ================== PLATFORM CHANGES =================
55

6-
mips64-linux support
6+
* Support for MIPS64 LE and BE running Linux. Valgrind has been tested
7+
on MIPS64 Debian Squeeze and Debian Wheezy distributions.
8+
9+
* Support for MIPS DSP ASE on MIPS32 platforms.
710

811
Support for s390x Decimal Floating Point instructions on hosts that
912
have the DFP facility installed.

README.mips

+13-10
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11

22
Supported platforms
33
-------------------
4-
- MIPS32 and MIPS32r2 platforms are currently supported.
4+
- MIPS32 and MIPS64 platforms are currently supported.
55
- Both little-endian and big-endian cores are supported.
6+
- MIPS DSP ASE on MIPS32 platforms is supported.
67

78

89
Building V for MIPS
@@ -11,8 +12,9 @@ Building V for MIPS
1112
expects that native GCC is configured correctly and optimized for the platform.
1213
Yet, this may not be the case with some Debian distributions which configure
1314
GCC to compile to "mips1" by default. Depending on a target platform, using
14-
CFLAGS="-mips32r2" or CFLAGS="-mips32" will do the trick and compile Valgrind
15-
correctly.
15+
CFLAGS="-mips32r2", CFLAGS="-mips32" or CFLAGS="-mips64" or
16+
CFLAGS="-mips64 -mabi=64" will do the trick and compile Valgrind correctly.
17+
1618
- Use of cross-toolchain is supported as well.
1719
- Example of configure line and additional configure options:
1820

@@ -35,17 +37,18 @@ correctly.
3537
* --build=mips-linux is needed if you want to build it for MIPS32 on 64-bit
3638
MIPS system.
3739

38-
* If you are compiling Valgrind with gcc version older then gcc (GCC) 4.5.1
39-
you must specify CFLAGS="-mips32r2 -mplt", e.g.
40+
* If you are compiling Valgrind for mips32 with gcc version older then
41+
gcc (GCC) 4.5.1, you must specify CFLAGS="-mips32r2 -mplt", e.g.
42+
4043
./configure --prefix=<path_to_install_directory>
4144
CFLAGS="-mips32r2 -mplt"
4245

4346

4447
Limitations
4548
-----------
46-
- Currently, memcheck, massif, lackey, callgrind and none are supported.
47-
- Support for helgrind, drd and exp-ptrcheck is still incomplete.
48-
- Some Valgrind tests for MIPS expect mips32r2 architecture and will not
49-
compile when target is one of the older instruction sets.
49+
- Some gdb tests will fail when gdb (GDB) older than 7.5 is used and gdb is
50+
not compiled with '--with-expat=yes'.
51+
- You can not compile tests for DSP ASE if you are using gcc (GCC) older
52+
then 4.6.1 due to a bug in the toolchain.
5053
- Older GCC may have issues with some inline assembly blocks. Get a toolchain
51-
based on newer GCC versions, if possible.
54+
based on newer GCC versions, if possible.

0 commit comments

Comments
 (0)