[ELF,test] Set alignment of SHT_GROUP to 4

Fixes: 0930f62cf600d9e2e9a45fef1b3a422d50be89d5

This makes the test more conforming and fixes a -fsanitize=alignment
failure in finalizeShtGroup.
This commit is contained in:
Fangrui Song 2024-01-09 10:59:48 -08:00
parent a50ea2f76f
commit 0ab5d8ba02

View File

@ -31,6 +31,7 @@ Sections:
Type: SHT_GROUP
Link: .symtab
Info: foo
AddressAlign: 4
Members:
- SectionOrType: GRP_COMDAT
- SectionOrType: .bss