Add testcase for PR 25662 invalid sh_offset for section
authorJozef Lawrynowicz <jozef.l@mittosystems.com>
Fri, 27 Mar 2020 10:54:26 +0000 (10:54 +0000)
committerJozef Lawrynowicz <jozef.l@mittosystems.com>
Fri, 27 Mar 2020 10:54:26 +0000 (10:54 +0000)
commit1fafefd59438f92206e65ea6b2022d82c5ccfe12
tree49b5c65c823a62e0309d4e9d1883f62f637019a7
parent80e2a3b66ed9055fc26a1e5e26c6158b1c87111d
Add testcase for PR 25662 invalid sh_offset for section

binutils/ChangeLog:

2020-03-27  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

PR binutils/25662
* testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
specify whether an object file or executable should be built and tested.
Change test names to report whether an object file or executable is
being tested.
* testsuite/binutils-all/pr25662.ld: New test.
* testsuite/binutils-all/pr25662.s: New test.
binutils/ChangeLog
binutils/testsuite/binutils-all/objcopy.exp
binutils/testsuite/binutils-all/pr25662.ld [new file with mode: 0644]
binutils/testsuite/binutils-all/pr25662.s [new file with mode: 0644]