diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/ia64/global.d | 10 | ||||
-rw-r--r-- | gas/testsuite/gas/ia64/global.s | 3 | ||||
-rw-r--r-- | gas/testsuite/gas/ia64/ia64.exp | 1 |
4 files changed, 21 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 54f489d..6399b50 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2003-05-01 H.J. Lu <hjl@gnu.org> + + * gas/ia64/ia64.exp: Add "global". + + * gas/ia64/global.d: New file. + * gas/ia64/global.s: Likewise. + 2003-04-30 H.J. Lu <hjl@gnu.org> * gas/ia64/ia64.exp: Add order. diff --git a/gas/testsuite/gas/ia64/global.d b/gas/testsuite/gas/ia64/global.d new file mode 100644 index 0000000..fcd9da4 --- /dev/null +++ b/gas/testsuite/gas/ia64/global.d @@ -0,0 +1,10 @@ +#readelf: --sym +#name: ia64 global label + +Symbol table '.symtab' contains 5 entries: + Num: Value Size Type Bind Vis Ndx Name + 0: 0+0 0 NOTYPE LOCAL DEFAULT UND + 1: 0+0 0 SECTION LOCAL DEFAULT 1 + 2: 0+0 0 SECTION LOCAL DEFAULT 2 + 3: 0+0 0 SECTION LOCAL DEFAULT 3 + 4: 0+0 0 NOTYPE GLOBAL DEFAULT 2 foo diff --git a/gas/testsuite/gas/ia64/global.s b/gas/testsuite/gas/ia64/global.s new file mode 100644 index 0000000..9ad702c --- /dev/null +++ b/gas/testsuite/gas/ia64/global.s @@ -0,0 +1,3 @@ + .data +foo:: + data1 0 diff --git a/gas/testsuite/gas/ia64/ia64.exp b/gas/testsuite/gas/ia64/ia64.exp index 2e66eb7..60e6a8e 100644 --- a/gas/testsuite/gas/ia64/ia64.exp +++ b/gas/testsuite/gas/ia64/ia64.exp @@ -45,4 +45,5 @@ if [istarget "ia64-*"] then { run_dump_test "real" run_dump_test "align" run_dump_test "order" + run_dump_test "global" } |