commit | ec78da9ce6540bdcc2aeb3e01ffdbbac957cbe07 | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Wed Feb 08 23:51:04 2023 +1030 |
committer | Alan Modra <amodra@gmail.com> | Thu Feb 09 09:40:51 2023 +1030 |
tree | 1f07d4e070c91822a94d687361aefd15428ce25e | |
parent | 389903128ac5686dc83efd121339158465614d67 [diff] |
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.