URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc/trunk/gnu-stable/binutils-2.20.1/gas/testsuite/gas/pe
- from Rev 816 to Rev 818
- ↔ Reverse comparison
Rev 816 → Rev 818
/pe.exp
0,0 → 1,37
# Expect control script for GAS testsuite PE object-format-specific tests. |
|
# Copyright (C) 2009 |
# Free Software Foundation, Inc. |
|
# This program is free software; you can redistribute it and/or modify |
# it under the terms of the GNU General Public License as published by |
# the Free Software Foundation; either version 3 of the License, or |
# (at your option) any later version. |
# |
# This program is distributed in the hope that it will be useful, |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
# GNU General Public License for more details. |
# |
# You should have received a copy of the GNU General Public License |
# along with this program; if not, write to the Free Software |
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. |
|
# Please email any bugs, comments, and/or additions to this file to: |
# binutils@gnu.org |
|
load_lib gas-dg.exp |
load_lib gas-defs.exp |
|
# These tests can only be run on PE/COFF platforms. |
if {![is_pecoff_format]} { |
return |
} |
|
run_dump_test "aligncomm-a" |
run_dump_test "aligncomm-b" |
run_dump_test "aligncomm-c" |
run_dump_test "aligncomm-d" |
|
run_dump_test "section-align-1" |
run_dump_test "section-align-3" |
pe.exp
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: aligncomm-a.s
===================================================================
--- aligncomm-a.s (nonexistent)
+++ aligncomm-a.s (revision 818)
@@ -0,0 +1,11 @@
+ .file "a.c"
+ .comm _h, 16
+ .comm _i, 16
+ .comm _j, 16
+ .comm _k, 16
+ .section .drectve
+ .ascii " -aligncomm:_h,5"
+ .ascii " -aligncomm:_i,4"
+ .ascii " -aligncomm:_j,3"
+ .ascii " -aligncomm:_k,2"
+
aligncomm-a.s
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: aligncomm-a.d
===================================================================
--- aligncomm-a.d (nonexistent)
+++ aligncomm-a.d (revision 818)
@@ -0,0 +1,12 @@
+#objdump: -s -j .drectve
+#name: aligned common A
+
+# Test the aligned form of the .comm pseudo-op.
+
+.*: .*
+
+Contents of section .drectve:
+ 0000 202d616c 69676e63 6f6d6d3a 5f682c35 -aligncomm:_h,5
+ 0010 202d616c 69676e63 6f6d6d3a 5f692c34 -aligncomm:_i,4
+ 0020 202d616c 69676e63 6f6d6d3a 5f6a2c33 -aligncomm:_j,3
+ 0030 202d616c 69676e63 6f6d6d3a 5f6b2c32 -aligncomm:_k,2
aligncomm-a.d
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: aligncomm-b.s
===================================================================
--- aligncomm-b.s (nonexistent)
+++ aligncomm-b.s (revision 818)
@@ -0,0 +1,11 @@
+ .file "a.c"
+ .comm _h, 16, 8
+ .comm _i, 16, 4
+ .comm _j, 16, 2
+ .comm _k, 16, 1
+ .section .drectve
+ .ascii " -aligncomm:_h,5"
+ .ascii " -aligncomm:_i,4"
+ .ascii " -aligncomm:_j,3"
+ .ascii " -aligncomm:_k,2"
+
Index: aligncomm-b.d
===================================================================
--- aligncomm-b.d (nonexistent)
+++ aligncomm-b.d (revision 818)
@@ -0,0 +1,16 @@
+#objdump: -s -j .drectve
+#name: aligned common B
+
+# Test the aligned form of the .comm pseudo-op.
+
+.*: .*
+
+Contents of section .drectve:
+ 0000 202d616c 69676e63 6f6d6d3a 5f682c38 -aligncomm:_h,8
+ 0010 202d616c 69676e63 6f6d6d3a 5f692c34 -aligncomm:_i,4
+ 0020 202d616c 69676e63 6f6d6d3a 5f6a2c32 -aligncomm:_j,2
+ 0030 202d616c 69676e63 6f6d6d3a 5f6b2c31 -aligncomm:_k,1
+ 0040 202d616c 69676e63 6f6d6d3a 5f682c35 -aligncomm:_h,5
+ 0050 202d616c 69676e63 6f6d6d3a 5f692c34 -aligncomm:_i,4
+ 0060 202d616c 69676e63 6f6d6d3a 5f6a2c33 -aligncomm:_j,3
+ 0070 202d616c 69676e63 6f6d6d3a 5f6b2c32 -aligncomm:_k,2
aligncomm-b.d
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: aligncomm-c.s
===================================================================
--- aligncomm-c.s (nonexistent)
+++ aligncomm-c.s (revision 818)
@@ -0,0 +1,5 @@
+ .file "a.c"
+ .comm _h, 16
+ .comm _i, 16
+ .comm _j, 16
+ .comm _k, 16
aligncomm-c.s
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: aligncomm-c.d
===================================================================
--- aligncomm-c.d (nonexistent)
+++ aligncomm-c.d (revision 818)
@@ -0,0 +1,8 @@
+#objdump: -s -j .drectve
+#name: aligned common C
+
+# Test the aligned form of the .comm pseudo-op.
+
+.*: .*
+
+# No .drectve section emitted.
\ No newline at end of file
aligncomm-c.d
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: aligncomm-d.s
===================================================================
--- aligncomm-d.s (nonexistent)
+++ aligncomm-d.s (revision 818)
@@ -0,0 +1,5 @@
+ .file "a.c"
+ .comm _h, 16, 8
+ .comm _i, 16, 4
+ .comm _j, 16, 2
+ .comm _k, 16, 1
aligncomm-d.s
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: aligncomm-d.d
===================================================================
--- aligncomm-d.d (nonexistent)
+++ aligncomm-d.d (revision 818)
@@ -0,0 +1,12 @@
+#objdump: -s -j .drectve
+#name: aligned common D
+
+# Test the aligned form of the .comm pseudo-op.
+
+.*: .*
+
+Contents of section .drectve:
+ 0000 202d616c 69676e63 6f6d6d3a 5f682c38 -aligncomm:_h,8
+ 0010 202d616c 69676e63 6f6d6d3a 5f692c34 -aligncomm:_i,4
+ 0020 202d616c 69676e63 6f6d6d3a 5f6a2c32 -aligncomm:_j,2
+ 0030 202d616c 69676e63 6f6d6d3a 5f6b2c31 -aligncomm:_k,1
aligncomm-d.d
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: section-align-1.s
===================================================================
--- section-align-1.s (nonexistent)
+++ section-align-1.s (revision 818)
@@ -0,0 +1,15 @@
+
+ .section .none,"dr0"
+ .section .zero,"dr0"
+ .ascii ""
+ .section .one,"dr0"
+ .ascii "1"
+ .section .two,"dr0"
+ .ascii "12"
+ .section .three,"dr0"
+ .ascii "123"
+ .section .four,"dr0"
+ .ascii "1234"
+ .section .five,"dr0"
+ .ascii "12345"
+ .end
Index: section-align-1.d
===================================================================
--- section-align-1.d (nonexistent)
+++ section-align-1.d (revision 818)
@@ -0,0 +1,29 @@
+#objdump: -h
+#name: section alignment
+
+# Test that alignment works in .section directives.
+
+.*: .*
+
+Sections:
+Idx Name *Size *VMA *LMA *File off *Algn
+ 0 \.text 0*0000000 0*0000000 0*0000000 0*0000000 2\*\*[24]
+.*
+ 1 \.data 0*0000000 0*0000000 0*0000000 0*0000000 2\*\*[24]
+.*
+ 2 \.bss 0*0000000 0*0000000 0*0000000 0*0000000 2\*\*[24]
+.*
+ 3 \.none 0*0000000 0*0000000 0*0000000 0*0000000 2\*\*0
+.*
+ 4 \.zero 0*0000000 0*0000000 0*0000000 0*0000000 2\*\*0
+.*
+ 5 \.one 0*0000001 0*0000000 0*0000000 0*00001a4 2\*\*0
+.*
+ 6 \.two 0*0000002 0*0000000 0*0000000 0*00001a5 2\*\*0
+.*
+ 7 \.three 0*0000003 0*0000000 0*0000000 0*00001a7 2\*\*0
+.*
+ 8 \.four 0*0000004 0*0000000 0*0000000 0*00001aa 2\*\*0
+.*
+ 9 \.five 0*0000005 0*0000000 0*0000000 0*00001ae 2\*\*0
+.*
Index: section-align-3.s
===================================================================
--- section-align-3.s (nonexistent)
+++ section-align-3.s (revision 818)
@@ -0,0 +1,25 @@
+
+ .section .none,"dr3"
+ .section .zero,"dr3"
+ .ascii ""
+ .section .one,"dr3"
+ .ascii "1"
+ .section .two,"dr3"
+ .ascii "12"
+ .section .three,"dr3"
+ .ascii "123"
+ .section .four,"dr3"
+ .ascii "1234"
+ .section .five,"dr3"
+ .ascii "12345"
+ .section .six,"dr3"
+ .ascii "123456"
+ .section .seven,"dr3"
+ .ascii "1234567"
+ .section .eight,"dr3"
+ .ascii "12345678"
+ .section .nine,"dr3"
+ .ascii "123456789"
+ .section .ten,"dr3"
+ .ascii "1234567890"
+ .end
Index: section-align-3.d
===================================================================
--- section-align-3.d (nonexistent)
+++ section-align-3.d (revision 818)
@@ -0,0 +1,39 @@
+#objdump: -h
+#name: section alignment
+
+# Test that alignment works in .section directives.
+
+.*: .*
+
+Sections:
+Idx Name *Size *VMA *LMA *File off *Algn
+ 0 \.text 0*0000000 0*0000000 0*0000000 0*0000000 2\*\*[24]
+.*
+ 1 \.data 0*0000000 0*0000000 0*0000000 0*0000000 2\*\*[24]
+.*
+ 2 \.bss 0*0000000 0*0000000 0*0000000 0*0000000 2\*\*[24]
+.*
+ 3 \.none 0*0000000 0*0000000 0*0000000 0*0000000 2\*\*3
+.*
+ 4 \.zero 0*0000000 0*0000000 0*0000000 0*0000000 2\*\*3
+.*
+ 5 \.one 0*0000008 0*0000000 0*0000000 0*000026c 2\*\*3
+.*
+ 6 \.two 0*0000008 0*0000000 0*0000000 0*0000274 2\*\*3
+.*
+ 7 \.three 0*0000008 0*0000000 0*0000000 0*000027c 2\*\*3
+.*
+ 8 \.four 0*0000008 0*0000000 0*0000000 0*0000284 2\*\*3
+.*
+ 9 \.five 0*0000008 0*0000000 0*0000000 0*000028c 2\*\*3
+.*
+ 10 \.six 0*0000008 0*0000000 0*0000000 0*0000294 2\*\*3
+.*
+ 11 \.seven 0*0000008 0*0000000 0*0000000 0*000029c 2\*\*3
+.*
+ 12 \.eight 0*0000008 0*0000000 0*0000000 0*00002a4 2\*\*3
+.*
+ 13 \.nine 0*0000010 0*0000000 0*0000000 0*00002ac 2\*\*3
+.*
+ 14 \.ten 0*0000010 0*0000000 0*0000000 0*00002bc 2\*\*3
+.*