arc: Use correct string when printing bfd DEBUG data
authorShahab Vahedi <shahab@synopsys.com>
Tue, 24 Mar 2020 14:25:24 +0000 (15:25 +0100)
committerAlan Modra <amodra@gmail.com>
Wed, 25 Mar 2020 05:10:49 +0000 (15:40 +1030)
commitcf2611febcfa6b7c680de31071c5658e7463eee4
tree75149fff909d5f3b94096944279ca6f5d9136c2d
parent86fd7e2e109813b3934cf7880b93d4bc8f779b8b
arc: Use correct string when printing bfd DEBUG data

PRINT_DEBUG_RELOC_INFO_BEFORE() macro prints bunch of parameters
for debugging purposes.  Due to a seemingly copy/paste mistake,
the "input_section->vma" is printed under the field name
"symbol_section->vma".  This commit fixes that.

This fix is a courtesy of xiangzhai.

* elf32-arc.c (PRINT_DEBUG_RELOC_INFO_BEFORE): Use the
correct field name in the output string.
bfd/ChangeLog
bfd/elf32-arc.c