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:
H.J. Lu 2018-09-13 09:09:00 -07:00
parent 1256af7d1a
commit 319dbdfbb7
5 changed files with 2439 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2018-09-13 H.J. Lu <hongjiu.lu@intel.com>
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.
2018-09-13 Nick Clifton <nickc@redhat.com>
PR 23633

View File

@ -1256,3 +1256,5 @@ proc objcopy_remove_relocations_from_executable { } {
}
objcopy_remove_relocations_from_executable
run_dump_test "pr23633"

View 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.*

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,4 @@
.text
.global _start
_start:
.long 0