public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-8876] AVR: Rename device-specs %_misc to %_rodata_in_ram.
@ 2024-02-08  9:41 Georg-Johann Lay
  0 siblings, 0 replies; only message in thread
From: Georg-Johann Lay @ 2024-02-08  9:41 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:0ba32e2023d4c148e1e30ff2303a6b5e12cd0ba0

commit r14-8876-g0ba32e2023d4c148e1e30ff2303a6b5e12cd0ba0
Author: Georg-Johann Lay <avr@gjlay.de>
Date:   Thu Feb 8 10:30:41 2024 +0100

    AVR: Rename device-specs %_misc to %_rodata_in_ram.
    
    gcc/
            * config/avr/gen-avr-mmcu-specs.cc: Rename spec cc1_misc to
            cc1_rodata_in_ram.  Rename spec link_misc to link_rodata_in_ram.
            Remove spec asm_misc.
            * config/avr/specs.h: Same.

Diff:
---
 gcc/config/avr/gen-avr-mmcu-specs.cc | 6 ++----
 gcc/config/avr/specs.h               | 7 +++----
 2 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/gcc/config/avr/gen-avr-mmcu-specs.cc b/gcc/config/avr/gen-avr-mmcu-specs.cc
index 02778aa3ce80..06d9d3c8d7d3 100644
--- a/gcc/config/avr/gen-avr-mmcu-specs.cc
+++ b/gcc/config/avr/gen-avr-mmcu-specs.cc
@@ -294,7 +294,7 @@ print_mcu (const avr_mcu_t *mcu)
 	   : "\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");
+  fprintf (f, "*cc1_rodata_in_ram:\n\t%%(check_rodata_in_ram)\n\n");
 
   // avr-gcc specific specs for assembling / the assembler.
 
@@ -319,8 +319,6 @@ print_mcu (const avr_mcu_t *mcu)
 	   ? "\t%{mno-skip-bug}"
 	   : "\t%{!mskip-bug: -mno-skip-bug}");
 
-  fprintf (f, "*asm_misc:\n" /* empty */ "\n\n");
-
   // avr-specific specs for linking / the linker.
 
   int wrap_k =
@@ -361,7 +359,7 @@ print_mcu (const avr_mcu_t *mcu)
     }
 
   // -m[no-]rodata-in-ram affects linking.  Sanity check its usage.
-  fprintf (f, "*link_misc:\n\t%%(check_rodata_in_ram)\n\n");
+  fprintf (f, "*link_rodata_in_ram:\n\t%%(check_rodata_in_ram)\n\n");
 
   // Specs known to GCC.
 
diff --git a/gcc/config/avr/specs.h b/gcc/config/avr/specs.h
index 574402035bc5..0ccc37b8844a 100644
--- a/gcc/config/avr/specs.h
+++ b/gcc/config/avr/specs.h
@@ -36,7 +36,7 @@ along with GCC; see the file COPYING3.  If not see
   "%(cc1_errata_skip) "                         \
   "%(cc1_rmw) "                                 \
   "%(cc1_absdata) "                             \
-  "%(cc1_misc) "
+  "%(cc1_rodata_in_ram) "
 
 #undef  CC1PLUS_SPEC
 #define CC1PLUS_SPEC                                    \
@@ -54,8 +54,7 @@ along with GCC; see the file COPYING3.  If not see
   "%(asm_relax) "                               \
   "%(asm_rmw) "                                 \
   "%(asm_gccisr) "                              \
-  "%(asm_errata_skip) "                         \
-  "%(asm_misc) "
+  "%(asm_errata_skip) "
 
 #define LINK_RELAX_SPEC                         \
   "%{mrelax:--relax} "
@@ -67,7 +66,7 @@ along with GCC; see the file COPYING3.  If not see
   "%(link_text_start) "                         \
   "%(link_relax) "                              \
   "%(link_pmem_wrap) "                          \
-  "%(link_misc) "                               \
+  "%(link_rodata_in_ram) "                      \
   "%{shared:%eshared is not supported} "
 
 #undef  LIB_SPEC

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-08  9:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-08  9:41 [gcc r14-8876] AVR: Rename device-specs %_misc to %_rodata_in_ram Georg-Johann Lay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).