# Check handling a zero-filled input .MIPS.options section. # RUN: yaml2obj -format=elf %s > %t.o # RUN: lld -flavor old-gnu -target mips64el -shared -o %t.so %t.o # RUN: llvm-objdump -s -t %t.so | FileCheck %s # CHECK: Contents of section .MIPS.options: # CHECK-NEXT: {{[0-9a-f]+}} 01280000 00000000 00000000 00000000 # CHECK-NEXT: {{[0-9a-f]+}} 00000000 00000000 00000000 00000000 # CHECK-NEXT: {{[0-9a-f]+}} f08f0000 00000000 # CHECK: SYMBOL TABLE: # CHECK: 00008ff0 g *ABS* 00000000 _gp FileHeader: Class: ELFCLASS64 Data: ELFDATA2LSB Type: ET_REL Machine: EM_MIPS Flags: [EF_MIPS_CPIC, EF_MIPS_PIC, EF_MIPS_ARCH_64R2] Sections: - Name: .text Type: SHT_PROGBITS Size: 4 AddressAlign: 16 Flags: [ SHF_ALLOC, SHF_EXECINSTR ] - Name: .MIPS.options Type: SHT_MIPS_OPTIONS Flags: [ SHF_ALLOC ] AddressAlign: 8 Content: "01280000000000000000000000000000000000000000000000000000000000000000000000000000" Symbols: Global: - Name: T0 Section: .text Type: STT_FUNC Value: 0 Size: 4