diff options
author | Jose E. Marchesi <jose.marchesi@oracle.com> | 2018-09-04 20:19:06 +0200 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2018-09-04 20:31:41 +0200 |
commit | e920c014ecd9fbb630c76576d2771aa4631d93f7 (patch) | |
tree | ccb138b08d6baf5d7fe7669025493e2f7b376bf8 /bfd/pei-i386.c | |
parent | 8410d65b77164d020a45cc9aa17a0147dc76862d (diff) | |
download | gdb-e920c014ecd9fbb630c76576d2771aa4631d93f7.zip gdb-e920c014ecd9fbb630c76576d2771aa4631d93f7.tar.gz gdb-e920c014ecd9fbb630c76576d2771aa4631d93f7.tar.bz2 |
bfd, sparc: avoid duplicated error messages on invalid relocations.
This patch avoids a duplicated error message when an invalid
relocation number is read from an object file in sparc-* ELF targets:
$ strip -g test.o
strip: test.o: unsupported relocation type 0xd7
strip: test.o: unsupported relocation type 0xd7
strip: test.o: bad value
Tested in x86_64-linux-gnu, sparc64-linux-gnu and sparc-linux-gnu
targets.
bfd/ChangeLog:
2018-09-04 Jose E. Marchesi <jose.marchesi@oracle.com>
* elfxx-sparc.c (_bfd_sparc_elf_info_to_howto): Do not issue an
error when an invalid relocation is passed; this is already done
by `_bfd_sparc_elf_info_to_howto_ptr'.
Diffstat (limited to 'bfd/pei-i386.c')
0 files changed, 0 insertions, 0 deletions