Retro68/binutils/ld/testsuite/ld-elf/flags1.d

12 lines
330 B
D
Raw Normal View History

2012-03-26 19:18:29 +00: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
2017-04-10 11:32:00 +00:00
#readelf: -S --wide
2012-03-26 19:18:29 +00:00
#...
2017-04-10 11:32:00 +00:00
Section Headers:
2012-03-26 19:18:29 +00:00
#...
2017-04-10 11:32:00 +00:00
\[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t0-9a-f]+AX.*
\[[ 0-9]+\] \.post_text_reserve.*[ \t]+PROGBITS[ \t0-9a-f]+AX.*
2012-03-26 19:18:29 +00:00
#pass