Fix reloc section alignment in test.

This should fix the ubsan bot.

We still have to fix lld to produce a clean error on unaligned reloc
sections.

llvm-svn: 319385
This commit is contained in:
Rafael Espindola 2017-11-29 23:39:12 +00:00
parent d1b2d22d37
commit e10568364e
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ Sections:
Content: '0000000000000000'
- Name: .rela.text
Type: SHT_RELA
AddressAlign: 8
Link: .symtab
Info: .text
Relocations:
@ -30,6 +31,7 @@ Sections:
Type: SHT_PROGBITS
Content: 3300000002001C0000000101FB0E0D000101010100000001000001006162632E7300000000000009020000000000000000140208000101
- Name: .rela.debug_line
AddressAlign: 8
Type: SHT_RELA
Link: .symtab
Info: .debug_line