Pass --disable-reloc-section on PE targets for PR 25662 test
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 8 Sep 2020 17:01:45 +0000 (10:01 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 8 Sep 2020 17:01:45 +0000 (10:01 -0700)
commit790147a9e9ee05542c621a36669288413880c876
tree69d9de6e3edbc9c1e9b97344094baa7dd17b02d6
parentd706b69e48268ccf3e95fd29b5374ac94c3a507b
Pass --disable-reloc-section on PE targets for PR 25662 test

Pass --disable-reloc-section on PE targets for PR 25662 test since

commit 514b4e191d5f46de8e142fe216e677a35fa9c4bb

Author: Jeremy Drake <sourceware-bugzilla@jdrake.com>
Date:   Thu Aug 27 12:58:27 2020 +0100

    Change the default characteristics of DLLs built by the linker to more secure settings.

defaulted to --enable-reloc-section.

PR ld/26587
* testsuite/binutils-all/objcopy.exp: Pass --disable-reloc-section
to ld on PE targets for PR 25662 test.
binutils/ChangeLog
binutils/testsuite/binutils-all/objcopy.exp