forked from Imagelibrary/binutils-gdb
Add a testcase for PR binutils/23633
PR binutils/23633 * testsuite/binutils-all/objcopy.exp: Run pr23633. * testsuite/binutils-all/pr23633.d: New file. * testsuite/binutils-all/pr23633.list: Likewise. * testsuite/binutils-all/pr23633.s: Likewise.
This commit is contained in:
@@ -1256,3 +1256,5 @@ proc objcopy_remove_relocations_from_executable { } {
|
||||
}
|
||||
|
||||
objcopy_remove_relocations_from_executable
|
||||
|
||||
run_dump_test "pr23633"
|
||||
|
||||
8
binutils/testsuite/binutils-all/pr23633.d
Normal file
8
binutils/testsuite/binutils-all/pr23633.d
Normal file
@@ -0,0 +1,8 @@
|
||||
#source: pr23633.s
|
||||
#PROG: objcopy
|
||||
#objcopy: -S --keep-symbols=$srcdir/pr23633.list
|
||||
#objdump: -s
|
||||
|
||||
#...
|
||||
Contents of section .text:
|
||||
0000 00000000.*
|
||||
2417
binutils/testsuite/binutils-all/pr23633.list
Normal file
2417
binutils/testsuite/binutils-all/pr23633.list
Normal file
File diff suppressed because it is too large
Load Diff
4
binutils/testsuite/binutils-all/pr23633.s
Normal file
4
binutils/testsuite/binutils-all/pr23633.s
Normal file
@@ -0,0 +1,4 @@
|
||||
.text
|
||||
.global _start
|
||||
_start:
|
||||
.long 0
|
||||
Reference in New Issue
Block a user