mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
c12d9fa2af
* 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.
13 lines
243 B
Makefile
13 lines
243 B
Makefile
#PROG: objcopy
|
|
#source: remove-relocs-01.s
|
|
#objcopy: --remove-relocations=.data.relocs.0\[12\]
|
|
#readelf: -r
|
|
#notarget: "mips64*-*-openbsd*"
|
|
|
|
Relocation section '\.rela?\.data\.relocs\.03' at offset 0x[0-9a-f]+ contains 3 entries:
|
|
.*
|
|
.*
|
|
.*
|
|
.*
|
|
|