avr: Adhere to GNU style
Binutils code for the AVR target has been updated to comply with GNU coding standards.
This patch, now applied to trunk, rectifies several style nits in the binutils codebase related to the AVR target. Changes include fixing indentations, utilizing tabs for indentation, breaking long lines, and removing superfluous semicolons after closing braces in code blocks across various binutils components like BFD, GAS, opcodes, and include files.
- proposer
Submitted a patch to bring binutils' AVR-specific code into compliance with GNU coding style.
“This patch fixes some style nits: - Fix indentations - Using TABs for indentation - Breaking long lines - Remove ; after the closing } of a code block”
In Details
This commit applies standard GNU coding style guidelines to the AVR-specific source files within the binutils project. It affects bfd/cpu-avr.c, bfd/elf32-avr.c, bfd/elf32-avr.h, gas/config/tc-avr.c, opcodes/avr-dis.c, and include/opcode/avr.h. The changes are purely stylistic, focusing on consistent indentation (using tabs), line wrapping, and brace placement, ensuring uniformity across the codebase.
- GNU coding style
- A set of recommended conventions for writing code within the GNU project, covering aspects like indentation, naming, and formatting.
- AVR
- A family of microcontrollers developed by Atmel (now Microchip Technology). Binutils includes support for assembling and disassembling code for AVR processors.
- BFD
- Binary File Descriptor library, a low-level library used by binutils to handle various object file formats.
- GAS
- The GNU Assembler, part of binutils, responsible for translating assembly language code into machine code.
- opcodes
- The module within binutils responsible for disassembling machine code back into assembly language.
- trunk
- The main development branch in a version control system like Git.