Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-elf/flags1.d

12 lines
330 B
D
Raw Normal View History

2023-03-06 14:48:14 +01:00
#name: --set-section-flags test 1 (sections)
#ld: -Tflags1.ld
#objcopy_linked_file: --set-section-flags .post_text_reserve=contents,alloc,load,readonly,code
#readelf: -S --wide
#...
Section Headers:
#...
\[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t0-9a-f]+AX.*
\[[ 0-9]+\] \.post_text_reserve.*[ \t]+PROGBITS[ \t0-9a-f]+AX.*
#pass