diff --git a/gcc/config/avr/gen-avr-mmcu-specs.cc b/gcc/config/avr/gen-avr-mmcu-specs.cc index 72841b1bb42..02778aa3ce8 100644 --- a/gcc/config/avr/gen-avr-mmcu-specs.cc +++ b/gcc/config/avr/gen-avr-mmcu-specs.cc @@ -44,13 +44,13 @@ #endif -#define SPECFILE_DOC_URL \ +#define SPECFILE_DOC_URL \ "https://gcc.gnu.org/onlinedocs/gcc/Spec-Files.html" -#define SPECFILE_USAGE_URL \ +#define SPECFILE_USAGE_URL \ "https://gcc.gnu.org/gcc-5/changes.html" -#define WIKI_URL \ +#define WIKI_URL \ "https://gcc.gnu.org/wiki/avr-gcc#spec-files" static const char header[] = @@ -210,7 +210,7 @@ print_mcu (const avr_mcu_t *mcu) if (is_arch && (ARCH_AVR2 == arch_id - || ARCH_AVR25 == arch_id)) + || ARCH_AVR25 == arch_id)) { // Leave "avr2" and "avr25" alone. These two architectures are // the only ones that mix devices with 8-bit SP and 16-bit SP. @@ -244,7 +244,7 @@ print_mcu (const avr_mcu_t *mcu) link_arch_spec = link_arch_flmap_spec; fprintf (f, "#\n" - "# Auto-generated specs for AVR "); + "# Auto-generated specs for AVR "); if (is_arch) fprintf (f, "core architecture %s\n", arch->name); else @@ -279,19 +279,19 @@ print_mcu (const avr_mcu_t *mcu) int n_flash = 1 + (mcu->flash_size - 1) / 0x10000; fprintf (f, "*cc1_n_flash:\n" - "\t%%{!mn-flash=*:-mn-flash=%d}\n\n", n_flash); + "\t%%{!mn-flash=*:-mn-flash=%d}\n\n", n_flash); fprintf (f, "*cc1_rmw:\n%s\n\n", rmw - ? "\t%{!mno-rmw: -mrmw}" - : "\t%{mrmw}"); + ? "\t%{!mno-rmw: -mrmw}" + : "\t%{mrmw}"); fprintf (f, "*cc1_errata_skip:\n%s\n\n", errata_skip - ? "\t%{!mno-skip-bug: -mskip-bug}" - : "\t%{!mskip-bug: -mno-skip-bug}"); + ? "\t%{!mno-skip-bug: -mskip-bug}" + : "\t%{!mskip-bug: -mno-skip-bug}"); fprintf (f, "*cc1_absdata:\n%s\n\n", absdata - ? "\t%{!mno-absdata: -mabsdata}" - : "\t%{mabsdata}"); + ? "\t%{!mno-absdata: -mabsdata}" + : "\t%{mabsdata}"); // -m[no-]rodata-in-ram basically affects linking, but sanity-check early. fprintf (f, "*cc1_misc:\n\t%%(check_rodata_in_ram)\n\n"); @@ -306,18 +306,18 @@ print_mcu (const avr_mcu_t *mcu) #ifdef HAVE_AS_AVR_MRMW_OPTION fprintf (f, "*asm_rmw:\n%s\n\n", rmw - ? "\t%{!mno-rmw: -mrmw}" - : "\t%{mrmw}"); + ? "\t%{!mno-rmw: -mrmw}" + : "\t%{mrmw}"); #endif // have avr-as -mrmw #ifdef HAVE_AS_AVR_MGCCISR_OPTION fprintf (f, "*asm_gccisr:\n%s\n\n", - "\t%{!mno-gas-isr-prologues: -mgcc-isr}"); + "\t%{!mno-gas-isr-prologues: -mgcc-isr}"); #endif // have avr-as -mgcc-isr fprintf (f, "*asm_errata_skip:\n%s\n\n", errata_skip - ? "\t%{mno-skip-bug}" - : "\t%{!mskip-bug: -mno-skip-bug}"); + ? "\t%{mno-skip-bug}" + : "\t%{!mskip-bug: -mno-skip-bug}"); fprintf (f, "*asm_misc:\n" /* empty */ "\n\n"); @@ -349,14 +349,14 @@ print_mcu (const avr_mcu_t *mcu) { fprintf (f, "*link_data_start:\n"); if (mcu->data_section_start - != arch->default_data_section_start) - fprintf (f, "\t%%{!Tdata:-Tdata 0x%lX}", - 0x800000UL + mcu->data_section_start); + != arch->default_data_section_start) + fprintf (f, "\t%%{!Tdata:-Tdata 0x%lX}", + 0x800000UL + mcu->data_section_start); fprintf (f, "\n\n"); fprintf (f, "*link_text_start:\n"); if (mcu->text_section_start != 0x0) - fprintf (f, "\t%%{!Ttext:-Ttext 0x%lX}", 0UL + mcu->text_section_start); + fprintf (f, "\t%%{!Ttext:-Ttext 0x%lX}", 0UL + mcu->text_section_start); fprintf (f, "\n\n"); }