Home | History | Annotate | Download | only in ld-elf
      1 #name: --set-section-flags test 1 (sections)
      2 #ld: -Tflags1.ld
      3 #objcopy_linked_file: --set-section-flags .post_text_reserve=contents,alloc,load,readonly,code
      4 #readelf: -S --wide
      5 
      6 #...
      7 Section Headers:
      8 #...
      9   \[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t0-9a-f]+AX.*
     10   \[[ 0-9]+\] \.post_text_reserve.*[ \t]+PROGBITS[ \t0-9a-f]+AX.*
     11 #pass
     12