diff options
Diffstat (limited to 'test/old-elf/initfini-options.test-1.test')
-rw-r--r-- | test/old-elf/initfini-options.test-1.test | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/test/old-elf/initfini-options.test-1.test b/test/old-elf/initfini-options.test-1.test deleted file mode 100644 index f8571a637197..000000000000 --- a/test/old-elf/initfini-options.test-1.test +++ /dev/null @@ -1,33 +0,0 @@ -# Check that if there are no -init/-fini options and _init/_fini symbols -# are undefined the linker does not emit DT_INIT/DT_FINI tags. - -# RUN: yaml2obj -format=elf %s > %t.o -# RUN: lld -flavor old-gnu -target x86_64 -shared --noinhibit-exec -o %t.so %t.o -# RUN: llvm-readobj -dynamic-table %t.so | FileCheck %s - -# CHECK-NOT: 0x000000000000000C INIT 0x{{[0-9A-F]+}} -# CHECK-NOT: 0x000000000000000D FINI 0x{{[0-9A-F]+}} - ---- -FileHeader: - Class: ELFCLASS64 - Data: ELFDATA2LSB - Type: ET_REL - Machine: EM_X86_64 - -Sections: - - Name: .text - Type: SHT_PROGBITS - Flags: [ SHF_ALLOC, SHF_EXECINSTR ] - AddressAlign: 0x04 - Size: 0x08 - -Symbols: - Global: - - Name: _start - Type: STT_FUNC - Section: .text - Size: 0x08 - - Name: _init - - Name: _fini -... |