libiberty: Fixes typos in various files
Corrects typos in libiberty, improving code quality and reducing potential for errors.
This commit fixes typos found in numerous files within the libiberty library. These corrections improve code readability and maintainability, and reduce the potential for misinterpretations or errors. The affected files span a wide range of functionalities, from demangling to regular expressions and object file handling.
In Details
libiberty is a collection of helper functions used throughout the GNU toolchain. This commit touches a *lot* of files: bcopy, bsearch, demangling (cp-demangle.c, d-demangle.c), dynamic strings, object file handling (simple-object-elf.c, simple-object-mach-o.c), regular expressions, and even texinfo documentation. The breadth of the changes suggests a systematic sweep across the library. Toolchain devs should care that this foundational library is well-maintained.
For Context
libiberty is a library of utility functions commonly used by GNU software, including GCC. This commit fixes typos in many files within libiberty. While these typos likely didn't cause functional problems, fixing them improves the code's readability and maintainability, which is important for a commonly used library.