diff options
author | Rui Ueyama <ruiu@google.com> | 2015-10-13 16:13:18 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2015-10-13 16:13:18 +0000 |
commit | adf666010f701378bc4d27d7eda9b7e20ce3767f (patch) | |
tree | 990f9124eb6150a7cc5632dfaa21348b90304f54 | |
parent | 9fd8fcb5a4644bc6377f5a3c8f0f826af7f38545 (diff) | |
download | bcm5719-llvm-adf666010f701378bc4d27d7eda9b7e20ce3767f.tar.gz bcm5719-llvm-adf666010f701378bc4d27d7eda9b7e20ce3767f.zip |
Remove trailing whitespaces.
llvm-svn: 250170
-rw-r--r-- | lld/ELF/OutputSections.cpp | 2 | ||||
-rw-r--r-- | lld/test/elf2/new-dtags.test | 4 | ||||
-rw-r--r-- | lld/test/elf2/plt-i686.s | 4 | ||||
-rw-r--r-- | lld/test/elf2/plt.s | 2 | ||||
-rw-r--r-- | lld/test/elf2/relocation.s | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp index 872dd7b6ad6..3b9ab973a64 100644 --- a/lld/ELF/OutputSections.cpp +++ b/lld/ELF/OutputSections.cpp @@ -108,7 +108,7 @@ template <class ELFT> void PltSection<ELFT>::writeTo(uint8_t *Buf) { size_t Off = 0; // First write PLT[0] entry which is special. Target->writePltZeroEntry(Buf, Out<ELFT>::GotPlt->getVA(), this->getVA()); - Off += Target->getPltZeroEntrySize(); + Off += Target->getPltZeroEntrySize(); for (const SymbolBody *E : Entries) { uint64_t Got = Out<ELFT>::GotPlt->getEntryAddr(*E); uint64_t Plt = this->getVA() + Off; diff --git a/lld/test/elf2/new-dtags.test b/lld/test/elf2/new-dtags.test index 99453545afc..00e5bdc8ec0 100644 --- a/lld/test/elf2/new-dtags.test +++ b/lld/test/elf2/new-dtags.test @@ -1,8 +1,8 @@ // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o // RUN: ld.lld2 %t.o -rpath=/somepath -shared --disable-new-dtags -o %t // RUN: ld.lld2 %t.o -rpath=/somepath -shared --enable-new-dtags -o %t2 -// RUN: llvm-readobj --dynamic-table %t | FileCheck --check-prefix=DISABLE %s -// RUN: llvm-readobj --dynamic-table %t2 | FileCheck --check-prefix=ENABLE %s +// RUN: llvm-readobj --dynamic-table %t | FileCheck --check-prefix=DISABLE %s +// RUN: llvm-readobj --dynamic-table %t2 | FileCheck --check-prefix=ENABLE %s // DISABLE: DynamicSection [ // DISABLE: 0x000000000000000F RPATH /somepath diff --git a/lld/test/elf2/plt-i686.s b/lld/test/elf2/plt-i686.s index b5f8371d1b8..c28107d29d6 100644 --- a/lld/test/elf2/plt-i686.s +++ b/lld/test/elf2/plt-i686.s @@ -69,8 +69,8 @@ // DISASM-NEXT: 11030: ff 25 32 10 00 00 jmpl *4146 // DISASM-NEXT: 11036: 68 01 00 00 00 pushl $1 // DISASM-NEXT: 1103b: e9 d0 ff ff ff jmp -48 - - + + .global _start _start: jmp bar@PLT diff --git a/lld/test/elf2/plt.s b/lld/test/elf2/plt.s index 7b3451f2b62..f893fca3c36 100644 --- a/lld/test/elf2/plt.s +++ b/lld/test/elf2/plt.s @@ -56,7 +56,7 @@ // DISASM-NEXT: 1050: ff 25 82 10 00 00 jmpq *4226(%rip) // DISASM-NEXT: 1056: 68 02 00 00 00 pushq $2 // DISASM-NEXT: 105b: e9 c0 ff ff ff jmp -64 <bar+1020> - + .global _start _start: diff --git a/lld/test/elf2/relocation.s b/lld/test/elf2/relocation.s index b6df3d8d31c..7174779ef86 100644 --- a/lld/test/elf2/relocation.s +++ b/lld/test/elf2/relocation.s @@ -31,7 +31,7 @@ // SEC-NEXT: EntrySize: 0 // SEC-NEXT: } -// SEC: Name: .got.plt +// SEC: Name: .got.plt // SEC-NEXT: Type: SHT_PROGBITS // SEC-NEXT: Flags [ // SEC-NEXT: SHF_ALLOC |