From: H.J. Lu Date: Fri, 2 May 2003 02:43:28 +0000 (+0000) Subject: 2003-05-01 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=395f4d9b6a84690e5901e0580ff17241ca9fc01a;p=binutils-gdb.git 2003-05-01 H.J. Lu * gas/ia64/ia64.exp: Add "global". * gas/ia64/global.d: New file. * gas/ia64/global.s: Likewise. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 54f489d9ea3..6399b505dd7 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 00000000000..fcd9da410d1 --- /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 00000000000..9ad702c3715 --- /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 2e66eb7b40a..60e6a8e33f7 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" }