Use __asm__ rather than asm in ld testsuite
[deliverable/binutils-gdb.git] / ld / testsuite / ld-pe / aligncomm-4.c
old mode 100755 (executable)
new mode 100644 (file)
index 0c9e65d..c82f609
@@ -1,5 +1,6 @@
 
 typedef float __m128 __attribute__ ((__vector_size__ (16), __may_alias__));
+typedef __SIZE_TYPE__ size_t;
 
 long s1 = 0;
 long s2 = 0;
@@ -10,15 +11,15 @@ __m128 * volatile raddr = &r;
 
 int main (int argc, const char **argv)
 {
-  return 15 & (int)raddr;
+  return 15 & (int)(size_t)raddr;
 }
 
 void __main (void)
 {
-  asm (".section .drectve\n"
-       "  .ascii \" -aligncomm:_r,4\"\n"
-       "  .ascii \" -aligncomm:r,4\"\n"
-       "  .text");
+  __asm__ (".section .drectve\n"
+          "  .ascii \" -aligncomm:_r,4\"\n"
+          "  .ascii \" -aligncomm:r,4\"\n"
+          "  .text");
 }
 
 #if defined (__CYGWIN__) || defined (__MINGW32__)
This page took 0.024351 seconds and 4 git commands to generate.