[lld] r267659 - Remove unnecessary trailing semicolons.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 26 19:58:28 PDT 2016
Author: ruiu
Date: Tue Apr 26 21:58:27 2016
New Revision: 267659
URL: http://llvm.org/viewvc/llvm-project?rev=267659&view=rev
Log:
Remove unnecessary trailing semicolons.
Since this semicolon existed in an early test file,
it has spread to many files.
Modified:
lld/trunk/test/ELF/Inputs/archive.s
lld/trunk/test/ELF/Inputs/libsearch-dyn.s
lld/trunk/test/ELF/Inputs/libsearch-st.s
lld/trunk/test/ELF/Inputs/whole-archive.s
lld/trunk/test/ELF/basic-aarch64.s
lld/trunk/test/ELF/basic.s
lld/trunk/test/ELF/basic32.s
lld/trunk/test/ELF/build-id.s
lld/trunk/test/ELF/default-output.s
lld/trunk/test/ELF/eh-frame-hdr-no-out2.s
lld/trunk/test/ELF/eh-frame-hdr.s
lld/trunk/test/ELF/emulation.s
lld/trunk/test/ELF/init-fini.s
lld/trunk/test/ELF/libsearch.s
lld/trunk/test/ELF/linkerscript-locationcounter.s
lld/trunk/test/ELF/linkerscript-sections.s
lld/trunk/test/ELF/linkerscript.s
lld/trunk/test/ELF/no-inhibit-exec.s
lld/trunk/test/ELF/relocatable-bss.s
lld/trunk/test/ELF/strip-all.s
lld/trunk/test/ELF/sysroot.s
lld/trunk/test/ELF/undefined-opt.s
lld/trunk/test/ELF/whole-archive.s
Modified: lld/trunk/test/ELF/Inputs/archive.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/Inputs/archive.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/Inputs/archive.s (original)
+++ lld/trunk/test/ELF/Inputs/archive.s Tue Apr 26 21:58:27 2016
@@ -1,5 +1,5 @@
-.globl _start;
+.globl _start
_start:
-.globl end;
+.globl end
end:
Modified: lld/trunk/test/ELF/Inputs/libsearch-dyn.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/Inputs/libsearch-dyn.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/Inputs/libsearch-dyn.s (original)
+++ lld/trunk/test/ELF/Inputs/libsearch-dyn.s Tue Apr 26 21:58:27 2016
@@ -1,3 +1,3 @@
-.globl _bar,_dynamic;
+.globl _bar,_dynamic
_bar:
_dynamic:
Modified: lld/trunk/test/ELF/Inputs/libsearch-st.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/Inputs/libsearch-st.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/Inputs/libsearch-st.s (original)
+++ lld/trunk/test/ELF/Inputs/libsearch-st.s Tue Apr 26 21:58:27 2016
@@ -1,3 +1,3 @@
-.globl _bar,_static;
+.globl _bar,_static
_bar:
_static:
Modified: lld/trunk/test/ELF/Inputs/whole-archive.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/Inputs/whole-archive.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/Inputs/whole-archive.s (original)
+++ lld/trunk/test/ELF/Inputs/whole-archive.s Tue Apr 26 21:58:27 2016
@@ -1,2 +1,2 @@
-.globl _bar;
+.globl _bar
_bar:
Modified: lld/trunk/test/ELF/basic-aarch64.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/basic-aarch64.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/basic-aarch64.s (original)
+++ lld/trunk/test/ELF/basic-aarch64.s Tue Apr 26 21:58:27 2016
@@ -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
Modified: lld/trunk/test/ELF/basic.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/basic.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/basic.s (original)
+++ lld/trunk/test/ELF/basic.s Tue Apr 26 21:58:27 2016
@@ -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
Modified: lld/trunk/test/ELF/basic32.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/basic32.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/basic32.s (original)
+++ lld/trunk/test/ELF/basic32.s Tue Apr 26 21:58:27 2016
@@ -4,7 +4,7 @@
# REQUIRES: x86
# exits with return code 42 on linux
-.globl _start;
+.globl _start
_start:
mov $1, %eax
mov $42, %ebx
Modified: lld/trunk/test/ELF/build-id.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/build-id.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/build-id.s (original)
+++ lld/trunk/test/ELF/build-id.s Tue Apr 26 21:58:27 2016
@@ -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
Modified: lld/trunk/test/ELF/default-output.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/default-output.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/default-output.s (original)
+++ lld/trunk/test/ELF/default-output.s Tue Apr 26 21:58:27 2016
@@ -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
Modified: lld/trunk/test/ELF/eh-frame-hdr-no-out2.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/eh-frame-hdr-no-out2.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/eh-frame-hdr-no-out2.s (original)
+++ lld/trunk/test/ELF/eh-frame-hdr-no-out2.s Tue Apr 26 21:58:27 2016
@@ -7,7 +7,7 @@
nop
.text
-.globl _start;
+.globl _start
_start:
// There is no .eh_frame section,
Modified: lld/trunk/test/ELF/eh-frame-hdr.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/eh-frame-hdr.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/eh-frame-hdr.s (original)
+++ lld/trunk/test/ELF/eh-frame-hdr.s Tue Apr 26 21:58:27 2016
@@ -22,7 +22,7 @@
.cfi_endproc
.text
-.globl _start;
+.globl _start
_start:
// NOHDR: Sections [
Modified: lld/trunk/test/ELF/emulation.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/emulation.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/emulation.s (original)
+++ lld/trunk/test/ELF/emulation.s Tue Apr 26 21:58:27 2016
@@ -204,5 +204,5 @@
# REQUIRES: x86,ppc,mips,aarch64
-.globl _start;
+.globl _start
_start:
Modified: lld/trunk/test/ELF/init-fini.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/init-fini.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/init-fini.s (original)
+++ lld/trunk/test/ELF/init-fini.s Tue Apr 26 21:58:27 2016
@@ -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
Modified: lld/trunk/test/ELF/libsearch.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/libsearch.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/libsearch.s (original)
+++ lld/trunk/test/ELF/libsearch.s Tue Apr 26 21:58:27 2016
@@ -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:
Modified: lld/trunk/test/ELF/linkerscript-locationcounter.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-locationcounter.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/linkerscript-locationcounter.s (original)
+++ lld/trunk/test/ELF/linkerscript-locationcounter.s Tue Apr 26 21:58:27 2016
@@ -293,7 +293,7 @@
# RUN: FileCheck --check-prefix=TERNERR %s
# TERNERR: unexpected EOF
-.globl _start;
+.globl _start
_start:
nop
Modified: lld/trunk/test/ELF/linkerscript-sections.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-sections.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/linkerscript-sections.s (original)
+++ lld/trunk/test/ELF/linkerscript-sections.s Tue Apr 26 21:58:27 2016
@@ -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
Modified: lld/trunk/test/ELF/linkerscript.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/linkerscript.s (original)
+++ lld/trunk/test/ELF/linkerscript.s Tue Apr 26 21:58:27 2016
@@ -112,7 +112,7 @@
# ERR1: unknown directive: FOO
-.globl _start, _label;
+.globl _start, _label
_start:
mov $60, %rax
mov $42, %rdi
Modified: lld/trunk/test/ELF/no-inhibit-exec.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/no-inhibit-exec.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/no-inhibit-exec.s (original)
+++ lld/trunk/test/ELF/no-inhibit-exec.s Tue Apr 26 21:58:27 2016
@@ -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
Modified: lld/trunk/test/ELF/relocatable-bss.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocatable-bss.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocatable-bss.s (original)
+++ lld/trunk/test/ELF/relocatable-bss.s Tue Apr 26 21:58:27 2016
@@ -32,7 +32,7 @@
# CHECK-NEXT: }
.text
-.globl _start;
+.globl _start
_start:
nop
Modified: lld/trunk/test/ELF/strip-all.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/strip-all.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/strip-all.s (original)
+++ lld/trunk/test/ELF/strip-all.s Tue Apr 26 21:58:27 2016
@@ -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
Modified: lld/trunk/test/ELF/sysroot.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/sysroot.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/sysroot.s (original)
+++ lld/trunk/test/ELF/sysroot.s Tue Apr 26 21:58:27 2016
@@ -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:
Modified: lld/trunk/test/ELF/undefined-opt.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/undefined-opt.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/undefined-opt.s (original)
+++ lld/trunk/test/ELF/undefined-opt.s Tue Apr 26 21:58:27 2016
@@ -59,7 +59,7 @@
# EXPORT-SO: Name: export
# EXPORT-SO: ]
-.globl _start;
+.globl _start
_start:
.globl export
Modified: lld/trunk/test/ELF/whole-archive.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/whole-archive.s?rev=267659&r1=267658&r2=267659&view=diff
==============================================================================
--- lld/trunk/test/ELF/whole-archive.s (original)
+++ lld/trunk/test/ELF/whole-archive.s Tue Apr 26 21:58:27 2016
@@ -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:
More information about the llvm-commits
mailing list