[ELF] Explicitly configure sections alignment in the tests. NFC
authorSimon Atanasyan <simon@atanasyan.com>
Thu, 9 Jul 2015 18:22:55 +0000 (18:22 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Thu, 9 Jul 2015 18:22:55 +0000 (18:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241834 91177308-0d34-0410-b5e6-96231b3b80d8

test/Object/Mips/elf-mips64-rel.yaml
test/Object/yaml2obj-elf-symbol-basic.yaml

index 8b595099b9e587ab306aa87920e8c05f611a8cdb..7c41b78e6adc9ab0cbcc26971caa02ecd92a1d22 100644 (file)
@@ -58,6 +58,7 @@ Sections:
   - Name:            .rela.text
     Type:            SHT_RELA
     Flags:           [ SHF_INFO_LINK ]
+    AddressAlign:    0x8
     Info:            .text
     Relocations:
       - Offset:      0x14
index 6d49ddd1c422a60f6d17792b15ea8c817b25af44..b17c0429bd47b664c8f3399614bfd0397025347b 100644 (file)
@@ -9,6 +9,7 @@ Sections:
   - Name: .text
     Type: SHT_PROGBITS
     Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
+    AddressAlign: 0x4
     Content: "90EBFE" # x86 machine code
                       #   NOP ; To make main's `Value` non-zero (for testing).
                       # main: