]> git.ipfire.org Git - thirdparty/gcc.git/commit
AVR: Fix typo in device-specs generation. Reuse -m[no-]rodata-in-ram checker.
authorGeorg-Johann Lay <avr@gjlay.de>
Thu, 18 Jan 2024 08:59:38 +0000 (09:59 +0100)
committerGeorg-Johann Lay <avr@gjlay.de>
Thu, 18 Jan 2024 09:01:16 +0000 (10:01 +0100)
commitf8138d7e2671a267d65eca053b6a133b9c681734
tree679d5a315beb325bf6f872856989d18c6478cfd9
parent2341df1cb9b3681bfefe29207887b2b3dc271a95
AVR: Fix typo in device-specs generation.  Reuse -m[no-]rodata-in-ram checker.

gcc/
* config/avr/gen-avr-mmcu-specs.cc (diagnose_rodata_in_ram): Fix typo
in the diagnostic, and capitalize the device name.
(print_mcu): Generate specs such that:
<*check_rodata_in_ram>: New.
<*cc1_misc>: Use check_rodata_in_ram instead of cc1_rodata_in_ram.
<*link_misc>: Use check_rodata_in_ram instead of link_rodata_in_ram.
<*cc1_rodata_in_ram, *link_rodata_in_ram>: Remove.
gcc/config/avr/gen-avr-mmcu-specs.cc