| # RUN: llvm-nm --no-sort %t | FileCheck %s |
| ## We used to be wrong with some linker synthesized symbols. |
| ## We mark __init_array_start as 'd', as consistent with GNU nm >= 2.33 (older GNU |
| ## nm marks it as 't'). See https://sourceware.org/bugzilla/show_bug.cgi?id=24511 |
| # CHECK: d __fini_array_start |
| # CHECK: d __init_array_start |
| # CHECK: d __preinit_array_start |
| Flags: [ SHF_ALLOC, SHF_EXECINSTR ] |
| Flags: [ SHF_ALLOC, SHF_WRITE ] |
| Flags: [ SHF_ALLOC, SHF_WRITE ] |
| Flags: [ SHF_ALLOC, SHF_WRITE ] |
| Flags: [ SHF_ALLOC, SHF_WRITE ] |
| Flags: [ SHF_ALLOC, SHF_WRITE ] |
| - Name: __fini_array_start |
| - Name: __init_array_start |
| - Name: __preinit_array_start |