Browse Source
* 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.users/ahayward/variable_sve2
9 changed files with 39 additions and 6 deletions
@ -0,0 +1,6 @@ |
|||
#PROG: objcopy |
|||
#source: remove-relocs-07.s |
|||
#objcopy: --remove-relocations=FOO |
|||
#readelf: -r |
|||
|
|||
There are no relocations in this file\. |
|||
@ -0,0 +1,2 @@ |
|||
.section "FOO","aw",%progbits |
|||
.dc.a x |
|||
@ -0,0 +1,6 @@ |
|||
#PROG: objcopy |
|||
#source: remove-relocs-07.s |
|||
#objcopy: --remove-section=.relFOO --remove-section=.relaFOO |
|||
#readelf: -r |
|||
|
|||
There are no relocations in this file\. |
|||
Loading…
Reference in new issue