1// Test that llvm-readobj dumps DF_XXX and DF_1_XXX flags correctly. 2// The input was generated using the following: 3// $ clang -Wl,-z,origin -Wl,-z,now example.c 4// $ cat example.c 5// int main(void) { return (0); } 6 7RUN: llvm-readobj -dynamic-table %p/Inputs/dtflags.elf-x86-64 | FileCheck %s 8 9CHECK: 0x000000000000001E FLAGS ORIGIN BIND_NOW 10CHECK: 0x000000006FFFFFFB FLAGS_1 NOW ORIGIN 11