Support objcopy --remove-section=.relaFOO
authorAlan Modra <amodra@gmail.com>
Wed, 12 Sep 2018 05:27:48 +0000 (14:57 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 17 Sep 2018 14:01:18 +0000 (23:31 +0930)
commitc12d9fa2afe7abcbe407a00e15719e1a1350c2a7
treea766a5fd206554f404b2e84ed11582b8c84d0d90
parenta4b9568c7ee95891de6f5ba846f2d1aaf61569cd
Support objcopy --remove-section=.relaFOO

* objcopy.c (handle_remove_section_option): Don't require a dot
after .rela and .rel to handle a possible relocation section.
* testsuite/binutils-all/remove-relocs-07.s,
* testsuite/binutils-all/remove-relocs-07.d,
* testsuite/binutils-all/remove-relocs-08.d: New tests.
* testsuite/binutils-all/remove-relocs-01.d,
* testsuite/binutils-all/remove-relocs-04.d,
* testsuite/binutils-all/remove-relocs-05.d,
* testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
binutils/ChangeLog
binutils/objcopy.c
binutils/testsuite/binutils-all/remove-relocs-01.d
binutils/testsuite/binutils-all/remove-relocs-04.d
binutils/testsuite/binutils-all/remove-relocs-05.d
binutils/testsuite/binutils-all/remove-relocs-06.d
binutils/testsuite/binutils-all/remove-relocs-07.d [new file with mode: 0644]
binutils/testsuite/binutils-all/remove-relocs-07.s [new file with mode: 0644]
binutils/testsuite/binutils-all/remove-relocs-08.d [new file with mode: 0644]
This page took 0.024622 seconds and 4 git commands to generate.