This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Update .strtab section sizes in mmix tests


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4a677ba7249d61afc58b761c997cf1a743279e02

commit 4a677ba7249d61afc58b761c997cf1a743279e02
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Jun 25 10:05:10 2015 -0700

    Update .strtab section sizes in mmix tests
    
    Since commit ef10c3ace00674e8c3599c3bf95f06c87d68898b may reduce .strtab
    section size, we need to adjust expected .strtab section sizes in mmix
    tests.
    
    gas/testsuite/
    
    	* gas/mmix/loc-3.d: Updated.
    	* gas/mmix/loc-5.d: Likewise.
    
    ld/testsuite/
    
    	* ld-mmix/bspec1.d: Updated.
    	* ld-mmix/bspec2.d: Likewise.
    	* ld-mmix/undef-3.d: Likewise.

Diff:
---
 gas/testsuite/ChangeLog        | 5 +++++
 gas/testsuite/gas/mmix/loc-3.d | 2 +-
 gas/testsuite/gas/mmix/loc-5.d | 2 +-
 ld/testsuite/ChangeLog         | 6 ++++++
 ld/testsuite/ld-mmix/bspec1.d  | 2 +-
 ld/testsuite/ld-mmix/bspec2.d  | 2 +-
 ld/testsuite/ld-mmix/undef-3.d | 2 +-
 7 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 9db7535..9430469 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +1,10 @@
 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
 
+	* gas/mmix/loc-3.d: Updated.
+	* gas/mmix/loc-5.d: Likewise.
+
+2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
+
 	PR gas/18451
 	* gas/elf/elf.exp: Run strtab.
 	* gas/elf/strtab.d: New file.
diff --git a/gas/testsuite/gas/mmix/loc-3.d b/gas/testsuite/gas/mmix/loc-3.d
index 1191084..2c477db 100644
--- a/gas/testsuite/gas/mmix/loc-3.d
+++ b/gas/testsuite/gas/mmix/loc-3.d
@@ -17,7 +17,7 @@ Section Headers:
  +\[ 5\] \.symtab +SYMTAB +0000000000000000 .*
  +00000000000000c0 +0000000000000018 +6 +5 +8
  +\[ 6\] \.strtab +STRTAB +0000000000000000 .*
- +0000000000000030 +0000000000000000 +0 +0 +1
+ +000000000000002e +0000000000000000 +0 +0 +1
 Key to Flags:
 #...
 
diff --git a/gas/testsuite/gas/mmix/loc-5.d b/gas/testsuite/gas/mmix/loc-5.d
index eec81ad..fa80a86 100644
--- a/gas/testsuite/gas/mmix/loc-5.d
+++ b/gas/testsuite/gas/mmix/loc-5.d
@@ -17,7 +17,7 @@ Section Headers:
  +\[ 5\] \.symtab +SYMTAB +0+ .*
  +0+c0 +0+18 +6 +6 +8
  +\[ 6\] \.strtab +STRTAB +0+ .*
- +0+29 +0+ +0 +0 +1
+ +0+27 +0+ +0 +0 +1
 Key to Flags:
 #...
 
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index abc431e..9beb418 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,5 +1,11 @@
 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
 
+	* ld-mmix/bspec1.d: Updated.
+	* ld-mmix/bspec2.d: Likewise.
+	* ld-mmix/undef-3.d: Likewise.
+
+2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
+
 	PR gas/18451
 	* ld-elf/strtab.d: New file.
 	* ld-elf/strtab.s: Likewise.
diff --git a/ld/testsuite/ld-mmix/bspec1.d b/ld/testsuite/ld-mmix/bspec1.d
index 784ed55..6440bbe 100644
--- a/ld/testsuite/ld-mmix/bspec1.d
+++ b/ld/testsuite/ld-mmix/bspec1.d
@@ -19,7 +19,7 @@ Section Headers:
  +\[ 4\] \.symtab +SYMTAB +0+ .*
  +0+d8 +0+18 +5 +3 +8
  +\[ 5\] \.strtab +STRTAB +0+ .*
- +0+2d +0+ +0 +0 +1
+ +0+26 +0+ +0 +0 +1
 Key to Flags:
 #...
 
diff --git a/ld/testsuite/ld-mmix/bspec2.d b/ld/testsuite/ld-mmix/bspec2.d
index 85d847d..e881b08 100644
--- a/ld/testsuite/ld-mmix/bspec2.d
+++ b/ld/testsuite/ld-mmix/bspec2.d
@@ -24,7 +24,7 @@ Section Headers:
  +\[ 5\] \.symtab +SYMTAB +0+ .*
  +0+108 +0+18 +6 +4 +8
  +\[ 6\] \.strtab +STRTAB +0+ .*
- +0+32 +0+ +0 +0 +1
+ +0+2b +0+ +0 +0 +1
 Key to Flags:
 #...
 
diff --git a/ld/testsuite/ld-mmix/undef-3.d b/ld/testsuite/ld-mmix/undef-3.d
index c0352a6..94eeeaa 100644
--- a/ld/testsuite/ld-mmix/undef-3.d
+++ b/ld/testsuite/ld-mmix/undef-3.d
@@ -16,7 +16,7 @@ Section Headers:
  +\[ 3\] \.symtab +SYMTAB +0+ .*
  +0+a8 +0+18 +4 +2 +8
  +\[ 4\] \.strtab +STRTAB +0+ .*
- +0+28 +0+ +0 +0 +1
+ +0+21 +0+ +0 +0 +1
 Key to Flags:
 #...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]