mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-24 12:35:55 +08:00
15 lines
360 B
Makefile
15 lines
360 B
Makefile
#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: -l --wide
|
|
|
|
#...
|
|
Program Headers:
|
|
Type.*
|
|
LOAD +0x[0-9a-f]+ 0x0*0 0x0*0 0x0*016[1-8] 0x0*016[1-8] RWE 0x[0-9a-f]+
|
|
|
|
#...
|
|
Segment Sections...
|
|
00[ \t]+.text .post_text_reserve[ \t]*
|
|
#pass
|