From ad5ca2245ef99413f521e6b0a4fc4ffc90e48da8 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 28 Aug 2015 02:53:05 +0000 Subject: [PATCH] Remove irrelevant parts of the test. llvm-svn: 246265 --- lld/test/elf2/invalid-relocations.test | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lld/test/elf2/invalid-relocations.test b/lld/test/elf2/invalid-relocations.test index b9d34756508e..13a7ab556d1a 100644 --- a/lld/test/elf2/invalid-relocations.test +++ b/lld/test/elf2/invalid-relocations.test @@ -4,15 +4,10 @@ FileHeader: Class: ELFCLASS64 Data: ELFDATA2LSB - OSABI: ELFOSABI_GNU Type: ET_REL Machine: EM_X86_64 Sections: - - Name: .text - Type: SHT_PROGBITS - Flags: [ SHF_ALLOC, SHF_EXECINSTR ] - AddressAlign: 0x0000000000000004 - Content: E800000000 + - Type: SHT_PROGBITS - Name: .rela.text Type: SHT_RELA Info: 12 # Invalid index @@ -20,11 +15,8 @@ Sections: - Offset: 0x0000000000000001 Symbol: lulz Type: R_X86_64_PC32 - Addend: -4 Symbols: Global: - Name: lulz - Type: STT_FUNC - Section: .text # CHECK: Invalid relocated section index