]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
2006-01-11 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Thu, 12 Jan 2006 03:34:38 +0000 (03:34 +0000)
committerRoland McGrath <roland@redhat.com>
Thu, 12 Jan 2006 03:34:38 +0000 (03:34 +0000)
* testfile26.bz2: New data file.
* testfile27.bz2: New data file.
* Makefile.am (EXTRA_DIST): Add them.
* run-allregs.sh: Test s390 data.

backends/s390_regs.c
tests/ChangeLog
tests/Makefile.am
tests/run-allregs.sh
tests/testfile26.bz2 [new file with mode: 0644]
tests/testfile27.bz2 [new file with mode: 0644]

index a0133e48c945f9823828e9910e0e467584c0a6c0..145d1cdc44c1608890323bdd54a0179dc9fb771a 100644 (file)
@@ -55,9 +55,9 @@ s390_register_name (Ebl *ebl __attribute__ ((unused)),
   else if (regno < 32)
     *setname = "FPU";
   else if (regno < 48 || regno > 63)
-    *setname = "control";      /* XXX ? */
+    *setname = "control";
   else
-    *setname = "address";      /* XXX ? */
+    *setname = "access";
 
   switch (regno)
     {
index 2b51b5c23dedd4cb10308a11c42d8f831800ba26..7ea768be2b82506840c942f2f92c420610f316ab 100644 (file)
@@ -1,3 +1,10 @@
+2006-01-11  Roland McGrath  <roland@redhat.com>
+
+       * testfile26.bz2: New data file.
+       * testfile27.bz2: New data file.
+       * Makefile.am (EXTRA_DIST): Add them.
+       * run-allregs.sh: Test s390 data.
+
 2005-12-14  Roland McGrath  <roland@redhat.com>
 
        * run-native-test.sh: Redirect output from native test process.
index dbd684708e8194515d69d83689c712a6513b380b..d121dea64be949a4cfcf7466ffdb5d2a0872b7ee 100644 (file)
@@ -1,6 +1,6 @@
 ## Process this file with automake to create Makefile.in
 ##
-## Copyright (C) 1996-2002, 2003, 2004, 2005 Red Hat, Inc.
+## Copyright (C) 1996-2002, 2003, 2004, 2005, 2006 Red Hat, Inc.
 ##
 ## This program is Open Source software; you can redistribute it and/or
 ## modify it under the terms of the Open Software License version 1.0 as
@@ -95,6 +95,7 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh \
             testfile20.bz2 testfile20.index.bz2 \
             testfile21.bz2 testfile21.index.bz2 \
             testfile22.bz2 testfile23.bz2 testfile24.bz2 testfile25.bz2 \
+            testfile26.bz2 testfile27.bz2 \
             coverage.sh test-subr.sh test-wrapper.sh run-readelf-test1.sh
 
 installed_TESTS_ENVIRONMENT = libdir=$(DESTDIR)$(libdir) \
index 50f2aaf8ccf2658fa836b1ba3a6bf94ea740a06a..fdaf480e352b81c5e632dda0109970c22b64cfa7 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2005 Red Hat, Inc.
+# Copyright (C) 2005, 2006 Red Hat, Inc.
 #
 # This program is Open Source software; you can redistribute it and/or
 # modify it under the terms of the Open Software License version 1.0 as
@@ -21,7 +21,7 @@ regs_test()
   test_cleanup
 }
 
-regs_test testfile11 <<EOF
+regs_test testfile11 <<\EOF
 integer registers:
          0: %eax (eax)
          1: %ecx (ecx)
@@ -74,7 +74,7 @@ x87 registers:
         18: %st7 (st7)
 EOF
 
-regs_test testfile12 <<EOF
+regs_test testfile12 <<\EOF
 integer registers:
          0: %rax (rax)
          1: %rdx (rdx)
@@ -130,7 +130,7 @@ x87 registers:
         40: %st7 (st7)
 EOF
 
-regs_test testfile2 testfile23 <<EOF
+regs_test testfile2 testfile23 <<\EOF
 integer registers:
          0: r0 (r0)
          1: r1 (r1)
@@ -1152,4 +1152,77 @@ vector registers:
        1155: vr31 (vr31)
 EOF
 
+regs_test testfile26 testfile27 <<\EOF
+integer registers:
+         0: %r0 (r0)
+         1: %r1 (r1)
+         2: %r2 (r2)
+         3: %r3 (r3)
+         4: %r4 (r4)
+         5: %r5 (r5)
+         6: %r6 (r6)
+         7: %r7 (r7)
+         8: %r8 (r8)
+         9: %r9 (r9)
+        10: %r10 (r10)
+        11: %r11 (r11)
+        12: %r12 (r12)
+        13: %r13 (r13)
+        14: %r14 (r14)
+        15: %r15 (r15)
+FPU registers:
+        16: %f0 (f0)
+        17: %f2 (f2)
+        18: %f4 (f4)
+        19: %f6 (f6)
+        20: %f1 (f1)
+        21: %f3 (f3)
+        22: %f5 (f5)
+        23: %f7 (f7)
+        24: %f8 (f8)
+        25: %f10 (f10)
+        26: %f12 (f12)
+        27: %f14 (f14)
+        28: %f9 (f9)
+        29: %f11 (f11)
+        30: %f13 (f13)
+        31: %f15 (f15)
+access registers:
+        48: %a0 (a0)
+        49: %a1 (a1)
+        50: %a2 (a2)
+        51: %a3 (a3)
+        52: %a4 (a4)
+        53: %a5 (a5)
+        54: %a6 (a6)
+        55: %a7 (a7)
+        56: %a8 (a8)
+        57: %a9 (a9)
+        58: %a10 (a10)
+        59: %a11 (a11)
+        60: %a12 (a12)
+        61: %a13 (a13)
+        62: %a14 (a14)
+        63: %a15 (a15)
+control registers:
+        32: %c0 (c0)
+        33: %c1 (c1)
+        34: %c2 (c2)
+        35: %c3 (c3)
+        36: %c4 (c4)
+        37: %c5 (c5)
+        38: %c6 (c6)
+        39: %c7 (c7)
+        40: %c8 (c8)
+        41: %c9 (c9)
+        42: %c10 (c10)
+        43: %c11 (c11)
+        44: %c12 (c12)
+        45: %c13 (c13)
+        46: %c14 (c14)
+        47: %c15 (c15)
+        64: %pswm (pswm)
+        65: %pswa (pswa)
+EOF
+
 exit 0
diff --git a/tests/testfile26.bz2 b/tests/testfile26.bz2
new file mode 100644 (file)
index 0000000..1f86285
Binary files /dev/null and b/tests/testfile26.bz2 differ
diff --git a/tests/testfile27.bz2 b/tests/testfile27.bz2
new file mode 100644 (file)
index 0000000..9d06cd9
Binary files /dev/null and b/tests/testfile27.bz2 differ