blob: bf8dbf7593f0e031c80dfd8f880a2c917dbfd944 [file] [log] [blame]
# ELF files can have mergeable strings which are global!, treat them as global
# defined atoms
RUN: lld -flavor old-gnu --output-filetype=yaml %p/Inputs/globalconst.o.x86-64 \
RUN: --noinhibit-exec -target x86_64 | FileCheck -check-prefix=globalatoms %s
globalatoms: - name: mystr
globalatoms: scope: global
globalatoms: type: constant
globalatoms: content: [ 66, 6F, 6F, 62, 61, 72, 00 ]
globalatoms: section-choice: custom-required
globalatoms: section-name: .rodata.str1.1