]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
readelf: MSP430: Fix incorrect usage of "msp430x" in function names
authorJozef Lawrynowicz <jozef.l@mittosystems.com>
Thu, 27 Aug 2020 19:48:35 +0000 (20:48 +0100)
committerJozef Lawrynowicz <jozef.l@mittosystems.com>
Thu, 27 Aug 2020 19:58:03 +0000 (20:58 +0100)
commitb0191216046cca6affd74b3bfebdb124ad5f428e
treefd7c1c027b0c19423542890f4cef550a10fe6532
parent82b946165d1559e69f9b039e1acdc698e7c374f5
readelf: MSP430: Fix incorrect usage of "msp430x" in function names

The "X" in "MSP430X" indicates an extension to the original MSP430 ISA, but
these functions are generically used for all MSP430 ISAs, so the names should
not use the "X" suffix.

binutils/ChangeLog:

* readelf.c (get_msp430x_section_type_name): Rename to ...
(get_msp430_section_type_name): ... this.
(get_section_type_name): Use get_msp430_section_type_name.
(display_msp430x_attribute): Rename to ...
(display_msp430_attribute): ... this.
(process_arch_specific): Use display_msp430_attribute.
binutils/ChangeLog
binutils/readelf.c