From 395f4d9b6a84690e5901e0580ff17241ca9fc01a Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 2 May 2003 02:43:28 +0000 Subject: [PATCH] 2003-05-01 H.J. Lu * gas/ia64/ia64.exp: Add "global". * gas/ia64/global.d: New file. * gas/ia64/global.s: Likewise. --- gas/testsuite/ChangeLog | 7 +++++++ gas/testsuite/gas/ia64/global.d | 10 ++++++++++ gas/testsuite/gas/ia64/global.s | 3 +++ gas/testsuite/gas/ia64/ia64.exp | 1 + 4 files changed, 21 insertions(+) create mode 100644 gas/testsuite/gas/ia64/global.d create mode 100644 gas/testsuite/gas/ia64/global.s diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 54f489d9ea..6399b505dd 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2003-05-01 H.J. Lu + + * gas/ia64/ia64.exp: Add "global". + + * gas/ia64/global.d: New file. + * gas/ia64/global.s: Likewise. + 2003-04-30 H.J. Lu * 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 0000000000..fcd9da410d --- /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 0000000000..9ad702c371 --- /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 2e66eb7b40..60e6a8e33f 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" } -- 2.34.1