| #name: Dynamic segment sections 2 |
| #ld: -shared -T dynamic-sections-2.ld |
| #readelf: -Wl |
| #target: [check_shared_lib_support] |
| #source: dynamic-sections.s |
| |
| Elf file type is DYN \(Shared object file\) |
| Entry point 0x0 |
| There are 3 program headers, starting at offset .* |
| |
| Program Headers: |
| Type Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg +Align |
| ABIFLAGS .* |
| LOAD .* |
| DYNAMIC [^ ]+ +[^ ]+ +[^ ]+ +(0x[0-9a-f]+) +\1 +.* |
| |
| Section to Segment mapping: |
| Segment Sections\.\.\. |
| 00 .* |
| 01 .* |
| 02 \.dynamic \.hash \.data \.dynsym \.dynstr |