brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · 63b8fde Raw
33 lines · plain
1## phdrs.elf-x86-64 was generated using lld (3.9).2## llvm-mc -filetype=obj -triple=x86_64-unknown-linux test.s -o test.o3## lld test.o -o phdrs.elf-x86-644##5## test.s:6## .global _start7## _start:8##9## .global d10## .section .foo,"awT",@progbits11## d:12## .long 213##14RUN: llvm-objdump -p %p/Inputs/phdrs.elf-x86-64 \15RUN:     | FileCheck %s16 17CHECK: RELRO off    0x0000000000001000 vaddr 0x0000000000201000 paddr 0x0000000000201000 align 2**018CHECK-NEXT:      filesz 0x0000000000000004 memsz 0x0000000000001000 flags r--19 20## phdr-note.elf-x86-64 was generated using lld (3.9).21## llvm-mc -filetype=obj -triple=x86_64-pc-linux test.s -o test.o22## lld test.o -o phdr-note.elf-x86-64 -shared23##24## test.s:25##       .section        .note.test,"a",@note26##       .quad 4227 28RUN: llvm-objdump -p %p/Inputs/phdr-note.elf-x86-64 \29RUN:     | FileCheck %s --check-prefix=NOTE30 31NOTE: NOTE off    0x0000000000000200 vaddr 0x0000000000000200 paddr 0x0000000000000200 align 2**032NOTE-NEXT:       filesz 0x0000000000000008 memsz 0x0000000000000008 flags r--33