]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-elf/flags1.d
Add a linker warning when creating potentially dangerous executable segments. Add...
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-elf / flags1.d
CommitLineData
e6760bcc 1#name: --set-section-flags test 1 (sections)
ba951afb 2#ld: -Tflags1.ld --no-warn-rwx-segments
2a64e9e8 3#objcopy_linked_file: --set-section-flags .post_text_reserve=contents,alloc,load,readonly,code
924bc11b 4#readelf: -S --wide
e6760bcc
L
5
6#...
924bc11b 7Section Headers:
e6760bcc 8#...
924bc11b
PS
9 \[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t0-9a-f]+AX.*
10 \[[ 0-9]+\] \.post_text_reserve.*[ \t]+PROGBITS[ \t0-9a-f]+AX.*
e6760bcc 11#pass