From: Rui Ueyama Date: Wed, 27 Apr 2016 02:58:27 +0000 (+0000) Subject: Remove unnecessary trailing semicolons. X-Git-Tag: llvmorg-3.9.0-rc1~7826 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=144debcc0f592f373be11bc865967d321ea2ebd6;p=platform%2Fupstream%2Fllvm.git Remove unnecessary trailing semicolons. Since this semicolon existed in an early test file, it has spread to many files. llvm-svn: 267659 --- diff --git a/lld/test/ELF/Inputs/archive.s b/lld/test/ELF/Inputs/archive.s index 42ccfd4..568bc1f 100644 --- a/lld/test/ELF/Inputs/archive.s +++ b/lld/test/ELF/Inputs/archive.s @@ -1,5 +1,5 @@ -.globl _start; +.globl _start _start: -.globl end; +.globl end end: diff --git a/lld/test/ELF/Inputs/libsearch-dyn.s b/lld/test/ELF/Inputs/libsearch-dyn.s index c0c33f9..091b3b9 100644 --- a/lld/test/ELF/Inputs/libsearch-dyn.s +++ b/lld/test/ELF/Inputs/libsearch-dyn.s @@ -1,3 +1,3 @@ -.globl _bar,_dynamic; +.globl _bar,_dynamic _bar: _dynamic: diff --git a/lld/test/ELF/Inputs/libsearch-st.s b/lld/test/ELF/Inputs/libsearch-st.s index c02ee74..6da62f7 100644 --- a/lld/test/ELF/Inputs/libsearch-st.s +++ b/lld/test/ELF/Inputs/libsearch-st.s @@ -1,3 +1,3 @@ -.globl _bar,_static; +.globl _bar,_static _bar: _static: diff --git a/lld/test/ELF/Inputs/whole-archive.s b/lld/test/ELF/Inputs/whole-archive.s index f9d56fc..816b24e 100644 --- a/lld/test/ELF/Inputs/whole-archive.s +++ b/lld/test/ELF/Inputs/whole-archive.s @@ -1,2 +1,2 @@ -.globl _bar; +.globl _bar _bar: diff --git a/lld/test/ELF/basic-aarch64.s b/lld/test/ELF/basic-aarch64.s index 61b6707..84105f0 100644 --- a/lld/test/ELF/basic-aarch64.s +++ b/lld/test/ELF/basic-aarch64.s @@ -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 diff --git a/lld/test/ELF/basic.s b/lld/test/ELF/basic.s index 2f63de7..19afbb6 100644 --- a/lld/test/ELF/basic.s +++ b/lld/test/ELF/basic.s @@ -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 diff --git a/lld/test/ELF/basic32.s b/lld/test/ELF/basic32.s index 0ec73ee..44ebe7a 100644 --- a/lld/test/ELF/basic32.s +++ b/lld/test/ELF/basic32.s @@ -4,7 +4,7 @@ # REQUIRES: x86 # exits with return code 42 on linux -.globl _start; +.globl _start _start: mov $1, %eax mov $42, %ebx diff --git a/lld/test/ELF/build-id.s b/lld/test/ELF/build-id.s index f252fcc..1a83983 100644 --- a/lld/test/ELF/build-id.s +++ b/lld/test/ELF/build-id.s @@ -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 diff --git a/lld/test/ELF/default-output.s b/lld/test/ELF/default-output.s index 8da3bb4..c0766ac 100644 --- a/lld/test/ELF/default-output.s +++ b/lld/test/ELF/default-output.s @@ -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 diff --git a/lld/test/ELF/eh-frame-hdr-no-out2.s b/lld/test/ELF/eh-frame-hdr-no-out2.s index b81a3e7..0eeb0ea 100644 --- a/lld/test/ELF/eh-frame-hdr-no-out2.s +++ b/lld/test/ELF/eh-frame-hdr-no-out2.s @@ -7,7 +7,7 @@ nop .text -.globl _start; +.globl _start _start: // There is no .eh_frame section, diff --git a/lld/test/ELF/eh-frame-hdr.s b/lld/test/ELF/eh-frame-hdr.s index 97bef97..04975ac 100644 --- a/lld/test/ELF/eh-frame-hdr.s +++ b/lld/test/ELF/eh-frame-hdr.s @@ -22,7 +22,7 @@ .cfi_endproc .text -.globl _start; +.globl _start _start: // NOHDR: Sections [ diff --git a/lld/test/ELF/emulation.s b/lld/test/ELF/emulation.s index 941deca..eaeab54 100644 --- a/lld/test/ELF/emulation.s +++ b/lld/test/ELF/emulation.s @@ -204,5 +204,5 @@ # REQUIRES: x86,ppc,mips,aarch64 -.globl _start; +.globl _start _start: diff --git a/lld/test/ELF/init-fini.s b/lld/test/ELF/init-fini.s index d2b2408..4006790 100644 --- a/lld/test/ELF/init-fini.s +++ b/lld/test/ELF/init-fini.s @@ -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 diff --git a/lld/test/ELF/libsearch.s b/lld/test/ELF/libsearch.s index 5f5aea7..75ad0fb 100644 --- a/lld/test/ELF/libsearch.s +++ b/lld/test/ELF/libsearch.s @@ -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: diff --git a/lld/test/ELF/linkerscript-locationcounter.s b/lld/test/ELF/linkerscript-locationcounter.s index 96dde12..c6e8e7e 100644 --- a/lld/test/ELF/linkerscript-locationcounter.s +++ b/lld/test/ELF/linkerscript-locationcounter.s @@ -293,7 +293,7 @@ # RUN: FileCheck --check-prefix=TERNERR %s # TERNERR: unexpected EOF -.globl _start; +.globl _start _start: nop diff --git a/lld/test/ELF/linkerscript-sections.s b/lld/test/ELF/linkerscript-sections.s index ea9ae2b..b68dac7 100644 --- a/lld/test/ELF/linkerscript-sections.s +++ b/lld/test/ELF/linkerscript-sections.s @@ -103,7 +103,7 @@ # 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 diff --git a/lld/test/ELF/linkerscript.s b/lld/test/ELF/linkerscript.s index 76e4367..4ee7416 100644 --- a/lld/test/ELF/linkerscript.s +++ b/lld/test/ELF/linkerscript.s @@ -112,7 +112,7 @@ # ERR1: unknown directive: FOO -.globl _start, _label; +.globl _start, _label _start: mov $60, %rax mov $42, %rdi diff --git a/lld/test/ELF/no-inhibit-exec.s b/lld/test/ELF/no-inhibit-exec.s index 128f44d..31638fd 100644 --- a/lld/test/ELF/no-inhibit-exec.s +++ b/lld/test/ELF/no-inhibit-exec.s @@ -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 diff --git a/lld/test/ELF/relocatable-bss.s b/lld/test/ELF/relocatable-bss.s index e0a0c60..0411bf3 100644 --- a/lld/test/ELF/relocatable-bss.s +++ b/lld/test/ELF/relocatable-bss.s @@ -32,7 +32,7 @@ # CHECK-NEXT: } .text -.globl _start; +.globl _start _start: nop diff --git a/lld/test/ELF/strip-all.s b/lld/test/ELF/strip-all.s index 91b1306..f322119 100644 --- a/lld/test/ELF/strip-all.s +++ b/lld/test/ELF/strip-all.s @@ -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 diff --git a/lld/test/ELF/sysroot.s b/lld/test/ELF/sysroot.s index 202b105..38fd8cd 100644 --- a/lld/test/ELF/sysroot.s +++ b/lld/test/ELF/sysroot.s @@ -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: diff --git a/lld/test/ELF/undefined-opt.s b/lld/test/ELF/undefined-opt.s index cdd190f..ddd34f4 100644 --- a/lld/test/ELF/undefined-opt.s +++ b/lld/test/ELF/undefined-opt.s @@ -59,7 +59,7 @@ # EXPORT-SO: Name: export # EXPORT-SO: ] -.globl _start; +.globl _start _start: .globl export diff --git a/lld/test/ELF/whole-archive.s b/lld/test/ELF/whole-archive.s index a0ef6b9..c65f116 100644 --- a/lld/test/ELF/whole-archive.s +++ b/lld/test/ELF/whole-archive.s @@ -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: