2011-04-18 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Mon, 18 Apr 2011 13:43:21 +0000 (13:43 +0000)
committerTristan Gingold <gingold@adacore.com>
Mon, 18 Apr 2011 13:43:21 +0000 (13:43 +0000)
* lib/gas-defs.exp (get_standard_section_names): Add names for
alpha vms.
* gas/all/gas.exp: Do not test diff1.s on alpha-vms.

gas/testsuite/ChangeLog
gas/testsuite/gas/all/gas.exp
gas/testsuite/lib/gas-defs.exp

index d3492aa..fc73aee 100644 (file)
@@ -1,3 +1,9 @@
+2011-04-18  Tristan Gingold  <gingold@adacore.com>
+
+       * lib/gas-defs.exp (get_standard_section_names): Add names for
+       alpha vms.
+       * gas/all/gas.exp: Do not test diff1.s on alpha-vms.
+
 2011-04-14  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
 
        * gas/s390/zarch-machine.s: New testcase.
index 59500a1..c7cc452 100644 (file)
@@ -34,12 +34,14 @@ if { ![istarget cris-*-*] && ![istarget crisv32-*-*]
 
 # This test is meaningless for the PA; the difference of two undefined
 # symbols is something that is (and must be) supported on the PA.
+# The same is true for alpha-vms
 #
 # The MN10300 port supports link time relaxation which in turn allows
 # for link time resolution of the differneces of two symbols which are
 # undefined at assembly time.  Hence this test will not pass for the
 # MN10300.  The same thing is true for the RX port as well.
 if { ![istarget hppa*-*-*]
+     && ![istarget alpha*-*-*vms*]
      && ![istarget rx-*-*]
      && ![istarget mn10300-*-*]
      && ![istarget am3*-*-*] } then {
index f10d72a..9d89a2e 100644 (file)
@@ -290,6 +290,10 @@ proc get_standard_section_names {} {
     if [istarget "rx-*-*"] {
         return { "P" "D_1" "B_1" }
     }
+    if [istarget "alpha*-*-*vms*"] {
+        # Double quote: for TCL and for sh.
+        return { "\\\$CODE\\\$" "\\\$DATA\\\$" "\\\$BSS\\\$" }
+    }
     return
 }