[lld] r246265 - Remove irrelevant parts of the test.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 27 19:53:05 PDT 2015


Author: rafael
Date: Thu Aug 27 21:53:05 2015
New Revision: 246265

URL: http://llvm.org/viewvc/llvm-project?rev=246265&view=rev
Log:
Remove irrelevant parts of the test.

Modified:
    lld/trunk/test/elf2/invalid-relocations.test

Modified: lld/trunk/test/elf2/invalid-relocations.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/invalid-relocations.test?rev=246265&r1=246264&r2=246265&view=diff
==============================================================================
--- lld/trunk/test/elf2/invalid-relocations.test (original)
+++ lld/trunk/test/elf2/invalid-relocations.test Thu Aug 27 21:53:05 2015
@@ -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




More information about the llvm-commits mailing list