coff-sh.c keep_relocs, keep_contents and keep_syms
authorAlan Modra <amodra@gmail.com>
Wed, 8 Feb 2023 13:21:04 +0000 (23:51 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 8 Feb 2023 23:10:51 +0000 (09:40 +1030)
commitec78da9ce6540bdcc2aeb3e01ffdbbac957cbe07
tree1f07d4e070c91822a94d687361aefd15428ce25e
parent389903128ac5686dc83efd121339158465614d67
coff-sh.c keep_relocs, keep_contents and keep_syms

keep_relocs and keep_contents are unused nowadays except by
xcofflink.c, and I can't see a reason why keep_syms needs to be set.
The external syms are read and used by sh_relax_section and used by
sh_relax_delete_bytes.  There doesn't appear to be any way that
freeing them will cause trouble.

* coff-sh.c (sh_relax_section): Don't set keep_relocs,
keep_contents or keep_syms.
(sh_relax_delete_bytes): Don't set keep_contents.
bfd/coff-sh.c