[llvm] r257990 - Fixed CRLF->LF line endings from r257914. NFC.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 16 02:38:34 PST 2016
Author: grimar
Date: Sat Jan 16 04:38:32 2016
New Revision: 257990
URL: http://llvm.org/viewvc/llvm-project?rev=257990&view=rev
Log:
Fixed CRLF->LF line endings from r257914. NFC.
Modified:
llvm/trunk/test/tools/llvm-readobj/Inputs/dynamic-table.c
llvm/trunk/test/tools/llvm-readobj/dynamic.test
llvm/trunk/tools/llvm-readobj/ELFDumper.cpp
Modified: llvm/trunk/test/tools/llvm-readobj/Inputs/dynamic-table.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-readobj/Inputs/dynamic-table.c?rev=257990&r1=257989&r2=257990&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-readobj/Inputs/dynamic-table.c (original)
+++ llvm/trunk/test/tools/llvm-readobj/Inputs/dynamic-table.c Sat Jan 16 04:38:32 2016
@@ -1,14 +1,14 @@
// clang -target mipsel-linux-gnu -shared -fPIC -lc dynamic-table.c \
-// -o dynamic-table-so.mips
-// clang -target mipsel-linux-gnu -lc dynamic-table.c \
-// -o dynamic-table-exe.mips
-// clang -target aarch64-linux-gnu -fPIC -shared dynamic-table.c \
-// -o dynamic-table-so.aarch64
-int puts(const char *);
-
-__thread int foo;
-
-int main(void) {
- puts("Hello, World");
- foo = 0;
-}
+// -o dynamic-table-so.mips
+// clang -target mipsel-linux-gnu -lc dynamic-table.c \
+// -o dynamic-table-exe.mips
+// clang -target aarch64-linux-gnu -fPIC -shared dynamic-table.c \
+// -o dynamic-table-so.aarch64
+int puts(const char *);
+
+__thread int foo;
+
+int main(void) {
+ puts("Hello, World");
+ foo = 0;
+}
Modified: llvm/trunk/test/tools/llvm-readobj/dynamic.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-readobj/dynamic.test?rev=257990&r1=257989&r2=257990&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-readobj/dynamic.test (original)
+++ llvm/trunk/test/tools/llvm-readobj/dynamic.test Sat Jan 16 04:38:32 2016
@@ -108,43 +108,43 @@ ELF-X86-EXE: 0x0000001E FLAGS
ELF-X86-EXE: 0x6FFFFFFE VERNEED 0x4E4
ELF-X86-EXE: 0x6FFFFFFF VERNEEDNUM 3
ELF-X86-EXE: 0x6FFFFFF0 VERSYM 0x4C0
-ELF-X86-EXE: 0x6FFFFFFA RELCOUNT 6
-ELF-X86-EXE: 0x00000000 NULL 0x0
-ELF-X86-EXE: ]
-
-RUN: llvm-readobj -dynamic-table %p/Inputs/dynamic-table-so.aarch64 \
-RUN: | FileCheck %s -check-prefix ELF-AARCH64-SO
-
-ELF-AARCH64-SO: Format: ELF64-aarch64-little
-ELF-AARCH64-SO: Arch: aarch64
-ELF-AARCH64-SO: AddressSize: 64bit
-ELF-AARCH64-SO: LoadName:
-ELF-AARCH64-SO: DynamicSection [ (26 entries)
-ELF-AARCH64-SO: Tag Type Name/Value
-ELF-AARCH64-SO: 0x0000000000000001 NEEDED SharedLibrary (libc.so.6)
-ELF-AARCH64-SO: 0x000000000000000C INIT 0x660
-ELF-AARCH64-SO: 0x000000000000000D FINI 0x83C
-ELF-AARCH64-SO: 0x0000000000000019 INIT_ARRAY 0x10DB8
-ELF-AARCH64-SO: 0x000000000000001B INIT_ARRAYSZ 8 (bytes)
-ELF-AARCH64-SO: 0x000000000000001A FINI_ARRAY 0x10DC0
-ELF-AARCH64-SO: 0x000000000000001C FINI_ARRAYSZ 8 (bytes)
-ELF-AARCH64-SO: 0x000000006FFFFEF5 GNU_HASH 0x1F0
-ELF-AARCH64-SO: 0x0000000000000005 STRTAB 0x420
-ELF-AARCH64-SO: 0x0000000000000006 SYMTAB 0x240
-ELF-AARCH64-SO: 0x000000000000000A STRSZ 210 (bytes)
-ELF-AARCH64-SO: 0x000000000000000B SYMENT 24 (bytes)
-ELF-AARCH64-SO: 0x0000000000000003 PLTGOT 0x10FE8
-ELF-AARCH64-SO: 0x0000000000000002 PLTRELSZ 96 (bytes)
-ELF-AARCH64-SO: 0x0000000000000014 PLTREL RELA
-ELF-AARCH64-SO: 0x0000000000000017 JMPREL 0x600
-ELF-AARCH64-SO: 0x000000006FFFFEF6 TLSDESC_PLT 0x6D0
-ELF-AARCH64-SO: 0x000000006FFFFEF7 TLSDESC_GOT 0x10FE0
-ELF-AARCH64-SO: 0x0000000000000007 RELA 0x540
-ELF-AARCH64-SO: 0x0000000000000008 RELASZ 192 (bytes)
-ELF-AARCH64-SO: 0x0000000000000009 RELAENT 24 (bytes)
-ELF-AARCH64-SO: 0x000000006FFFFFFE VERNEED 0x520
-ELF-AARCH64-SO: 0x000000006FFFFFFF VERNEEDNUM 1
-ELF-AARCH64-SO: 0x000000006FFFFFF0 VERSYM 0x4F2
+ELF-X86-EXE: 0x6FFFFFFA RELCOUNT 6
+ELF-X86-EXE: 0x00000000 NULL 0x0
+ELF-X86-EXE: ]
+
+RUN: llvm-readobj -dynamic-table %p/Inputs/dynamic-table-so.aarch64 \
+RUN: | FileCheck %s -check-prefix ELF-AARCH64-SO
+
+ELF-AARCH64-SO: Format: ELF64-aarch64-little
+ELF-AARCH64-SO: Arch: aarch64
+ELF-AARCH64-SO: AddressSize: 64bit
+ELF-AARCH64-SO: LoadName:
+ELF-AARCH64-SO: DynamicSection [ (26 entries)
+ELF-AARCH64-SO: Tag Type Name/Value
+ELF-AARCH64-SO: 0x0000000000000001 NEEDED SharedLibrary (libc.so.6)
+ELF-AARCH64-SO: 0x000000000000000C INIT 0x660
+ELF-AARCH64-SO: 0x000000000000000D FINI 0x83C
+ELF-AARCH64-SO: 0x0000000000000019 INIT_ARRAY 0x10DB8
+ELF-AARCH64-SO: 0x000000000000001B INIT_ARRAYSZ 8 (bytes)
+ELF-AARCH64-SO: 0x000000000000001A FINI_ARRAY 0x10DC0
+ELF-AARCH64-SO: 0x000000000000001C FINI_ARRAYSZ 8 (bytes)
+ELF-AARCH64-SO: 0x000000006FFFFEF5 GNU_HASH 0x1F0
+ELF-AARCH64-SO: 0x0000000000000005 STRTAB 0x420
+ELF-AARCH64-SO: 0x0000000000000006 SYMTAB 0x240
+ELF-AARCH64-SO: 0x000000000000000A STRSZ 210 (bytes)
+ELF-AARCH64-SO: 0x000000000000000B SYMENT 24 (bytes)
+ELF-AARCH64-SO: 0x0000000000000003 PLTGOT 0x10FE8
+ELF-AARCH64-SO: 0x0000000000000002 PLTRELSZ 96 (bytes)
+ELF-AARCH64-SO: 0x0000000000000014 PLTREL RELA
+ELF-AARCH64-SO: 0x0000000000000017 JMPREL 0x600
+ELF-AARCH64-SO: 0x000000006FFFFEF6 TLSDESC_PLT 0x6D0
+ELF-AARCH64-SO: 0x000000006FFFFEF7 TLSDESC_GOT 0x10FE0
+ELF-AARCH64-SO: 0x0000000000000007 RELA 0x540
+ELF-AARCH64-SO: 0x0000000000000008 RELASZ 192 (bytes)
+ELF-AARCH64-SO: 0x0000000000000009 RELAENT 24 (bytes)
+ELF-AARCH64-SO: 0x000000006FFFFFFE VERNEED 0x520
+ELF-AARCH64-SO: 0x000000006FFFFFFF VERNEEDNUM 1
+ELF-AARCH64-SO: 0x000000006FFFFFF0 VERSYM 0x4F2
ELF-AARCH64-SO: 0x000000006FFFFFF9 RELACOUNT 3
-ELF-AARCH64-SO: 0x0000000000000000 NULL 0x0
-ELF-AARCH64-SO: ]
+ELF-AARCH64-SO: 0x0000000000000000 NULL 0x0
+ELF-AARCH64-SO: ]
Modified: llvm/trunk/tools/llvm-readobj/ELFDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-readobj/ELFDumper.cpp?rev=257990&r1=257989&r2=257990&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-readobj/ELFDumper.cpp (original)
+++ llvm/trunk/tools/llvm-readobj/ELFDumper.cpp Sat Jan 16 04:38:32 2016
@@ -1335,15 +1335,15 @@ static const char *getTypeString(uint64_
LLVM_READOBJ_TYPE_CASE(VERDEFNUM);
LLVM_READOBJ_TYPE_CASE(VERNEED);
LLVM_READOBJ_TYPE_CASE(VERNEEDNUM);
- LLVM_READOBJ_TYPE_CASE(VERSYM);
+ LLVM_READOBJ_TYPE_CASE(VERSYM);
LLVM_READOBJ_TYPE_CASE(RELACOUNT);
- LLVM_READOBJ_TYPE_CASE(RELCOUNT);
- LLVM_READOBJ_TYPE_CASE(GNU_HASH);
- LLVM_READOBJ_TYPE_CASE(TLSDESC_PLT);
- LLVM_READOBJ_TYPE_CASE(TLSDESC_GOT);
- LLVM_READOBJ_TYPE_CASE(MIPS_RLD_VERSION);
- LLVM_READOBJ_TYPE_CASE(MIPS_RLD_MAP_REL);
- LLVM_READOBJ_TYPE_CASE(MIPS_FLAGS);
+ LLVM_READOBJ_TYPE_CASE(RELCOUNT);
+ LLVM_READOBJ_TYPE_CASE(GNU_HASH);
+ LLVM_READOBJ_TYPE_CASE(TLSDESC_PLT);
+ LLVM_READOBJ_TYPE_CASE(TLSDESC_GOT);
+ LLVM_READOBJ_TYPE_CASE(MIPS_RLD_VERSION);
+ LLVM_READOBJ_TYPE_CASE(MIPS_RLD_MAP_REL);
+ LLVM_READOBJ_TYPE_CASE(MIPS_FLAGS);
LLVM_READOBJ_TYPE_CASE(MIPS_BASE_ADDRESS);
LLVM_READOBJ_TYPE_CASE(MIPS_LOCAL_GOTNO);
LLVM_READOBJ_TYPE_CASE(MIPS_SYMTABNO);
More information about the llvm-commits
mailing list