mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
af3c5dea22
PR binutils/2593 * binutils-all/copy-1.d: New file. * binutils-all/copy-1.s: Likewise. * binutils-all/copy-2.d: Likewise. * binutils-all/objcopy.exp: Add run_dump_test "copy-1" and run_dump_test "copy-2". * lib/utils-lib.exp (run_dump_test): New. (slurp_options): Likewise. (regexp_diff): Likewise. (file_contents): Likewise. (verbose_eval): Likewise.
14 lines
285 B
D
14 lines
285 B
D
#PROG: objcopy
|
|
#objdump: -h
|
|
#objcopy: --set-section-flags .post_text_reserve=contents,alloc,load,readonly,code
|
|
#name: copy with seting section flags 1
|
|
|
|
.*: +file format .*
|
|
|
|
Sections:
|
|
Idx.*
|
|
#...
|
|
[0-9]* .post_text_reserve.*
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
#...
|