Remove unnecessary trailing semicolons.
authorRui Ueyama <ruiu@google.com>
Wed, 27 Apr 2016 02:58:27 +0000 (02:58 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 27 Apr 2016 02:58:27 +0000 (02:58 +0000)
Since this semicolon existed in an early test file,
it has spread to many files.

llvm-svn: 267659

23 files changed:
lld/test/ELF/Inputs/archive.s
lld/test/ELF/Inputs/libsearch-dyn.s
lld/test/ELF/Inputs/libsearch-st.s
lld/test/ELF/Inputs/whole-archive.s
lld/test/ELF/basic-aarch64.s
lld/test/ELF/basic.s
lld/test/ELF/basic32.s
lld/test/ELF/build-id.s
lld/test/ELF/default-output.s
lld/test/ELF/eh-frame-hdr-no-out2.s
lld/test/ELF/eh-frame-hdr.s
lld/test/ELF/emulation.s
lld/test/ELF/init-fini.s
lld/test/ELF/libsearch.s
lld/test/ELF/linkerscript-locationcounter.s
lld/test/ELF/linkerscript-sections.s
lld/test/ELF/linkerscript.s
lld/test/ELF/no-inhibit-exec.s
lld/test/ELF/relocatable-bss.s
lld/test/ELF/strip-all.s
lld/test/ELF/sysroot.s
lld/test/ELF/undefined-opt.s
lld/test/ELF/whole-archive.s

index 42ccfd4..568bc1f 100644 (file)
@@ -1,5 +1,5 @@
-.globl _start;
+.globl _start
 _start:
 
-.globl end;
+.globl end
 end:
index c0c33f9..091b3b9 100644 (file)
@@ -1,3 +1,3 @@
-.globl _bar,_dynamic;
+.globl _bar,_dynamic
 _bar:
 _dynamic:
index c02ee74..6da62f7 100644 (file)
@@ -1,3 +1,3 @@
-.globl _bar,_static;
+.globl _bar,_static
 _bar:
 _static:
index 61b6707..84105f0 100644 (file)
@@ -5,7 +5,7 @@
 # REQUIRES: aarch64
 
 # exits with return code 42 on FreeBSD/AArch64
-.globl _start;
+.globl _start
 _start:
   mov    x0, 42
   mov    x8, 1
index 2f63de7..19afbb6 100644 (file)
@@ -6,7 +6,7 @@
 # RUN:   | FileCheck %s
 
 # exits with return code 42 on linux
-.globl _start;
+.globl _start
 _start:
   mov $60, %rax
   mov $42, %rdi
index 0ec73ee..44ebe7a 100644 (file)
@@ -4,7 +4,7 @@
 # REQUIRES: x86
 
 # exits with return code 42 on linux
-.globl _start;
+.globl _start
 _start:
   mov $1, %eax
   mov $42, %ebx
index f252fcc..1a83983 100644 (file)
@@ -10,7 +10,7 @@
 # RUN: ld.lld %t -o %t2
 # RUN: llvm-objdump -s %t2 | FileCheck -check-prefix=NONE %s
 
-.globl _start;
+.globl _start
 _start:
   nop
 
index 8da3bb4..c0766ac 100644 (file)
@@ -9,7 +9,7 @@
 # RUN: ld.lld %t
 # RUN: llvm-readobj a.out > /dev/null 2>&1
 
-.globl _start;
+.globl _start
 _start:
   mov $60, %rax
   mov $42, %rdi
index b81a3e7..0eeb0ea 100644 (file)
@@ -7,7 +7,7 @@
  nop
 
 .text
-.globl _start;
+.globl _start
 _start:
 
 // There is no .eh_frame section,
index 97bef97..04975ac 100644 (file)
@@ -22,7 +22,7 @@
 .cfi_endproc
 
 .text
-.globl _start;
+.globl _start
 _start:
 
 // NOHDR:       Sections [
index 941deca..eaeab54 100644 (file)
 
 # REQUIRES: x86,ppc,mips,aarch64
 
-.globl _start;
+.globl _start
 _start:
index d2b2408..4006790 100644 (file)
@@ -35,7 +35,7 @@
 // NOENTRY-NOT: FINI
 // NOENTRY: ]
 
-.global _start,_init,_fini,_foo,_bar,_undef;
+.global _start,_init,_fini,_foo,_bar,_undef
 _start:
 _init = 0x11010
 _fini = 0x11020
index 5f5aea7..75ad0fb 100644 (file)
@@ -79,5 +79,5 @@
 // RUN: ld.lld -o %t3 %t.o -L%t.dir -Bstatic -call_shared -lls
 // RUN: llvm-readobj --symbols %t3 | FileCheck --check-prefix=DYNAMIC %s
 
-.globl _start,_bar;
+.globl _start,_bar
 _start:
index 96dde12..c6e8e7e 100644 (file)
 # RUN:  FileCheck --check-prefix=TERNERR %s
 # TERNERR: unexpected EOF
 
-.globl _start;
+.globl _start
 _start:
 nop
 
index ea9ae2b..b68dac7 100644 (file)
 # SEC-MULTI: 6 .shstrtab     0000002c {{[0-9a-f]*}}
 # SEC-MULTI: 7 .strtab       00000008 {{[0-9a-f]*}}
 
-.globl _start;
+.globl _start
 _start:
     mov $60, %rax
     mov $42, %rdi
index 76e4367..4ee7416 100644 (file)
 
 # ERR1: unknown directive: FOO
 
-.globl _start, _label;
+.globl _start, _label
 _start:
   mov $60, %rax
   mov $42, %rdi
index 128f44d..31638fd 100644 (file)
@@ -10,6 +10,6 @@
 
 # next code will not link without noinhibit-exec flag
 # because of undefined symbol _bar
-.globl _start;
+.globl _start
 _start:
   call _bar
index e0a0c60..0411bf3 100644 (file)
@@ -32,7 +32,7 @@
 # CHECK-NEXT:  }
 
 .text
-.globl _start;
+.globl _start
 _start:
  nop
 
index 91b1306..f322119 100644 (file)
@@ -22,7 +22,7 @@
 #RUN: llvm-objdump -section-headers %t1 | FileCheck %s -check-prefix AFTER
 
 # exits with return code 42 on linux
-.globl _start;
+.globl _start
 _start:
   mov $60, %rax
   mov $42, %rdi
index 202b105..38fd8cd 100644 (file)
@@ -32,5 +32,5 @@
 // RUN: not ld.lld -o %t/r %r/m.o --sysroot=%t -Llib -l:libls.a
 // RUN: not ld.lld -o %t/r %r/m.o --sysroot=%t -L/lib -l:libls.a
 
-.globl _start,_bar;
+.globl _start,_bar
 _start:
index cdd190f..ddd34f4 100644 (file)
@@ -59,7 +59,7 @@
 # EXPORT-SO:   Name: export
 # EXPORT-SO: ]
 
-.globl _start;
+.globl _start
 _start:
 
 .globl export
index a0ef6b9..c65f116 100644 (file)
@@ -36,5 +36,5 @@
 // RUN: ld.lld -o %t3 %t.o --whole-archive %tthin.a
 // RUN: llvm-readobj --symbols %t3 | FileCheck --check-prefix=ADDED %s
 
-.globl _start;
+.globl _start
 _start: