summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfergus.henderson <fergushenderson@users.noreply.github.com>2010-03-02 08:24:37 +0000
committerfergus.henderson <fergushenderson@users.noreply.github.com>2010-03-02 08:24:37 +0000
commitc03689163cd66abd44529fdb86b989a7dc7094a1 (patch)
tree0361baed45d400446c971fec0e4ce1a7171f67a2
parent8b8887432173894c3793a8d78672e2072f54b9ef (diff)
downloaddistcc-git-c03689163cd66abd44529fdb86b989a7dc7094a1.tar.gz
Apply slightly cleaned up version of patch from perezdiez@gmail.com
to fix failure of PreprocessAsm_Case on ARM.
-rwxr-xr-xtest/testdistcc.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/testdistcc.py b/test/testdistcc.py
index 82c8996..a94d086 100755
--- a/test/testdistcc.py
+++ b/test/testdistcc.py
@@ -1871,6 +1871,7 @@ class RemoteAssemble_Case(WithDaemon_Case):
# We have a rather tricky method for testing assembly code when we
# don't know what platform we're on. I think this one will work
# everywhere, though perhaps not.
+ # We don't use @ because that starts comments for ARM.
asm_source = """
.file "foo.c"
.globl msg
@@ -1879,7 +1880,7 @@ class RemoteAssemble_Case(WithDaemon_Case):
.string "hello world"
.data
.align 4
- .type msg,@object
+ .type msg,object
.size msg,4
msg:
.long .LC0
@@ -1908,7 +1909,7 @@ gcc2_compiled.:
.string MSG
.data
.align 4
- .type msg,@object
+ .type msg,object
.size msg,4
msg:
.long .LC0